EJBMaker generates sources for CMP beans from xml deployment descriptors. Once a proprietary tool for Websphere, it now supports any J2EE server. Many have recognized the importance of such tool, including Cedrib Beust and Rickard Oberg, both of whom have developed similar tools.
Now that it is open-vendor, perhaps we may see easier EJB developement and maintenance?
http://www.alphaworks.ibm.com/tech/ejbmaker
-
EJBMaker from alphaWorks supports any J2EE server (11 messages)
- Posted by: Gene Chuang
- Posted on: August 27 2001 18:13 EDT
Threaded Messages (11)
- EJBMaker from alphaWorks supports any J2EE server by Cedric Beust on August 28 2001 00:43 EDT
- EJBMaker from alphaWorks supports any J2EE server by viktor gritsenko on August 28 2001 09:07 EDT
-
EJBMaker from alphaWorks supports any J2EE server by Cedric Beust on August 28 2001 11:35 EDT
- EJBMaker from alphaWorks supports any J2EE server by Gene Chuang on August 28 2001 02:34 EDT
-
EJBMaker from alphaWorks supports any J2EE server by Cedric Beust on August 28 2001 11:35 EDT
- EJBMaker from alphaWorks supports any J2EE server by viktor gritsenko on August 28 2001 09:07 EDT
- EJBMaker from alphaWorks supports any J2EE server by Kumar Mettu on August 28 2001 02:09 EDT
- EJBMaker from alphaWorks supports any J2EE server by Dmitry Namiot on August 28 2001 10:30 EDT
- EJBMaker from alphaWorks supports any J2EE server by Aslak Hellesøy on October 24 2001 08:51 EDT
- EJBMaker from alphaWorks supports any J2EE server by Ara Abrahamian on August 28 2001 10:54 EDT
- EJBMaker from alphaWorks supports any J2EE server by Kumar Mettu on August 28 2001 11:48 EDT
- EJBMaker from alphaWorks supports any J2EE server by Dmitry Namiot on August 28 2001 10:30 EDT
- EJB and Java code generation by Roman Porotnikov on August 30 2001 01:34 EDT
- EJB and Java code generation by Hai Hoang on August 31 2001 15:51 EDT
-
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Cedric Beust
- Posted on: August 28 2001 00:43 EDT
- in response to Gene Chuang
<quote>
3. Okay, but I'm using the BEA WebLogic application server. Can I still use the EJBMaker?
Not in its current version. Once application servers handles Enterprise JavaBeans conforming to the version 2.0 specification, a generic enough tool to work on any of those servers is planned.
</quote>
<frown/>
Also, I'm not sure that hiding Java and exposing XML makes a lot of sense, but hey, the more tools to choose from, the more power to developers.
--
Cedrib
-
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: viktor gritsenko
- Posted on: August 28 2001 09:07 EDT
- in response to Cedric Beust
Cedrib, oops, Cedric,
Can I (we) see your tool? URL?
Viktor -
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Cedric Beust
- Posted on: August 28 2001 11:35 EDT
- in response to viktor gritsenko
-
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Gene Chuang
- Posted on: August 28 2001 14:34 EDT
- in response to Cedric Beust
Hey Cedrib,
That was Floyd's flub; I got your name right in my original submission! (Perhaps 'b' is pronouced as 'c' in Canadian?) :-)
Hey Kumar,
I believe the document for EJBMaker is a little behind the product update, since the J2EE-certified note is dated just 8/23/01... I was hoping someone has or will try out this to confirm, since I'm a little to busy these days to eval! :-)
Gene
-
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Kumar Mettu
- Posted on: August 28 2001 02:09 EDT
- in response to Gene Chuang
I don't think EJBMaker works for 'Any J2EE server' as it is advertised. The entire document talks regarding WebSphere4 and 3.5.
I agree with Cedric's point regarding hiding Java Code and Using just XML. I didn't quite like the Idea of using JavaDocs to generate EJB code though.
There is another Interesting article from Tony at javaworld. This talks about using only reflection API. I Used this Idea and Wrote some Code to generate code for EJB's and Classes related to my company specific EJB patterns. I didn't try to maintain the Code or Publish it as a soultion since its being used the least even in My own company. Few reasons why its not used being:
1. Its not a standard.
2. The % of Time you spend writing An EJB's (The support classes reqd.) is far less compared to developing a solution.
3. Requires additional Learning.
Here is the Java World Arcticle from Tony:
http://www.javaworld.com/jw-12-2000/jw-1215-anyclass.html
To Solve this problem there should be an open source tool and should be vendor neutral (as long as the tool is from a vendor it can never become vendor neutral). The Tool need to be Open Source Becasue developers can extend the tool to genreate code related to their company specific patterns. I hope one of the existing solutions will solve the problem.
Kumar. -
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Dmitry Namiot
- Posted on: August 28 2001 10:30 EDT
- in response to Kumar Mettu
to provoke:
why do not do that directly from DB schema?
E.g. based on the table description (or view)? -
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Aslak Hellesøy
- Posted on: October 24 2001 20:51 EDT
- in response to Dmitry Namiot
-
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Ara Abrahamian
- Posted on: August 28 2001 10:54 EDT
- in response to Kumar Mettu
<Kumar>
I agree with Cedric's point regarding hiding Java Code and Using just XML. I didn't quite like the Idea of using JavaDocs to generate EJB code though.
</Kumar>
Yes, I agree with you that putting everything in javadocs or in xml files is not a good idea. What about a balance between them?
That's exactly what we've done in XDoclet (formerly known as EJBDoclet, the tool which Rickard Oberg originally had written and it's now being actively developed as an open source project).
Some things are better expressed as config meta-data in source, for example ejb-name/CMP-BMP type/remote-methods, while others are not because they are more deployment-oriented, for example security role refs or servlet URL mapping (yes not only EJBs are supported but also web.xml/taglib.tld/apache-soap deployment descriptor generation from javadoc @tags). You should be able to declare what your component needs, in @ejb:bean name="MyBean" format, or in separate files. We call the second form 'merge points', your merge a file where servlet-mapping or env-entries is defined there. This is also true for classes that your derive from. For example if you derive from BaseSession class you shouldn't have to dig into the code to find out what env-entries or resources-refs it uses, you should inherit the config data also, and this one is also supported in XDoclet, if you declare a resource-ref in base class because your base class uses it, the ejb-jar.xml section for the derived class also has that resource-ref defined for it.
For XDoclet see http://sourceforge.net/projects/xdoclet (we'll release v1.0 very soon), and for the older EJBDoclet seehttp://sourceforge.net/projects/ejbdoclet.
Ara. -
EJBMaker from alphaWorks supports any J2EE server[ Go to top ]
- Posted by: Kumar Mettu
- Posted on: August 28 2001 23:48 EDT
- in response to Ara Abrahamian
Ara,
Couldn't get much info regarding xdoclet. But sounds interesting though(Main reason being open source and not being a vendor based solution).
I beleive my code need to be independent of a tool that generates the EJB's.
Thanks,
Kumar.
-
EJB and Java code generation[ Go to top ]
- Posted by: Roman Porotnikov
- Posted on: August 30 2001 01:34 EDT
- in response to Gene Chuang
EJB and Java code generation:
Links to products and articles are here
http://jetalon.w3.to/jenerators.html
-
EJB and Java code generation[ Go to top ]
- Posted by: Hai Hoang
- Posted on: August 31 2001 15:51 EDT
- in response to Roman Porotnikov
Why typing the XML file or the Bean so you can generate code? Why not generate code by reading the database schema? This is exactly what the EJBX does. EJBX is a Java based EJB 2.0 CMP Entity Bean Code Generator. The EJBX can provide a fast development toolkit for developer to generate Enterprise JavaBean 2.0 object based on the existing database, just by one simple command. This is to reduce unnecessary typo error and human mistake to generate EJB code to run on any EJB 2.0 CMP compliant servers.