Hi tek1, all!

I am not familiar with either dods or the jboss gui, as I spend all my EJB
time with WLS, so I'm not in the position to judge whether or not the
projects you're mentioning could benefit from synergy effects. I'd be happy
to work with any project that fits.

I'll describe the intention of Middlegen further, so that people familiar
with dods and jboss gui (and other projects like EJBGen and XDoclet) have a
better basis to judge whether cooperation/integration is appropriate:

Middlegen is (at least in its current state) a code generation tool for
Entity Beans. Its architecture makes it possible to write code generator
plugins for special targets. Currently, it generates code that can be
further processed by XDoclet, but it would be easy to extend it so that it
generates code for EJBGen or any other "platform". (You could extend it to
generate Commodore 64 basic code for that matter, although that code
probably wouldn't be able to do anything useful).

The basis for the code generation is an internal model that represents a
database schema with its tables, fields, keys and relations. This model is
populated by reading meta data from a database using JDBC.

The reason why it is a gui tool is that users will want to tune the output
before generating code. Say, for a CUSTOMER table, you would maybe want to
generate only setters for some fields, and getters for some. Maybe you want
to map the table's BLOB 'picture' field to an InputStream 'photo' attribute
in the generated Customer Entity bean. -And maybe you want some attributes
to be available only in the local EJB interface, and not in the remote
interface. You can also tune relations to make them unidirectional or
bidirectional, cascade-delete and so on. The intention is to support
additional app-server specific tuning too. When you're done tuning, you
generate the code. The you pass that code to EJBGen or XDoclet (or dods?).

I am involved with the XDoclet project, so my energy will go into the
Middlegen core and XDoclet generation for WLS. However, anybody who wants to
add support for EJBGen, XDoclet/JBoss, XDoclet/Orion (or whatever product
could benefit from Middlegen) are encouraged to contact me and join the
project. Guess I could need som help with the core too.

More viewpoints are most welcome.

<aslak/>

-----Original Message-----
From: tek1 [mailto:[EMAIL PROTECTED]]
Sent: 9. oktober 2001 10:43
To: Aslak Helles?; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [Xdoclet-announce] Announcement: Middlegen - source code
generator for XDoclet/EJBGen


perhaps there is an opportunity for all 3 projects (middlegen, dods, and
jboss gui) to work together?  they all seem to have definite benefits and
provide very useful and different views of the underlying code in an ejb
system.  furthermore, with xdoclet at the core to generate all the
ejb-related classes and xml files, i can see great synergies that together
could produce the best ejb gui development tool anywhere!

there is more power in unity.

(just my 2 cents worth in trying to find the ideal gui tool for ejb
development...)



At 20:07 01/10/07 +0200, Aslak Helles住 wrote:
>Hello there!
>
>I have just sourceforged my latest project called Middlegen. It's a tool
>that scans a database
>and generates EJB 2.0 CMP/CMR Entity Beans for XDoclet (and maybe later
>EJBGen if there is an interest for it). Middlegen in alpha state, so
>comments and bugreports are welcome. I'm also looking for people to
>contribute.
>
>I have attached a screenshot (yes, it's a gui tool, but I'm planning to
make
>it able to run from
>commandline/ant too) and a sample java file generated by Middlegen. It
>should give you an idea.
>
>If you want to try it out, you can download the sources via CVS by
follwoing
>these instructions:
>http://sourceforge.net/cvs/?group_id=36044
>
>The project's home page is http://sourceforge.net/projects/middlegen/
>
>Please use one of the appropriate mailing lists on sourceforge for further
>communication:
>http://sourceforge.net/mail/?group_id=36044
>
><aslak/>
>


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to