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...
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 651 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2018 14:53:43.