Re: [Xdoclet-user] Overriding the toString() method in valueobjectgenerated classes

2003-03-13 Thread Andrew Stevens
On Tue, 2003-03-11 at 06:05, Ryan Littrell wrote: > I am trying to find out how I can override the toString method of the > generated objects created by the valueobject tag. > > Currently, it returns a string of the object's contents. I want it to > return something such as the valueobject's na

[Xdoclet-user] Problem with "

2003-03-13 Thread Richard Mixon
Hello, I'm trying to use the package substitution feature to generate struts form beans in a different package than the original Java Bean. I got the ant task definition from Matt Raible's Struts-Resume app. The build for Struts-Resume runs just fine, but when I run this in my own applications bui

[Xdoclet-user] Problem with Primary Key Class

2003-03-13 Thread Cleber Miranda Barboza
In my entity I did the follow: public ItemTransferPK ejbCreate( String id, String serial ) throws EJBException, CreateException { setId( id ); setSerial( serial ); return null; } I've read at http://www.theserverside.com/home/index.jsp that the ejbCreate Type must

[Xdoclet-user] Problem with @jboss.ejb-ref-jndi

2003-03-13 Thread Richard Stack
I have a problem with "@jboss.ejb-ref-jndi". It seems to want to add an "ejb/" before the reference name. * @ejb.ejb-ref * ejb-name="Customer" * view-type="local" * ref-name="Customer" * * @jboss.ejb-ref-jndi jndi-name="CustomerJNDI" * ref-name="Customer"

[Xdoclet-user] Writing your own docletgenerator

2003-03-13 Thread Casteels Jan
Hi All, We are already using XDoclet for our EJB's, but now I want to take it a step further by making a docletgenerator for some HomeDecorators that are a combination of the util but they include the finders, Where can I find some guidelines to do this? Jan

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Cleber Miranda Barboza
Matthew Excell writes: > Cleber, > > I didn't see anything obviously wrong with the table tag or the > ejbdoclet section. It should be putting the jbosscmp-jdbc.xml in your > build/ejb/META-INF directory - with the table tag in it. > > Unfortunately, I have noticed that if there is a required ta

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Matthew Excell
Cleber, I didn't see anything obviously wrong with the table tag or the ejbdoclet section. It should be putting the jbosscmp-jdbc.xml in your build/ejb/META-INF directory - with the table tag in it. Unfortunately, I have noticed that if there is a required tag missing or a misspelled tag in an x

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Cleber Miranda Barboza
Matthew Excell writes: > Cleber, > > In your ant task, inside the ejbdoclet section, do you have a jboss > section that is set-up similar to the following: > > version="3.0" > unauthenticatedPrincipal="nobody" > xmlencoding="UTF-8" >

[Xdoclet-user] [JDODoclet] generate inherited metadata field

2003-03-13 Thread Mingfai Ma
hi, I realized a problem when using JdoDoclet to generate metadata xml. For two classes, Parent and Child, metadata definition for the inherited field from the parent are generated. However, this causes problem in Kodo. Kodo does not allow inherited fields to be defined in the child definition.

Re: [Xdoclet-user] Can't Run EJBDoclet

2003-03-13 Thread Hunter Hillegas
Thanks much for this example but I am still having the same problem... I can't figure it out... BUILD FAILED file:/Users/hunter/Desktop/groundswell-commerce/build.xml:108: Can't create a localinterface element under ejbdoclet. Make sure the jar file containing the corresponding subtask class is on

Re: [Xdoclet-user] Latests CVS - build problem

