• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCEA Assignment - Choosing between a pragmatic solution and clean design

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A choice has to be made whether state is stored as one or as three SFSBs,
From a design point of view there are sound reasons why three SFSBs are more than reasonable.
From a scalability point of view,however, one SFSBs would probably be a more pragmatic but also a more scalable choice.
Any ideas on how to choose between the design or pragmatic solution are welcome.

 
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to consider carefully whether SFSB should be used at all...
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is an EJB centric architecture. Hence the recommended approach is the usage of SFSB.
The question is, however, focused on the choice to be made. Any ideas on that?
 
Will Myers
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is a Stateful session bean the only solution? How does it scale? How does it perform?

I beleive (correct me if I'm wrong) that a stateful bean is almost in all cases, the wrong choice. Cleartly I do not know the assignment you are working on.

 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your feedback. But this is not the topic at hand.
The question is focused on the choice to be made. Any ideas on that?

For a brief discussion on why using a SFB in an EJB centric architecture is recommended you can refer to : https://coderanch.com/t/484119/java-Architect-SCEA/certification/Statefull-SessionBean-or-DomainObject-HTTP#2459420

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic