This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have a pretty weird and basic problem.
I have 2 session beans. One is stateful, the other one is stateless.
Both have a method which is annotated with @PostConstruct :
None returns the logs and the new value of myVar.
How come ? The @PostConstruct annotation is used to annotate a method that should be called after instantiation.
Never mind, fixed it, the method should return void of course !