OK, here is one of my simple Beans.
XDoclet creates an jaws.xml and an jbosscmp-jdbc.xml
There is no need to create or modify .j files.

What's your build.xml ? I have
>         <ejbdoclet
>                 sourcepath="${src.dir}"
>                 destdir="${src.dir}"
>                 classpath="${classpath}"
>                 ejbspec="2.0">


>                 <remoteInterface
>                         pattern="{0}Remote"
>                 />
>                 <localInterface
>                         pattern="{0}Local"
>                 />
>                 <homeInterface
>                         pattern="{0}HomeRemote"
>                 />
>                 <localHomeInterface
>                         pattern="{0}HomeLocal"
>                 />
>                 <packageSubstitution 
>                         packages="beans" 
>                         substituteWith="interfaces"
>                 />


>                 <jboss  version="3.0" 
>                         datasource="java:/IfxTransDS"
>                         typemapping="InformixDB"
>                         destdir="${src.resources}"
>                         validatexml="false"
>                         xmlencoding="UTF-8"
>                         debug="true"
>                 />
> 
>                 <entitypk/>
>                 <entitycmp/>
> 
>                 <session
>                         pattern="{0}Bean"
>                 />
>         </ejbdoclet>

But currently I've got a problem with JBoss3 StatelessSessionBean.
Don't know who is responsible for this: XDoclet because of buggy xml's
or JBoss.

Frank Langelage


Jozsa Kristof schrieb:
> 
> Frank (or anyone else of course :),
> 
> Can you please sum up quickly the XDoclet tags you use at the bean
> declaration and at the cmp-fields, or send an example entity bean header?
> 
> I'm still not that familiar with the .j files of XDoclet, and while I've
> tried to figure it out from the sources myself and added some modifications
> to my sources, I couldn't eg. tell xdoclet to generate the proper
> jbosscmp-jdbc.xml instead of jaws.xml.
> 
> Thanks for your time,
> Christopher
> 
> On Wed, Dec 05, 2001 at 08:20:52AM +0100, Langelage, Frank wrote:
> > I am playing with current CVS-versions of XDoclet (1.1) and JBoss (3.0).
> > I've got 5 entity beans with CMP 2.0, CMR and StatelessSessionBeans.
> > Everything seems to work so far, but performance for CMR is very bad.
> > But that's another story.
> >
> > Frank
> >
> > Jozsa Kristof schrieb:
> > >
> > > A quote from the JBoss.org forums:
> > >
> > > > I�ve been told on xdoclet mailing list that current release 1.0.1 doesn�t
> > > > fully support jboss 3.0 cmp, becouse it still generates jaws.xml instead of
> > > > jboss-cmp.xml and also relations do not work. I think current cvs solves
> > > > this, but docs are out of sync. A new release is coming soon.
> > > > Manuel
> > >
> > > ..posted on 29th of November. Can you guys confirm this news? Does XDoclet's
> > > latest cvs support JBoss3's cmp2.0 and will we have a new release around?
> > >
> > > Thanks,
> > > Christopher
> > > --
> > > .Digital.Yearning.for.Networked.Assassination.and.Xenocide
> > >
> > > _______________________________________________
> > > Xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> --
> .Digital.Yearning.for.Networked.Assassination.and.Xenocide
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Attachment: UnitOfMeasure.java
Description: Binary data

Reply via email to