• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display EJBs in Class Diagram

 
Narender Lal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How should i display entity beans? Do in need to show all the three, home interface, remote interface and the bean?
I'm using rose to generate the EJB in the class diagram, but its making my class diagram cluttered.
Thanks.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, don't display the home, remote and bean classes. Instead just use a stereotype along with the class name.
Eg -
<<sessionbean>>XYZController
<<entitybean>>OrderItem
 
Narender Lal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ajith, for your help.
 
Makah Lam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Examples in UML spec 1.4 use <<EJBSession>> and <<EJBEntity>>.
Makah
 
Yang Yu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you elaborate a bit more or provide a link of how uml 1.4 model the ejb. If I create a new stereotype for session or entity bean. what happens if I need to pass remote interface as parameter in my session facade class.
thanks in advance.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!