[Logo]
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



All times above are in ranch (not your local) time.
The current ranch time is
Dec 16, 2017 15:41:35.