Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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 ???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Management in EJB TIer
 
Similar Threads
I failed scea part 2: time to learn from mistakes
Business Delegate Design Pattern
What is Application Service Design Pattern?
Managed Bean as service locator
Application Service Design Pattern?