aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Multiple SLSB or SFSB Strategy & Proxy+Ejb Controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Multiple SLSB or SFSB Strategy & Proxy+Ejb Controller" Watch "Multiple SLSB or SFSB Strategy & Proxy+Ejb Controller" New topic

Multiple SLSB or SFSB Strategy & Proxy+Ejb Controller

Rudi Vaum
Ranch Hand

Joined: May 02, 2003
Posts: 59
I am achitecting a mutitiered aplication with a ejb-layer, web app. layer with 2 controllers: one for browser clients and one for rich web clients.
I am wondering about the benefits/minuses of the following designs:
- having 3-4 SLSB as session facades/bus. delegates (like Cade book) - this is my current design
- having SFSB instead (like Petstore)- blueprint best practice recomandation (stated at least 10 times on some pages ;-)
- how each of these would integrate with the "proxy controller (web-app) - ejb controller (ejb)" strategy (like Petstore). Do I use one for each facade??? :roll:
Please comment

Joined: Feb 25, 2002
Posts: 20
I'd drop the second controller... I use the delegate/service idea also.
Louis Fegun
Ranch Hand

Joined: Aug 18, 2001
Posts: 60
You will need the two controllers no doubt since they handle two different clients and thus two different protocols are involved. However, you will only need SFSB if you must manage state for a client. Which doesn't seem like a requirement.
I agree. Here's the link:
subject: Multiple SLSB or SFSB Strategy & Proxy+Ejb Controller
Similar Threads
Maintaining State in SFSB for Web Clients
Local Interfaces and SFSBs
Controller + BD + S. Facade
EJB Stateful Session bean vs HTTP Session
partII: stateful session bean is necessary to serve as a booking cart?