wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Usecase to EJB Component Mapping
 
Similar Threads
Configuring Tomcat 5 on Win2K and Linux
seam remoting: can I pass a pojo FROM a client TO a session bean?
Struts Question
Problem in web.xml
Getting Data from Struts ActionForm to a JSP