THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
1. configuration (app.jar -> AppInfo) we build up a fully normalized and validated tree. Some of the steps are
- read in descriptors
- process annotations filling in the descriptor tree
- validating app compliance
- resolving resource references
- resolving ejb references
- turning the descriptor tree into Info objects for final assembly
- final validation check
2. assembly (AppInfo -> actual running app) we assemble a running app as detailed by the AppInfo
- creating classloaders for the application
- creating EntityManagers and EntityManagerFactories
- creating live objects associated with resource-env-refs
- creating deployment (CoreDeploymentInfo) objects for each ejb
- creating the jndi enc of each ejb
- adding method permission objects into the security system (JACC Provider)
- creating transaction policy objects for each ejb
- creating interceptor stacks and bindings for each ejb
- adding ejbs to containers (which may also do things like create pools)
- adding ejbs to the live ContainerSystem registry of ejbs
- adding global jndi entries for each ejb
The listings above aren't necesarrily complete or perfectly ordered, but generally show the nature of the work done in each phase.
...