aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes session bean and CMP 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 "session bean and CMP" Watch "session bean and CMP" New topic
Author

session bean and CMP

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
what is the difference between stateless session bean& CMP
David McDonagh
Greenhorn

Joined: Feb 13, 2004
Posts: 19
From a high level, a CMP is an entity bean, which should really only be used for database transactions i.e. select, update, remove. You most likely would call CMP from other type of beans/Java clients to perform those functions. It is good practice to keep your database transactions away from your application logic.
Stateless Session beans and CMP have different bean lifecycles and different requirements ... do u require a list?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session bean and CMP
 
Similar Threads
Add and test Custom Finder Methods in WSAD 4.0
TxnRolledbackException instead of RemoteException
ejbStore and DB2 Update triggers
Help Me Demistify this
Transaction roll back in session bean