I should've mentioned that the compile path points the appserver jar file where javax.ejb.Session bean is defined.
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]
Konstantin Priblouda wrote:
--- "Clifton C. Craig" <[EMAIL PROTECTED]> wrote:
I just tried changing the AddressEMBean to extendcom.icsaward.award.server.sb.common.EntityManagerBean
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,XDoclet. I have, so
I am a beginner trying to get off the ground with
far, managed to get a basic stateless beandeployed onto Jonas with
little trouble. I am now trying to take what Ilearned and apply it to
our project here which involves several hundredEJBs and I am
experiencing problems. Namely the generateddeployment descriptors are
empty At this point I am only trying to useXDoclet to generate the
deployment descriptors. I believe the problem isrelated to the fact
that my bean does not directly extend an EJB.Instead, it indirectly
extends one of our base classes that extendsSessionBean. My code
snippet is below:information exchange.
/**
* @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
* ...additional comments...
*/
public class AddressEMBean extends
location="D:\scm\src\com\icsaward\award\server\sb\em\address\"/>{ //Class definition... }
A snippet from my build script is below as well:
<property name="src.dir"
<path id="compile.path">path="${appserver.root}/lib/jonas.jar"/>
<pathelement
classname="xdoclet.modules.ejb.EjbDocletTask"</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"
classpathref="xdoclet.class.path"/>includes="*Bean.java"/>
<ejbdoclet
destdir="${src.dir}"
excludedtags="@version,@author"
force="true"
verbose="true"
ejbspec="2.0">
<fileset dir="${src.dir}"
<deploymentdescriptordestdir="${src.dir}/META-INF"/>
<jonas version="3.0"destdir="${src.dir}/META-INF"/>
it's extending.</ejbdoclet> </target>
My gut tells me the problem lies in the class that
This is the only major difference between thisexample and the one
that I got working earlier. My earlier exampledirectly extended
SessionBean. Now how do I go about letting XDocletknow that my
classes indirectly extends SessionBean? I includea classpath entry to
the rest of my class hierarchy in the taskdefelement (d:\scm\bin
points to all the base classes includingeverything else in our
project), although I don't think this is thecorrect way to do this. I
searched the XDoclet documentation and googled forinfo on XDcolet but
nothing I saw explained how to work with ascenario 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
------------------------------------------------------- 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
