Actually I was hoping to use the Convert to EJB "Menu Option" to take my
analysis classes and interpret the attributes that analysis yielded so that
it would automatically realize that they should be CMP fields. Perhaps there
could be a stereotype in the attribute "CMP Field" or something.

P

-----Original Message-----
From: Dunnavant, Todd
To: '[EMAIL PROTECTED]'
Sent: 9/28/2001 5:30 PM
Subject: RE: (ROSE) Customization/Extension of the EJB conversion code

Rose 2001A actually supports CMP fields.  Try this:
 
-  Create an Entity Bean, specifiying the EJB 2.0 spec
-  In the Rose browser select the Bean class, right-click, select
Java/J2EE, select New EJB Method, select CMP Field
-  After you create the field, you will note that Rose **does not** add
an attribute to the class, but rather adds a couple of methods.
-  Generate source code for the EJB.  Look at the signatures for the CMP
field's operators.  They are abstract
-  Take a look at the deployment descriptor we generate.  It includes
the CMP field.
  

********************************************************

R a t i o n a l 
the software development company(tm) 

Todd Dunnavant 
Technical Lead, South Texas District 
Office Phone #:  (281) 431-8751 
Fax Phone #:     (281) 431-8791 
E-mail address:    <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]

 

Rational's Mission:  "To ensure the success of Customers who 

depend on software development and deployment." 
********************************************************

-----Original Message-----
From: Peter Hazlehurst [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 4:08 PM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) Customization/Extension of the EJB conversion code



Hi, we've spent a bunch of time developing highly detailed analysis
class diagrams and collaboration diagrams. We're now in the process of
design and conversion to EJBs. We're using EJB2.0 (from 1.3 spec) and
using the new CMP2.0 feature. In CMP2.0, you use Abstract Methods
instead of properties for managing data attributes. Has anyone got a
script that extends the current solution from Rational to incorporate
this?

Thx 

P 

________________________ 
Peter Hazlehurst 
Chief Technology Officer 
Mercari Technologies 

http:  www.mercaritech.com 
w:  202.244.0900 x367 
c:   703.597.1750 
f:    202.244.1951 
efax: 801.457.9458  (PrivateLine) 

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.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