This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Session in EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session in EJB" Watch "Session in EJB" New topic

Session in EJB

nabraj khatri

Joined: Nov 10, 2003
Posts: 2

I am not getting how to maintain sessions in
ejb(particularly in bmp and cmp )
waiting for soon reply
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
I'm sorry, I can't understand the question. What sessions? Do you mean like HTTPSessions? You don't have those in BMP and CMP -- you can use stateful session beans for that purpose instead, or you can simply continue to use the HttpSession.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Session in EJB
It's not a secret anymore!