This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Usecase to EJB Component Mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Usecase to EJB Component Mapping" Watch "Usecase to EJB Component Mapping" New topic
Author

Usecase to EJB Component Mapping

Pearlo Muthukumaran
Ranch Hand

Joined: Sep 17, 2002
Posts: 79
Hi,
I have had a good deal of search on web to find out how the Usecases get Mapped onto Beans. Some article at www.theserverside.com gives a very vague guideline that in a usecase sequence diagram, the usecase itself maps to a Session Bean (SLSB, SFSB) and a entities that exchange messages in digram maps onto either entity or session bean once again(such session bean will turn out to be a <<include>> type of use cases which is to be exploded further to fine-grain the domain model - which is understandable). My questions are
1. Is the above a generic right approach?
2. Is there any special requirement on the usecase design itself in order to accomodate above way of mapping? and
3. Is there any other approach for carrying out this mapping?
Thanks in advance
Muthu
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
I totally disagree that each use case becomes a session bean. That results in wayyyy too many session beans. See the advice at the bottom of this article for my recommendations.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
GeeCON Prague 2014
 
subject: Usecase to EJB Component Mapping