• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCEA Assignment - Choosing between a pragmatic solution and clean design

 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • 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.

 
Will Myers
Ranch Hand
Posts: 392
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • 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
  • 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: 392
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • 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
  • 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 : http://www.coderanch.com/t/484119/java-Architect-SCEA/certification/Statefull-SessionBean-or-DomainObject-HTTP#2459420

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic