So far, you have learned how to start Axis2 and work with Axis2, both on the client side and the server side. But we did not discuss how the underlying logic works. When you start Axis2, it creates an AxisConfiguration object from the local machine that is considered as the repository. In the case of Axis2 WAR distribution, the repository is <TOMCAT_HOME>webapps/axis2/WEB-INF
(if you are using Tomcat). So, when you start Axis2 in an application server, Axis2 automatically selects the WEB-INF
directory as the repository. This approach is known as "file system-based AxisConfigurators", in which the Axis2 configuration is created using a file system.
In the same way, you can create an Axis2 system by using a remote location as well, or even by using a database. In the Axis2 distribution, there is built-in support for URL-based and file-based Axis2 configuration creation. The following code demonstrates how to create an Axis2 system by using the file system: