RE: [Xdoclet-user] CDATA not used in jbosscmp-jdbc.xml

2004-06-25 Thread COCKLE Timothy
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

RE: [Xdoclet-user] pk of value object added to CMR collection

2004-02-26 Thread COCKLE Timothy
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

RE: [Xdoclet-user] JSP/EJB Newbie Question

2004-01-28 Thread COCKLE Timothy
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

RE: [Xdoclet-user] how to stop in web.xml

2004-01-22 Thread COCKLE Timothy
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

[Xdoclet-user] how to stop in web.xml

2004-01-22 Thread COCKLE Timothy
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

RE: [Xdoclet-user] @ejb.select problems with JBoss

2004-01-15 Thread COCKLE Timothy
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

RE: [Xdoclet-user] ejbSelect

2003-11-29 Thread COCKLE Timothy
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

RE: [Xdoclet-user] ejbSelect

2003-11-29 Thread COCKLE Timothy
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 {

RE: [Xdoclet-user] session bean & value objects

2003-11-18 Thread COCKLE Timothy
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

RE: [Xdoclet-user] can anyone help me?

2003-11-18 Thread COCKLE Timothy
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

RE: [Xdoclet-user] XDoclet and EJB with CMR -- Newbie

2003-11-07 Thread COCKLE Timothy
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

RE: [Xdoclet-user] prefered way to call 1 EJB from another EJB?

2003-09-26 Thread COCKLE Timothy
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

RE: [Xdoclet-user] Util generation

2003-08-22 Thread COCKLE Timothy
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

RE: [Xdoclet-user] What's the need of @ejb.ejb-ref

2003-08-14 Thread COCKLE Timothy
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:

RE: [Xdoclet-user] web.xml missing servlet information

2003-08-14 Thread COCKLE Timothy
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

RE: [Xdoclet-user] seeking for your assistante

2003-08-14 Thread COCKLE Timothy
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

RE: [Xdoclet-user] ejb-jar naming convention

2003-08-14 Thread COCKLE Timothy
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

[Xdoclet-user] Quick and simple to them that know...

2003-08-14 Thread COCKLE Timothy
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" *

RE: [Xdoclet-user] Servlets in JBoss/Jetty with xDoclet. How to???!!!

2003-08-14 Thread COCKLE Timothy
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

RE: [Xdoclet-user] What's the need of @ejb.ejb-ref

2003-08-14 Thread COCKLE Timothy
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(); . .. }

RE: [Xdoclet-user] What's the need of @ejb.ejb-ref

2003-08-14 Thread COCKLE Timothy
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

RE: [Xdoclet-user] ejb-jar naming convention

2003-08-06 Thread COCKLE Timothy
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

[Xdoclet-user] Bug or Feature on @ejb.bean view-type="local"

2003-08-05 Thread COCKLE Timothy
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" *

[Xdoclet-user] FIXED RE: @web.ejb-local-ref and @jboss.ejb-ref-jndi

2003-07-29 Thread COCKLE Timothy
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 <>

RE: [Xdoclet-user] RE: @web.ejb-local-ref and @jboss.ejb-ref-jndi

2003-07-29 Thread COCKLE Timothy
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

RE: [Xdoclet-user] RE: @web.ejb-local-ref and @jboss.ejb-ref-jndi

2003-07-28 Thread COCKLE Timothy
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

[Xdoclet-user] @web.ejb-local-ref and @jboss.ejb-ref-jndi

2003-07-28 Thread COCKLE Timothy
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

RE: [Xdoclet-user] Eventhandling - notification

2003-07-28 Thread COCKLE Timothy
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 -

RE: [Xdoclet-user] Real simple and stupid question!

2003-07-22 Thread COCKLE Timothy
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

[Xdoclet-user] Real simple and stupid question!

2003-07-21 Thread COCKLE Timothy
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" *