Author Topic: Working with Jag (J2EE App Gen)  (Read 928 times)

andyd

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • Hi
    • View Profile
Working with Jag (J2EE App Gen)
« on: November 28, 2003, 04:34:35 pm »
Hi Guys,
I've just been looking at jag (http://jag.sourceforge.net).
Looks as it would be a great way to generate J2EE EJB and Structs & JAO apps with EA as the UML Tool.

Has anyone got it working with EA?  I seem to get problems with Jag parsing the exported XMI from EA.  Noticed the sample xmi with Jag is version 1.2.  Could this be it?  If so is there a plan to support XMP V1.2 in the near future?

Thanks,
Andy.

okpaua

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Working with Jag (J2EE App Gen)
« Reply #1 on: December 01, 2003, 08:20:43 am »
hi andy,
did you succeed with your generation ?
I started looking at andromda today, which seems to
be pretty much the same thing as jag.
Even to the point where it does not like the EA generated xmi although it states to support XMI 1.1.
for xmi transformation I found a bridge Xformer at
http://www.metaintegration.net/Products/MIMB/

I am very ambitious to use EA as a source for advanced generation. I already tried to extend the macros for code generation (by doing this xdoclet tags could be inserted directly into comment blocks) but I find the approach of taking XMI as a source much better, thats what I got a bit excited about andromda.

But like so often, a good idea seems to be rendered useless by the nitty gritty of incompatible "standards".

I will try this XMI bridge today - I f it doesn't lead to success I'll consider something pragmatic that works NOW, as I am on a tight schedule (I pray that it does not mean hand-coding)

regards,

Olaf

andyd

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • Hi
    • View Profile
Re: Working with Jag (J2EE App Gen)
« Reply #2 on: December 03, 2003, 08:36:53 am »
Hi Olaf,
Thanks for your reply.
No I've not got anywhere as yet, well not in the way that I intended, anyway.

JAG does seem to be able to generate beans from a database schema.  So, possibly, you could use EA to create a Schema, export this to a database, generate the beans from JAG and then import the source into EA for the implementation model.
However, I still think I'd like to use the XMI and go straight there!

I never had much success trading Rose models with EA, but fortunately we don't need to do that any more ;-).

If I get time I'll try and get a better idea of why it doesn't work, but I'll need to swat up on XMI first.

JAG uses stereo types to label session and entity beans.  With EA's strong support in this area it would be a good tool match IMHO.

Regards,
Andy.