Book a Demo

Author Topic: Activity Diagrams and Code Generation  (Read 3554 times)

EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Activity Diagrams and Code Generation
« on: August 27, 2002, 07:36:09 am »
Does EA allows an architect to develop activity diagrams and generate code in Java?  I'm thinking in terms of Executable UML.. has anyone done serious code generation?

I am doing a project where time is very short and I want to generate as much code as possible.  Please advise.

Thanks

Don

  • Guest
Re: Activity Diagrams and Code Generation
« Reply #1 on: August 27, 2002, 07:42:37 pm »
I've only generated code from the 'Class model' diagram.  I've generated 50 classes (including abstracts) using this approach (c#).  I've had good success.  You'll need to use namespaces which conform to the language (e.g., name your packages/views accordingly).  I've used the reverse engineering task for loading existing classes with good success.  

Yes, you do have to tweek a little, but I've found once I have the classes 'stubbed' in, I can move forward quickly.  

As such, the model does change as you discover ways to 'abstract out' more detail. Thus you can update the model and document those changes.




EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Re: Activity Diagrams and Code Generation
« Reply #2 on: August 28, 2002, 06:11:03 am »
I've done similar things before but I wanted to use detailed action semantics in my activity diagrams and hope to generate code that would relate to the action semantics.

Would still like to get more responses (specially from the developers of EA)

Thanks