Title: 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™

Todd Dunnavant
Technical Lead, South Texas District
Office Phone #:  (281) 431-8751
Fax Phone #:     (281) 431-8791
E-mail address:  [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)

Reply via email to