This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes what is the  managed class anb What is the helper class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what is the  managed class anb What is the helper class?" Watch "what is the  managed class anb What is the helper class?" New topic
Author

what is the managed class anb What is the helper class?

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237


this is from Manning in EJB 3 book.

1)What is the managed class?

2)What is the helper class?
Christian Dillinger
Ranch Hand

Joined: Jul 20, 2009
Posts: 188
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.
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

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]
 
jQuery in Action, 2nd edition
 
subject: what is the managed class anb What is the helper class?
 
Similar Threads
ServletContext
different between managed class and helper class
DI in helper classes
communication between 2 session beans
It's all over: Parts II and III passed with 99