2003-03-13 Thread kiuma
Aleksandr Shneyderman wrote: I tried to build the latest CVS and ran into the below specified error. Does anyone know what is the problem? Thanks, Alex todo: [mkdir] Created dir: C:\downloads\jakarta\xdoclet120\latest\xdoclet\target\docs\todo [todo] (XDocletMain.start 45

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Matthew Excell
Cleber, In your ant task, inside the ejbdoclet section, do you have a jboss section that is set-up similar to the following: We use XDoclet and JBoss on the vast majority of our J2EE projects. (I personally am currently working as architect on three projects with over 200 entities an

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread cleberc
: rom: Cleber Miranda Barboza <[EMAIL PROTECTED]> Demyanovich, Craig - Apogent writes: > Now that I've read your example more carefully, I noticed that you are > declaring > > @jboss.persistence table-name="fat_ctr_rems_446" > > when you should be declaring > > @ejb.persistence table-name="fat_

RE: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Demyanovich, Craig - Apogent
Now that I've read your example more carefully, I noticed that you are declaring @jboss.persistence table-name="fat_ctr_rems_446" when you should be declaring @ejb.persistence table-name="fat_ctr_rems_446" The @jboss.persistence does not have a table-name attribute (in xdoclet 1.2-b2, which I h

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Cleber Miranda Barboza
Demyanovich, Craig - Apogent writes: > > * @jboss.persistence table-name "fat_ctr_rems_446" > > Try adding "=" between the attribute name and its value, as in, > > @jboss.persistence table-name="fat_ctr_rems_446" > > Let us know if this change solves the problem. > > Craig I did that: * @j

[Xdoclet-user] Xdoclet generated facade beans -> web services

2003-03-13 Thread Peter McCombs
Hi all, I'd like to expose my facade session beans, that XDoclet generated, as web services. Has anybody done this before? Any ideas? Thanks, Peter -- I don't know anything about music. In my line you don't have to. -- Elvis Presley

Re: [Xdoclet-user] CMP Question

2003-03-13 Thread Peter McCombs
On Thursday 13 March 2003 03:45 am, Adam wrote: > Look at using the Data or Value objects that can be generated using xdoclet > tags. The DO or VO objects are essentially data capsules. Pass this back > to the manager, which can then send it to the web client. > > Data objects appear to be the 'o

RE: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Demyanovich, Craig - Apogent
> * @jboss.persistence table-name "fat_ctr_rems_446" Try adding "=" between the attribute name and its value, as in, @jboss.persistence table-name="fat_ctr_rems_446" Let us know if this change solves the problem. Craig --- This SF.net email

Re: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Cleber Miranda Barboza
Demyanovich, Craig - Apogent writes: > > Ok, but which descriptor files xdoclet will putt "T_CUSTOMER" ? > > I expect this to be placed in a server-specific deployment descriptor that > describes the mapping between the fields in the EJB and the columns in the > given database table, T_CUSTOMER.

RE: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Herve Tchepannou
Title: RE: [Xdoclet-user] findByPrimaryKey in the application server proprietary deployment descriptor. For JBoss for exemple, its define in jbosscmp-jdbc.xml > -Original Message- > From: Cleber Miranda Barboza [mailto:[EMAIL PROTECTED]] > Sent: 12 March 2003 21:37 > To: [EMAIL PROT

RE: [Xdoclet-user] Primary Key Class

2003-03-13 Thread Demyanovich, Craig - Apogent
> The Primary Key Class is an object that may contain any > numbers of attributes to uniquely identify an entity bean > data instance. So What I have to do for specify, for example, > three attributes in an Primary Key Class using xdoclet tags ? Mark each field that is part of the primary key w

[Xdoclet-user] Latests CVS - build problem

2003-03-13 Thread Aleksandr Shneyderman
I tried to build the latest CVS and ran into the below specified error. Does anyone know what is the problem? Thanks, Alex todo: [mkdir] Created dir: C:\downloads\jakarta\xdoclet120\latest\xdoclet\target\docs\todo [todo] (XDocletMain.start 45 ) Running [todo] Cr

RE: [Xdoclet-user] findByPrimaryKey

2003-03-13 Thread Demyanovich, Craig - Apogent
> Ok, but which descriptor files xdoclet will putt "T_CUSTOMER" ? I expect this to be placed in a server-specific deployment descriptor that describes the mapping between the fields in the EJB and the columns in the given database table, T_CUSTOMER. My experience is with JBoss. For JBoss 2.4.x,

AW: [Xdoclet-user] xdoclet and JDK 1.4.1

2003-03-13 Thread Rademacher Tobias
I'm using JDK 1.4.1-01_b1. My xdoclet+maven system works fine! > -Ursprüngliche Nachricht- > Von: Hani Suleiman [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 12. März 2003 16:41 > An: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: [Xdoclet-user] xdoclet and JDK 1.4.1 > > I've u

Re: [Xdoclet-user] CMP Question

2003-03-13 Thread Adam
Look at using the Data or Value objects that can be generated using xdoclet tags. The DO or VO objects are essentially data capsules. Pass this back to the manager, which can then send it to the web client. Data objects appear to be the 'older', more 'light weight' version. They can be used with

Re: [Xdoclet-user] CMP Question

2003-03-13 Thread harm
Hi all, Thanks for your quick responses. I looked into the Session Facade pattern as suggested by some of you. To my understanding the Session Facade pattern is exactly what I have now...: Advertisement Manager ---> Advertisement > Correction /^\ | | Client (web-c

RE: [Xdoclet-user] NEWBIE question:

2003-03-13 Thread Rupp,Heiko
[ Please don't use HTML mail ] From: Christian Neuroth [mailto:[EMAIL PROTECTED] > I am using the following ejbdoclet task in my build file. How can I define that the > only creates > information for the remote interfaces and not for the local interfaces? What did you specify in the source as

[Xdoclet-user] NEWBIE question:

2003-03-13 Thread Christian Neuroth
Hi!   I am new to XDoclet and probably this question is rather simple. But I can't find an answer in the docs or in the archive...   I am using the following ejbdoclet task in my build file. How can I define that the only creates information for the remote interfaces and not for the local