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...
Screaming fools! It's nothing more than a tiny ad:
free 1 hour java lesson

This thread has been viewed 683 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 23, 2018 09:59:01.