Thanks for the reply Andy,
When we use 'New EJB' under Java/J2ee option in Rational Rose, it gives us a
new EJB with all the interactions that we need. (Though it is a J2EE
standard interaction, which makes me wonder the usability of showing it in
the class diagram). 
The external representation would represent the business functionality and
would be of 'design interest'. Since EJB is more of a component rather a
collection of classes, should it not better be represented using a component
object. 
If I access the session bean from the servlet, as per normal practise should
I connect remote and home interface of that bean to the servlet. And the
bean to the remote and home interface of the entity bean it's accessing. In
my case one session object connects to a lot of entity object, and this
would definately make the diagram all cluttered up.
Is there a better way, that you can suggest.
Regards,
Atul


-----Original Message-----
From: Andy Winskill [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 11:35 PM
To: PRASAD, ATUL (SBCSI); [EMAIL PROTECTED]
Subject: RE: (ROSE) EJB representation


It depends on whether you're modelling the external or internal
representation of the EJB. If it's the external then the interaction
between EJB's (and other participating classes) are modelled to the Home
and Remote interfaces. If it's internal then you would be investigating
the interactions within the Bean. Interactions are modelled using
sequence or collaborations; a class diagram illustrates the static
structure.

HTH

Andy

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
> On Behalf Of PRASAD, ATUL (SBCSI)
> Sent: 26 April 2002 19:54
> To: '[EMAIL PROTECTED]'
> Subject: (ROSE) EJB representation
> 
> 
> How should the interaction between ejbs, session or entity be
represented
> in
> a class diagram.
> 
> Thanks,
> Atul
> 
> -----Original Message-----
> From: Angay, Huseyin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 7:43 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: (ROSE) Dependency stereotypes
> 
> 
> 
> Try the following:
> 
> - Draw a dependency between two packages.
> - With the dependency is higlighted, type this:
>     <<old>>depends
> - Now you will see one of these two on the dependency:
>     <<old>>
>     depends
> or
>     depends
> - If you don't see the stereotype, highlight the dependency and click
on
> the
> Format menu item. Stereotype Label item will appear without a tick.
Click
> on
> that item. The stereotype should appear now.
> 
> If you want all your new dependencies to show the stereotype label,
you
> need
> to go to Tools->Options->Diagram and select Label for Stereotype
Display
> and
> also tick the "Show labels for relationships..." option.
> This will not apply to existing dependencies, but all the new ones
that
> you
> draw will show their stereotypes.
> 
> One possible problem is that the stereotypes sometimes get displayed
well
> away from the relationship. In crowded diagrams, you may not even
notice
> it,
> as it may get mixed up with other relationships' labels. Could it be
that
> you're having this problem?
> 
> 
> Best regards,
> H�seyin Angay
> Karabash Ltd.
> www.karabash.co.uk
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Philippe Pons [mailto:[EMAIL PROTECTED]]
> > Sent: 23 April 2002 15:20
> > To: Rose_Forum
> > Subject: RE: (ROSE) Dependency stereotypes
> >
> >
> >
> > Hello,
> >
> > > You can still do this with the Format menu item:
> > Format->Stereotype Label
> > I do not undestand wath can I do with this, it is always the same :
no
> > stereotype.
> >
> > Thank you.
> >
> > Philippe Pons
> > E.mail : mailto:[EMAIL PROTECTED]
> > E.mail : mailto:[EMAIL PROTECTED]
> > web    : http://www.xpp.fr
> >
> >
> > **************************************************************
> > **********
> > * Rose Forum is a public venue for ideas and discussions.
> > * For technical support, visit http://www.rational.com/support
> > *
> > * Post or Reply to: [EMAIL PROTECTED]
> > * Subscription Requests: [EMAIL PROTECTED]
> > * Archive of messages:
> > *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> > * Other Requests: [EMAIL PROTECTED]
> > *
> > * To unsubscribe from the list, please send email
> > *    To: [EMAIL PROTECTED]
> > *    Subject: <BLANK>
> > *    Body: unsubscribe rose_forum
> > **************************************************************
> > ***********
> >
> 
> 
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse
Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
> 
>
************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
>
************************************************************************
*
>
************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
>
************************************************************************
*
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to