hiho,
The Java code generator portion of RoseJ disregards sequence diagrams. I
have seen people try to write scripts or add-ins that use sequence diagrams
to generate executable code for operations, but this never scales well. It
is just not worth putting that much detail into a sequence diagram.
Furthermore, sequence diagrams work best when describing one path through a
scenario; putting all If-Then-Else paths in a sequence diagram makes it
difficult to read. Showing all variable declarations, initializations, etc.
would also make it difficult to read.
I am reminded of certain CASE tools I used in the late 80's that had you put
so much information into a graphical diagram that you stop and think "I wish
I could just describe this algorithm in text: source code".
That being said, Rational QualityArchitect does generate test scripts from
Rose interaction diagrams. This works a little better than trying to
generate a whole busines operation because a test script moreso attempts to
go along one path and is interested in exercising operations more than doing
real business logic. I haven't really used QualityArchitect.
------- b
--
Brian G. Lyons
Number Six Software - Voted Rational's Best Complementary Service Provider
1655 North Fort Myer Drive, Suite 1100
Arlington, VA 22209-3196
http://www.numbersix.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Francisco Jos� Folla
Doblado
Sent: Monday, August 13, 2001 2:57 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) generate java
Is it possible to generate java code from a sequence diagram?
************************************************************************
* 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/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************