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

Session Facade vs Session Bean

pradeeppk
Greenhorn

Joined: Jan 31, 2002
Posts: 7
What is the difference between a Session Facade and a Session bean?
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Originally posted by pradeeppk:
What is the difference between a Session Facade and a Session bean?

A Facade is a session bean who models the workflow of your application, and handles the communication with entiy beans and other objects in the business tier.
Ranjith R
Greenhorn

Joined: Sep 18, 2001
Posts: 22
Session facade is an implementation pattern where in you will wrap a Session Bean around the Entity Bean.Access to Entity Bean methods are only through the session Bean methods.
While, A session bean is a Java object, conforming to the J2EE session object specifications.


Take care<BR>r@njith
pradeeppk
Greenhorn

Joined: Jan 31, 2002
Posts: 7
Originally posted by Ranjith R:
Session facade is an implementation pattern where in you will wrap a Session Bean around the Entity Bean.Access to Entity Bean methods are only through the session Bean methods.
While, A session bean is a Java object, conforming to the J2EE session object specifications.
pradeeppk
Greenhorn

Joined: Jan 31, 2002
Posts: 7
Thanks for your reply.
Infact this is what I need to know.'
Is it possible for a Session Bean which implements Session Facade pattern to call an Entity bean directly? Someone suggested that a True Session Bean (which does not implement Session Facade pattern) can only call an Entity Bean and not a Session Bean which implements Session Facade. In effect there is introduce a layer of Session Bean between Session Facade Bean and Entity Bean.
Please reply
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
PLEASE DO NOT POST THE SAME QUESTION MULTIPLE TIMES! I've added more information on your question on this (IDENTICAL) topic here.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
pradeeppk,
Please not that JavaRanch has a naming standard. You must use your real first name - space - real last name as your display name.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Facade vs Session Bean