Forums Register Login
Invoking new() on a bean class?
Is it possible to instantiate a bean class inside an another bean.If the container allows us to do that, do we still get those services provided by the container.
You mean without calling create ? If that's what you mean, how would you instanciate an entity bean as it is abstract ?
ok how about session beans.
If you'd instanciate one, it would just be like a simple java class. It's not maintained by the container any more. So no lifecycle event, no management...

This thread has been viewed 708 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 23, 2018 22:35:47.