• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Session Management in EJB TIer

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ???
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic