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
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
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
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"
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
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
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
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"
>
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.
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
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
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
: 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_
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
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
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
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
> * @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
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.
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
> 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
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
> 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,
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
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
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
[ 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
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
28 matches
Mail list logo