-
1. Re: start from reading the code
thunder.farmer May 31, 2011 9:04 PM (in response to thunder.farmer)Here is my first quiz:
When I get the latest code from git repository "git://github.com/jbossas/jboss-as.git", I start reading the code from org.jboss.as.server.Main.java.
In the code I can see the Bootstrap class initialze the module "URLStreamHandlerFactoryModule--org.jboss.vfs" and install the container service "jboss-as". But I can find the where all other services and modules such as naming, JPA, messaging are initialized and loaded.
I believe there are interfaces between container service "jboss-as" and all other modules and services, and all the modules and services are intialized and loaded in the same way.
Any comments are appreciated.
Thanks in advance
-
2. Re: start from reading the code
thomas.diesler Jun 1, 2011 2:55 AM (in response to thunder.farmer)You can start by looking at the standalone configuration (standalone.xml). There you see the various subsystems defined. Each subsystem parses its own configuration and installs its respective jboss-msc services. Services can be started/stoped and have depedencies on other services. In service start you see what the respective service does on startup.