File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Session Management in EJB TIer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session Management in EJB TIer" Watch "Session Management in EJB TIer" New topic
Author

Session Management in EJB TIer

Paolo Righetti
Greenhorn

Joined: Sep 10, 2008
Posts: 10
Hi, have a question about the management of session in EJB Tier.
I wrote (Core J2EE and Blueprints) that in HttpSession there will be just a reference to the EJB (in my case a SFSB).
But using a Business Delgate (with the Service Locator), I will put in HttpSession the ID given by the Service Locator back to Business Delegate
and finally to the Client (an Application Controller).
In this architecture i will have many Business Delegate.

How can I makes different SFSB (behind different Business Delegate) able to talk each other?
In other hand how a SFSB will be able to call another SFSB without going to the Web Tier (Service Locator) ???

Note : I seen in the diagram that show the relation among the patters (Core J2EE Pattrens See Figure 5.2 on page 132.)
[Application Service]- - <<USES>> - ->[Business Delegate]
But if I deploy in different JVM my WEb and EJB Tier ???
 
wood burning stoves
 
subject: Session Management in EJB TIer
 
Similar Threads
Business Delegate Design Pattern
What is Application Service Design Pattern?
Application Service Design Pattern?
I failed scea part 2: time to learn from mistakes
Managed Bean as service locator