Re: XDoclet2: generating J2EE AS specific XML descriptors supported/possible?
Ive Hellemans <[email protected]> Fri, 23 Mar 2007 22:20:03 +0100
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <[email protected]> |
Hey,
A few months ago I developed and comitted the weblogic 9 plugin
(which extends the EJB plugin). Both plugins are quite complete for
session beans etc, but are missing some entity bean features. The
biggest reason I abandoned working on the WebLogic plugin for entity
beans are (a) the fact that the EJB plugin is not completely support
entity beans and (b) the performance: I needed this plugin to convert
a large legacy application to WebLogic 9.1, and while running XDoclet
1.x on that application takes about 2 minutes, XDoclet 2 took more then 50 ..
However, this being said: the session beans etc are working fine and
are quite fast. I'm currently using that plugin for multiple projects.
Sample config:
<xdoclet2>
<fileset dir="${src.dir}">
<include name="**/*Bean.java" />
</fileset>
<component classname="org.generama.MergeableVelocityTemplateEngine"/>
<component classname="org.generama.JellyTemplateEngine"/>
<component
classname="org.xdoclet.plugin.ejb.EjbConfig"
version="2.1"
destdir="${basedir}/${interaction.build.dir}/META-INF" />
<component
classname="org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin"
fileReplace="Remote" verbose="true" force="${xdoclet.force}"
destdir="${basedir}/${src.dir}" />
<component
classname="org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin"
fileReplace="Home"
verbose="true" force="${xdoclet.force}"
destdir="${basedir}/${src.dir}" />
<component
classname="org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin"
verbose="true" force="${xdoclet.force}"
destdir="${basedir}/${interaction.build.dir}/META-INF" />
<component
classname="org.xdoclet.plugin.weblogic.ejb.descriptor.WeblogicEjbJarXmlPlugin"
description="${ant.project.name}"
verbose="true" force="${xdoclet.force}"
destdir="${basedir}/${interaction.build.dir}/META-INF" />
</xdoclet2>
Regards,
Ive
At 14:18 23/03/2007, you wrote:
>Sorry for the delay,
>I must have overlooked this in my Spambox.
>
>--- Holger Rauch <[email protected]> wrote:
>
> > Hi,
> >
> > After having looked at
> >
> > http://xdoclet.codehaus.org
> >
> > I couldn't find any plugin related to generating
> > J2EE AS specific
> > descriptors. This support has been available in
> > XDoclet 1.2.x. I'm talking
> > about the @weblogic, @jboss, @oc4j, etc. tags.
> >
> > Are these available in XDoclet2 as well and if so,
> > how can I invoke
> > generation of these descriptors from within Ant?
> >
> > The main reason I'm asking this question is that I'm
> > wondering whether
> > XDoclet2 supports BEA Weblogic 9.2.
> >
>Hi, not all the available plugins are listed
>on the front page, you have to look in sources.
>
>Somehow EJB plugins are not freuqently used, so their
>support for particular AS may be suboptimal.
>
>Contributions are welcome.
>
>regards,
>
>----[ Konstantin Pribluda http://www.pribluda.de ]----------------
>Still using XDoclet 1.x? XDoclet 2 is released and of production quality.
>check it out: http://xdoclet.codehaus.org
>
>
>
>____________________________________________________________________________________
>Don't get soaked. Take a quick peek at the forecast
>with the Yahoo! Search weather shortcut.
>http://tools.search.yahoo.com/shortcuts/#loc_weather
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>xdoclet-plugins-interest mailing list
>xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
Ive Hellemans - [email protected]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV