I have downloaded the latest version of XDoclet and the problem has gone
away. I would still like to know if someone knows what the problem was
though, it is allways nice to know!
Cheers,
Tim
-Original Message-
From: Tim Cockle [mailto:[EMAIL PROTECTED]
Sent: Fri 25/06/2004 14:08
To
Is there not a getPrimaryKey method?
Assuming the PKs are generated in squance. You could write a Comparator
and search for the greatest PK using the Collections search methods.
-Original Message-
From: Mark Stacey [mailto:[EMAIL PROTECTED]
Sent: Thu 26/02/2004 19:34
To: [EMAIL
yes
@web.*
-Original Message-
From: Neil Mendoza [mailto:[EMAIL PROTECTED]
Sent: Wed 28/01/2004 16:33
To: [EMAIL PROTECTED]
Cc:
Subject:[Xdoclet-user] JSP/EJB Newbie Question
Hi,
Am I right in thinking that I can use xdoclet in JSP files to generate
the necessary c
o stop in
web.xml
It's amazing what you find when you look at the documents/manuals for
Xdoclet.
in the webdoclet task:
From: "COCKLE Timothy" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: [Xdoclet-user] how to stop in we
Does any one know how to stop appearing in web.xml?
The information in this email is confidential and is intended solely for
the addressee. Access to this email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or om
Hi,
It's been a long night (the fun kind not the working kind) so I am a
little blurry!
But.
If you use LIKE then you must use JBoss-QL. You do this with the
@jboss.query tag in the class comment.
Here is an example from my project...
* @ejb.finder
*signature="java.util.Collection
find
This examples comes for the middlegen sample dir...
/**
* @ejb.interface-method view-type="local"
*/
public java.util.Collection getReservationsBefore(java.util.Date
date, airline.interfaces.FlightLocal flight) throws
javax.ejb.FinderException {
return ejbSelectReservationsBef
Here is an example.
It should be done with a finder really I guess but at least it gives you
an idea of how to use the select!
/**
* @ejb.interface-method view-type="local"
*/
public java.util.Collection getPeopleUnderAge(java.util.Date maxAge)
throws javax.ejb.FinderException {
Are you using the:
ant tag in your build?
and do you have the:
* @ejb.value-object comment tag in your class comment?
-Original Message-
From: Nayan Hajratwala [mailto:[EMAIL PROTECTED]
Sent: Mon 17/11/2003 20:42
To: [EMAIL PROTECTED]
Cc:
Subject:[Xdoclet-user] se
I would recommend downloading this:
http://www.manning.com/sullins2/chap02.pdf
And you could even buy the book if you find it usefull! This got me up and running
very quickly.
Tim
-Original Message-
From: pramod [mailto:[EMAIL PROTECTED]
Sent: Tue 18/11/2003 04:06
To: [EMAIL PR
Well the simplest way is to use middlegen.
It is very very easy. Just follow the example sample to get an idea but
basically it well look at your database and generate the entity beans
for you (including all the xdoclet tags).
Tim
-Original Message-
From: Steven Nakhla [mailto:[EMAI
XDoclet will also create util classes for each EJB. This is easy, but a EJBHomeFactory
is more effiecent.
-Original Message-
From: Harkness, David [mailto:[EMAIL PROTECTED]
Sent: Fri 26/09/2003 02:18
To: [EMAIL PROTECTED]
Cc:
Subject:RE: [Xdoclet-user] prefered way t
I had a similar problem a bit back. I am not at my dev machin right now
so I can't be sure but I think I had the values for the two names the
wrong way round.
Give it a go.
Other wise they are in the same .jar / .ear aren't they.
cheers,
Tim
-Original Message-
Fro
I believe teh ejb-ref tag is to reference an EJB on the same application server. That
is how I use it.
For example my OrderTicket Session bean has an ejb-ref tag so it can use the Ticket
Entity bean.
Tim
-Original Message-
From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED]
Sent:
I not sure your file set is right...
Try
i.e. remove the .../servlet/
-Original Message-
From: Bruyn, Bill [mailto:[EMAIL PROTECTED]
Sent: Tue 12/08/2003 19:16
To: '[EMAIL PROTECTED]'
Cc:
Subject:[Xdoclet-user] web.xml missing servlet info
What a great deal!
I fell sure it is genuine.
-Original Message-
From: MR.john kovo. [mailto:[EMAIL PROTECTED]
Sent: Thu 07/08/2003 19:55
To: [EMAIL PROTECTED]
Cc:
Subject: [Xdoclet-user] seeking for your assistante
i get my
ejb-jar.xml named Sample-ejb-jar.xml and Sample-weblogic-ejb-jar.xml for a
SampleBean.java file?
-Original Message-
From: COCKLE Timothy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 6:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] ejb-jar naming convention
I am
Why does the primkey-field attribute need to end with a ; ?
The sample below will only make the PK class if I change
* primkey-field="id"
to be
* primkey-field="id";
Here is a sample
/**
* @ejb.bean type="CMP"
*
Can you attach examples of the code and the build.xml?
Tim
-Original Message-
From: Jeremy Pulcifer [mailto:[EMAIL PROTECTED]
Sent: Wed 13/08/2003 20:32
To: [EMAIL PROTECTED]
Cc:
Subject: [Xdoclet-user] Servlets in JBoss/Jetty with xDocl
Well I would use it like this...
import TicketEntity;
/**
* Other tags
*
* @ejb.ejb-ref ejb-name="DemoAppointmentDataBean"
* view-type="local"
*/
class OrderTicket {
...
TicketEntity _entity;
_entity = TicketEntity.getLocalHome();
. ..
}
In the example I was thinking of that the Ticket Entity bean was a
seperate class.
-Original Message-
From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED]
Sent: Wed 13/08/2003 08:01
To: [EMAIL PROTECTED]
Cc:
Subject:Re: [Xdoclet-user] What's the need of @ejb.ejb-ref
I am also new to all this...
I think your generation problem is the same on I had when I fist started. Are you sure
you have the source dir correct?
Mine is set like this:
where the .java files are in ./testXdoc/ (rela
Hi all,
I have an entity bean with the following tags
/**
* @ejb.bean type="CMP"
* description="Keeps the next valid key for all
DBs used"
* cmp-version="2.x"
* name="DemoDBKeyBean"
*
Hi all.
Problem sorted, if anyone has had this problem all I needed was the @web.ejb-local-ref
tag.
I had the "name" and the "link" values the wrong way round!
Thanks for the help,
Tim
<>
Hi guys
I am still having a problem with using the local interfaces to my simple demo bean. I
know this is an easy task but I can work it out and have looked around for quite a bit
now.
I have an .ear file with a .war and a .jar file.
The .jar file has an entity bean and a session bean. The s
Thanks for the resply, can I just clear somthing up.
I am using this on a servlet (in a seperate .war). Will @ejb.ejb-external-ref add to
the necassary elements to the web.xml and jboss-web.xml file? I am still having
trouble.
Cheers
Tim
-Original Message-
From: Bryce Fischer [mail
Hi all,
Can someone tell me why there is a @web.ejb-local-ref but not a
@jboss.ejb-local-ref-jndi?
I have tried to use the local refs with in the @jboss.ejb-ref-jndi but this gives the
following error:
14:48:10,324 WARN [JettyService] Failed to parse descriptors for
war(file:/usr/local/jboss
I am new to all EJBs but this might be helpfull
http://www.javaworld.com/javaworld/javatips/jw-javatip110.html
-Original Message-
From: Jesper Linvald [mailto:[EMAIL PROTECTED]
Sent: Mon 28/07/2003 12:48
To: [EMAIL PROTECTED]
Cc:
Subject:[Xdoclet-user] Eventhandling -
Thanks that fixed it!
-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED]
Sent: Mon 21/07/2003 23:36
To: [EMAIL PROTECTED]
Cc:
Subject:Re: [Xdoclet-user] Real simple and stupid question!
On Mon, 2003-07-21 at 15:52, COCKLE Timothy wrote:
> I am s
Hi all,
I am sure someone can help with this!
I am just want to get a real simlpe "hello world" EJB session bean going I have
written the bean code:
package testXdoc;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
/**
* @ejb.bean type="Stateless"
*
30 matches
Mail list logo