Hi,

This UML2J2EE is in fact an excellent idea, and is pretty much what I was
talking about in January (interchange XMI & XML Schema)
(see http://sourceforge.net/mailarchive/message.php?msg_id=1114396) - I'm
just surprised it has taken so long for someone to start
such a project!

My goal was to start with UML-->XMI-->XML Schema
and generate the beans from XMI or XML Schema.....working backwards,
however, I have only got as far as XML Schema.

At the moment I use xslt to generate the beans (I chose XML Schema so that I
can always treat my data as XML and have an extra validation layer), mainly
because I don't know Velocity and I haven't come across any blocking
limitations yet in xslt.

I agree also that the name may need to change because there are several
things that one can generate from XMI/XML Schema (delete as applicable)
* EJB (supporting multiple Application Servers)
* Database Creation Schema (one per database type)
* XML Schema 
* Base test GUI (based on one entity/table for testing)
* possibly base JUnit test cases
* Helper classes

Taking this again one step further is the possibility to create a
rudimentary reflection based persistence layer which can work on small
non-complicated projects.....but that's another topic.

Regards

Chris
-=-=-=




-----Original Message-----
From: Vincent Harcq [mailto:[EMAIL PROTECTED]]
Sent: 12 July 2002 18:38
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] UML modeling frontend for XDoclet


Hi,
It looks very very nice.
The way you permit the reengeneering is just so beautiful in its simplicity.
These are really the tools that are missing is Open Source nowadays.  When
you see how much cost this kind of product on the market...pfff...
I really prefer this way of "starting", I mean from UML instead of from
Database (aka Middlegen).  In fact it is not a -preference- but the
personnal usage I can see from these tools.  I also understand the need for
db oriented generation.
As Ara says, having a relationship between MiddleGen and uml2ejb would be
great.
The only problem I see is the name : uml2j2ee would have been better, I bet
you'll need to change the name in less than 1 year, see ejbdoclet ;)
hehe :)  Then uml2dotnet, etc...
I hope to use it on a big project I have that starts right now.

Vincent


> Hello, everyone,
>
> this week, I have completed the development of an open source code
> generator that takes a Unified Modeling Language (UML) model from a
> CASE-tool in XML Metadata Interchange (XMI) format and generates
> Enterprise JavaBeans classes with XDoclet tags as output. The
> associations between classes in the model are automatically transformed
> into @tags for EJB CMR. You will get EJBs that can readily be deployed
> into JBoss and others.
>
> The code generator is called UML2EJB and is released on SourceForge
> under the GNU Public License. It has been tested with the Poseidon CASE
> tool (see www.gentleware.com) but should work with any CASE tool that
> can write XMI output.
>
> Features:
> * Import of XMI from the CASE tool into the generator.
> * Builds an object model that drives the Jakarta Velocity template
> processor.
> * Templates for Session Beans and Entity Beans included.
> * Automatic use of J2EE patterns inside the generated beans.
> * All fully customizable to the needs of your project.
> * Uses XDoclet as a solid foundation to generate all the EJB-related
> files. * Graphical modeling easier than writing @tags.
>
> Environment:
> * Integrates into an Ant script as a custom task.
> * Integrates with CASE tools that write XMI format,
>  i.e. Poseidon, TogetherJ, Rational Rose.
> * Adaptable to different XMI dialects via XSL input transformation.
>
> Plus:
> * Documented on the project website at http://uml2ejb.sourceforge.net
>
> I am currently looking for volunteers who want to test it.
> Matthias Bohlen
> http://www.mbohlen.de/
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Gadgets, caffeine, t-shirts, fun stuff.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to