File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Session facade Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session facade" Watch "Session facade" New topic

Session facade

James Foster

Joined: Nov 04, 2003
Posts: 10
Can we use both stateful / stateless bean as session facade?
If I do read only operations, will stateless bean meet my needs
Sri Basavanahally
Ranch Hand

Joined: Oct 07, 2003
Posts: 75
James, I believe you can use either stateful or stateless as a session facade. Typically, though, stateless session beans are used.

Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
You may want to read this article where I discuss this question and several other practical issues in using Session Facades.

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 facade
jQuery in Action, 3rd edition