aspose file tools*
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
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: 189
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the managed class anb What is the helper class?