Using JBoss 7.1.1 Final.
I have a servlet which is using the init() method to process some business logic.
My question is, how can I make the init method wait for everything to be initialized ( I need some SessionFactories to be initialized) before starting ?
Please keep in mind that I wouldn't want to use the @Singleton, @Startup, @PostConstruct approach.
Retrieving data ...