--- "Clifton C. Craig" <[EMAIL PROTECTED]> wrote:
> I just tried changing the AddressEMBean to extend
> javax.SessionBean and
> I'm getting the same results. Obviously there's
> something else I'm
> missing. Could someone give me a clue?
>
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems - A Division of GBG
> 2101 Embassy Drive
> Lancaster, PA 17603
>
> Phone: 717-295-7977 ext. 621
> Fax: 717-295-7683
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
>
> Clifton C. Craig wrote:
>
> > Hello,
> >
> > I am a beginner trying to get off the ground with
> XDoclet. I have, so
> > far, managed to get a basic stateless bean
> deployed onto Jonas with
> > little trouble. I am now trying to take what I
> learned and apply it to
> > our project here which involves several hundred
> EJBs and I am
> > experiencing problems. Namely the generated
> deployment descriptors are
> > empty At this point I am only trying to use
> XDoclet to generate the
> > deployment descriptors. I believe the problem is
> related to the fact
> > that my bean does not directly extend an EJB.
> Instead, it indirectly
> > extends one of our base classes that extends
> SessionBean. My code
> > snippet is below:
> >
> > /**
> > * @ejb.bean type="Stateful"
> > * ejb-name="AddressEMBean"
> > * jndi-name="AddressEMBean"
> > * @jonas.bean
> > * ejb-name="AddressEMBean"
> > * jndi-name="AddressEMBean"
> > * This entity manager handles address and zipcode
> information exchange.
> > * ...additional comments...
> > */
> > public class AddressEMBean extends
> >
>
com.icsaward.award.server.sb.common.EntityManagerBean
> > {
> > //Class definition...
> > }
> >
> > A snippet from my build script is below as well:
> >
> > <property name="src.dir"
> >
>
location="D:\scm\src\com\icsaward\award\server\sb\em\address\"/>
> > <path id="compile.path">
> > <pathelement
> path="${appserver.root}/lib/jonas.jar"/>
> > </path>
> > <path id="xdoclet.class.path">
> > <fileset dir="D:\scm\tools\xdoclet-1.2">
> > <include name="*.jar"/>
> > </fileset>
> > <path refid="compile.path"/>
> > <path location="d:\scm\bin"/>
> > </path>
> >
> > <target name="generate">
> > <taskdef
> > name="ejbdoclet"
> >
> classname="xdoclet.modules.ejb.EjbDocletTask"
> > classpathref="xdoclet.class.path"/>
> > <ejbdoclet
> > destdir="${src.dir}"
> > excludedtags="@version,@author"
> > force="true"
> > verbose="true"
> > ejbspec="2.0">
> > <fileset dir="${src.dir}"
> includes="*Bean.java"/>
> > <deploymentdescriptor
> destdir="${src.dir}/META-INF"/>
> > <jonas version="3.0"
> destdir="${src.dir}/META-INF"/>
> > </ejbdoclet>
> > </target>
> >
> > My gut tells me the problem lies in the class that
> it's extending.
> > This is the only major difference between this
> example and the one
> > that I got working earlier. My earlier example
> directly extended
> > SessionBean. Now how do I go about letting XDoclet
> know that my
> > classes indirectly extends SessionBean? I include
> a classpath entry to
> > the rest of my class hierarchy in the taskdef
> element (d:\scm\bin
> > points to all the base classes including
> everything else in our
> > project), although I don't think this is the
> correct way to do this. I
> > searched the XDoclet documentation and googled for
> info on XDcolet but
> > nothing I saw explained how to work with a
> scenario like what I'm
> > dealing with. Please advise. Thanks in advance.
Is javax.ejb.SessionBean itself available on
classpath?
regards,
=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung.
Arbeitsort: Mainz
Skills: Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user