We are using a tool called Together which will automatically
generate the diagrams from the code & vice-versa. If I create
an entity bean and a session bean and there is a relationship
there, they just diagram 2 classes, one for the entity and
one for the session and stereotype those class icons as
<<EntityBean>> and <<SessionBean>> respectively. They only show
the interfaces in the code tree. Note: I am not saying I agree
with this necessarily but it seems many people are starting to
use this tool so this approach may become prevalent.
>From: Sonika Narula <[EMAIL PROTECTED]>
>Reply-To: A mailing list for Enterprise JavaBeans development
><[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: EJB UML Mapping
>Date: Sat, 2 Dec 2000 10:23:38 +0530
>
>hi,
>
>I understand that JSR is not yet publicaly available. but i am still
>making
>classes in Rational Rose but not able to decide through which
>class/interface of session bean should link to which class/interface in
>entity bean. as per my understanding session bean invokes entity bean ejb
>object and calls its method by refering that. in this case can i say that
>session bean is linked to entity bean object. Or should i say that both
>remote interfaces are linked with each other.
>
>pls guide,
>sonika
>
>-----Original Message-----
>From: A mailing list for Enterprise JavaBeans development
>[mailto:[EMAIL PROTECTED]]On Behalf Of John Harby
>Sent: Wednesday, January 31, 2001 8:28 PM
>To: [EMAIL PROTECTED]
>Subject: Re: EJB UML Mapping
>
>
>There is a JSR for this, check out:
>
>http://java.sun.com/aboutJava/communityprocess/jsr/jsr_026_uml.html
>
>
> >From: Sonika Narula <[EMAIL PROTECTED]>
> >Reply-To: A mailing list for Enterprise JavaBeans development
> ><[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: EJB UML Mapping
> >Date: Tue, 30 Jan 2001 22:37:02 -0800
> >
> >I want to know how do i map my session bean with entity beans. Is it
> >through Remote Interfaces of both or Since session bean uses the
>reference
> >of entity object to communicate so i can bind session bean with entity
> >remote object. Pls guide. if you have example pls send it across. thx
> >for your help in advance.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".