Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

enitybean and java class relationship

 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case I want to show the relation ship between the entity and entity bean that persists that entity,How can we handle this.
For example I have java class called Studen and a EJB called studentEJB,How can we represent that in class diagarm
Thanks,
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can either show explicit containment using attributes - in the StudentEJB, simply include declare attribute Student aStudent. Alternatively you can show a dependency between the StudentEJB and Student class using UML dependency ( dotted line with an arrow ) notation.
 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ajith,
Can we use streotype called "delegates" when we are showing a dependence(dotted arrow) with another class.Is that UML compliant..?
Thanks,
Rethna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic