Managed classes are managed (hence the name!) by the application server. Session Beans are managed objects, as they are created, pooled and destoyed on demand by the app server. The app server can use DI to inject other managed objects, e.g. another session bean. If you have a property which is not a managed object, the app server does not know about anything and cannot use DI.
Helper class is my own class that we've created..
sometimes, people use it to ease any works.. example, for open/close database connection, run query, etc..
There're many kinds of managed class, such as :
- EJB (Stateless/Statefull/Message Driven)
- Servlet - JTA
- DataSource
- etc..
please correct me if i'm wrong..
Thanks..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
a bit of art, as a gift, the permaculture playing cards