[Xdoclet-user] @ejb:create-method and @ejb:permission in home interface

2003-08-14 Thread kei takashima
Hi, I want to specify a permission on create method of session bean home interface. /** * @ejb:create-method view-type="both" * @ejb:permission unchecked = "yes" */ public void ejbCreate() { } If I specify these tags in my Session Bean class, XDoclet generate in ejb-jar.xml as I intend. Bu

Re: [Xdoclet-user] Maven plugin problem

2003-08-14 Thread Konstantin Priblouda
> Thanks for the suggestion. However when I run single > webdoclet goal > instead of running the reactor, > maven.xdoclet.webdoclet.force=false > option is recognized correctly. And I doubt this > attribute needs numeric > index since I use properties like > maven.xdoclet.webdoclet.mergeDir and >

Re: [Xdoclet-user] Maven plugin problem

2003-08-14 Thread Xavier Cho
2003-08-05 화 17:04, Konstantin Priblouda이(가) 씀: --- Xavier Cho <[EMAIL PROTECTED]> wrote: Do you specify those properties on reactor level, or on subprojects? How can I specify properties on reactor level? I've tried moving xdoclet properties from the subproject to the main one which have

RE: [Xdoclet-user] summary of 7 xdoclet-websphere bugs

2003-08-14 Thread Matthew Pryor
I'll try one more time just in case anyone is feeling helpful. Is there any change someone can email me the attachments that originally came with the post referenced below; a bunch of patched to WebSphere support Thanks, Matthew > -Original Message- > From: Matthew Pryor > Sent: Wednesda

RE: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread Harkness, David
Do you want the Remote/Local interfaces to extend your common interface? I think that's what you're asking about. http://www.xdoclet.org/tags/[EMAIL PROTECTED](0..1) Ex: @ejb.interface extends="unusual.dbapp.ejb.CommonRemoteInterface" local-extends="unusual.dbapp.ejb.CommonLocalInterface"

RE: [Xdoclet-user] Please help...

2003-08-14 Thread Alex Shneyderman
There is a bit of a problem though with the situation. So now I have my model classes that I am generating my forms from. I want to put @struts.form-field and my @struts.validator as comments in those files. So that when my forms are generated I do not have to manually Input the @struts.validator t

[Xdoclet-user] design advice needed on Xdoclet generated multi-part primary key

2003-08-14 Thread Philipp W. Kutter
Hi, All. When I started with Xdoclet, I was most impressed by the way it generated a PK class, when I have declared 2 fields as primary key, and did let it generate the PK class. I have two classes C1, C2 with String as pk, and one class C3, with relations to each of the other ones. Its C1 1:n

Re: [Xdoclet-user] XDoclet support for orion/OC4J

2003-08-14 Thread Jose Gonzalez Gomez
I've been doing that in the meanwhile, and it seems that in the main template (orion.xdt) there is *no support* for relationship fields:

Re: [Xdoclet-user] One-to-Many CMR

2003-08-14 Thread Milen Dyankov
Rupp, Heiko wrote: Have a look at http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1) Yes I have read that. I have tried "target-multiple" attribute but XDoclet seems to ignore it. and the valueobject docment http://xdoclet.sourceforge.net/valueobjects.html Well, I don't see why should I

Re: [Xdoclet-user] capitalize text in .xdt

2003-08-14 Thread Brian Buckley
Isn't for use when a getter method already exists in one's source code? In my case there are no existing getter or setter methods in the source. I am attempting to create a brand new class that just holds the parameter values needed by the static method and I want the class to have getter/setter

[Xdoclet-user] Add relation or persistent member accessor to the public interface

2003-08-14 Thread Jean-philippe VIGNIEL
Hi everybody I would like to add automaticaly all accessors of an entity bean to its local interface but i don't know how to do that. In fact i don't understand why it is not the default behavior of the xdoclet generation. Thanks for your help Jean-Philippe -

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] Relations : ValueObject or EJB Interface ?

2003-08-14 Thread Shane Griggs
With a remote Entity call you have the overhead of high network traffic - serialisation, intercall ops etc... each call to an exposed method call, via the interface, incurs this overhead... Its an expensive way of gaining access to entity information - a unfortunate shortfall of using remote entiti

[Xdoclet-user] capitalize text in .xdt

2003-08-14 Thread Brian Buckley
Hello, I am attempting to use XDoclet to generate some javabeans from static methods. I am an XDoclet newbie and I am just learning the .xdt language. How can one capitalize a word in order to construct getters and setters? For example, if the static method is public class Functions{ ... stati

RE: [Xdoclet-user] capitalize text in .xdt

2003-08-14 Thread Rupp, Heiko
> Isn't for use when a getter method > already exists in one's source code? You might be right, as I was running this on some value objects. Sorry. But I remember that I wanted to write some 'toUpper' etc. functions for xdoclet - so yes, I ran into a similar problem to yours. Heiko -- Heiko

[Xdoclet-user] stateful session bean

2003-08-14 Thread Melanie Roming
Hi, I have a question about stateful session beans. I wrote a stateful session bean, and the only differences between this bean and my stateless beans are the Xdoclet tag type="Stateful" and the ejbCreate Method, which has a parameter. Xdoclet creates among other things the following Methods:

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

2003-08-14 Thread Bruyn, Bill
Sent this once already, but I'm not sure it went thorugh. My apologies if we end up with a duplicate. Bill > -Original Message- > From: Bruyn, Bill > Sent: Tuesday, August 12, 2003 11:17 AM > To: '[EMAIL PROTECTED]' > Subject: web.xml missing servlet information > > I'

RE: [Xdoclet-user] Xdoclet To-do list generation example ?

2003-08-14 Thread Ben Sommerville
The build.force.docs is just a true/false property that we set at a higher level to say whether the doc generation should be forced (I think that docs won't be generated if their creation time is later than the files modification time) Do you get any files generated at all? (eg a all-class.html

Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ?

2003-08-14 Thread Eric Chow
So you means that it doesn't matter to use ValueObject or interface if using Local Interface, right? If used Remote Interface, it's better to use ValueObject. Eric - Original Message - From: "Shane Griggs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 11:34

Re: [Xdoclet-user] Newbie questions

2003-08-14 Thread Andy Jefferson
On Tuesday 12 Aug 2003 20:40, Mauricio De Diana wrote: > Hi all. > > I have 3 questions: > > - First of all, how can I search through Xdoclet > archives? I found > the archives in sourceforge, but I couldn´t find any > search tool. I´m pretty sure that the next questions > had already been answered

Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ?

2003-08-14 Thread Brian Wallis
On Tue, 12 Aug 2003 19:27, Shane Griggs wrote: > you are effectively correct... But > - Original Message - > From: Eric Chow <[EMAIL PROTECTED]> > Date: Tuesday, August 12, 2003 4:46 pm > Subject: Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ? > > > So you means that it

Re: [Xdoclet-user] Add relation or persistent member accessor tothe public interface

2003-08-14 Thread Jean-philippe VIGNIEL
Thanks for your answer. I think i've not correcltly explained what i want to do. I would like to add persistent members accessors of an entity bean to its interface. I've already tried to add the ejb.interface-method to a persistent member definition, but it doesn't work. Indeed, if I write th

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

2003-08-14 Thread Bruyn, Bill
Nevermind. I got it. I feel kinda silly now, but the problem was just that I had my tags at the top of the file (i.e., before imports, etc.) rather than immediately preceding the class definition. My next experiment was going to be with tagging JSPs and generating mappings for them from precompi

[Xdoclet-user] Struts

2003-08-14 Thread Andre Selton
Hi, I want to use XDoclet to create struts-config.xml but it is not working. This is from my build.xml file : On my .java file I have the tags : /** * @struts.action *path="/myTestAction" * * @struts.action-forward *name="success" *path="/hello.js

RE: [Xdoclet-user] XDoclet support for orion/OC4J

2003-08-14 Thread Harkness, David
Often the docs are out-of-date with the tags in the templates. Check out the Orion .xdt template files to see which tags are really supported. I did this with WebLogic (search for WL-specific XML entities) to find some that weren't documented. There were some that weren't implemented, and it actual

Re: [Xdoclet-user] Xdoclet To-do list generation example ?

2003-08-14 Thread Marco Tedone
I receive this kind of WARNING where the ejbdoclet task is ran (to build EJBs) and: 1) The bean implementation class import references to interfaces and value objects which have to been created by XDoclet 2) The interfaces and values objects have not been created yet I resolve the problem by runn

[Xdoclet-user] XDoclet support for orion/OC4J

2003-08-14 Thread Jose Gonzalez Gomez
Hi there, I'm evaluating the use of xdoclet for a project intended to run on an OC4J server, using EJBs with CMP. I've been trying to create my first EJBs, but when I try to generate the orion-ejb-jar.xml I'm getting a lot of troubles. It seems that the support for orion/OC4J is very basi

[Xdoclet-user] Viyana`da BEDAVA 13.08.2003 21:09:53

2003-08-14 Thread Avrupa Egitim
Title: avrupaegitim.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://

[Xdoclet-user] merging DD-files

2003-08-14 Thread Juraj . Lenharcik
Hello, I am using three EJB-modules. Module A needs modules B and C. Each module can be deployed as an individual EJB on the container. For this issue each module generates a jboss.xml. But if modules B and C are used in module A, these generated jboss.xml files have to be merged. I am using t

Re: [Xdoclet-user] capitalize text in .xdt

2003-08-14 Thread Brian Buckley
Is there a way to use Java methods such String's 'toUpper' function, etc. within .xdt files? I find myself wanting to use JSP-like stuff in my .xdt files - scriptlets and JSLT tags - and but I see the samples don't seem to have any such constructs in them. Brian >>But I remember that I wanted t

[Xdoclet-user] merging DD-files

2003-08-14 Thread Juraj . Lenharcik
Hello, I am using three EJB-modules. Module A needs modules B and C. Each module can be deployed as an individual EJB on the container. For this issue each module generates a jboss.xml. But if modules B and C are used in module A, these generated jboss.xml files have to be merged. I am using t

[Xdoclet-user] auto-increment, primary keys, column names confusion

2003-08-14 Thread Hanson, Matthew
I have been able to deploy the following CMR2.0 bean (and "many-related" beans) to jboss 3.2.1 with hypersonic db using xdoclet 1.2-beta3. However, similar to an unanswered earlier post, the combination of xdoclet tags that I had to use was derived almost from pure luck. The various tags for both

[Xdoclet-user] Base directory

2003-08-14 Thread NEUS tmp
    Hello folks...       I've defined my own task in ant and the template use a handler of mine;     How can I access the tag's value:        inside my handler??? Can I do that? I'd like to have this directory and the base ant directory.     Thanks                 description

[Xdoclet-user] Correct tags for extending Stateless Session Beans

2003-08-14 Thread Fenderbosch, Eric
I've looked at the samples and can't seem to figure out the correct tags to make sure I get all of the necessary classes generated. Basically, I have a generic EJB which other EJBs extend. I assume the sub-class remotes should extend the super-remote. Each home can probably be unique, no super

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

2003-08-14 Thread [EMAIL PROTECTED]
I am not sure about the web-client.xml file. With web.xml though, for my merge files I use "servlets.xml" and "servlet-mappings.xml" for servlets. Thanks. --- Jeremy Pulcifer <[EMAIL PROTECTED]> wrote: > Hello, I've a project I'm working on, and have been > very happy with xDoclet for handling t

Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ?

2003-08-14 Thread Konstantin Priblouda
´ > What's the benefit in using ValueObject? Is it > better to return ValueObject > other than the EJB's interface ??? > If you have remote access, it's better to transfer serializable bean through the wire - if you give interface every getter call will be remote call. This could be big perfor

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

2003-08-14 Thread Bruyn, Bill
Thanks, Timothy. I didn't think that was it - like I said, it appears to be finding and parsing the servlet, because I can make it fail by removing the blank line from the end of the file: [webdoclet] Error parsing File C:\documents and settings\012909.amer\my projects\randa\build\web\WEB-INF\c

Re: [Xdoclet-user] One-to-Many CMR

2003-08-14 Thread Milen Dyankov
Andy, thanks a lot for opening my eyes. I'm new to XDoclet and I'm still learning it. Stupid me, should have thought of that. It's so obvious. 10x again. Milen Andy Jefferson wrote: Is it possible to define one-to-many CMR using XDoclet. Yes, as the other responder said. I have dictionary bean:

RE: [Xdoclet-user] One-to-Many CMR

2003-08-14 Thread Rupp, Heiko
> Is it possible to define one-to-many CMR using XDoclet. Yes. > (which in my opinion is correct). But how can I specify that I want > one-to-many. I could'n find the answer for that in XDoclet > documentation. Have a look at http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1) and the

Re: [Xdoclet-user] ejb.data-object tag not working???

2003-08-14 Thread [EMAIL PROTECTED]
I found a solution. There is an undocumented "name" attribute under "@ejb.data-object" that I was able to set to "ExampleData" that enabled the correct generation of the signature on the "getData()" method. * @ejb.data-object * name="ExampleData" * class="test.interfaces.ExampleData" *

[Xdoclet-user] RE: [phxjug-java] FW: [JBoss-user] OT: Precompile JSPs

2003-08-14 Thread Penny Martin
Suggestion from my coworker, Bob: Looks to me like Jasper isn't happy with the JSP script it's being asked to convert to Java. It might be worthwhile to try running Jasper from the command line first, to see if it's cool with the .jsp. If not, it might be easier to figure out the error message

Re: [Xdoclet-user] primkey-field

2003-08-14 Thread Milen Dyankov
Should have looked more carefuly in the docs for "primkey-field" attribute of @ejb.bean. Sorry for this stupid question. It is because of the heat I guess ... Milen --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including D

Re: [Xdoclet-user]

2003-08-14 Thread Brian Buckley
Thomas, thank you for checking this for me and confirming the tag does work.   I rechecked my xdt (I swear for the 50th time) and, yep, I just found a misplaced backslash.   All is now working.  Thanks again.       - Original Message - From: Kraft, Thomas (FF) To: '[EMAIL PR

RE: [Xdoclet-user] Add relation or persistent member accessor to the public interface

2003-08-14 Thread Harkness, David
Tag each method you want to appear in the local interface with @ejb.interface-method type="local" If you are only generating the local interface, you can drop the type attribute. There is no way to do this "automatically" that I know of. You have to tag the methods yourself. David Harkness Son

[Xdoclet-user] Newbie questions

2003-08-14 Thread Mauricio De Diana
Hi all. I have 3 questions: - First of all, how can I search through Xdoclet archives? I found the archives in sourceforge, but I couldn´t find any search tool. I´m pretty sure that the next questions had already been answered several times, but I couldn´t find them in the archives. - How do I g

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

2003-08-14 Thread Jeremy Pulcifer
Hello, I've a project I'm working on, and have been very happy with xDoclet for handling the code generation, packaging, and deployment of my EJB's and JSP's. However, I can't seem to figure out how to setup/configure xDoclet to prepare my servlets. I have a simple servlet that I'm using to test th

RE: [Xdoclet-user] Entity Beans, findByPrimaryKey andtransaction-type

2003-08-14 Thread Harkness, David
Andrew Stevens wrote > include a class-level @ejb.finder for findByPrimaryKey and set > its transaction-type parameter. I finally got around to trying this, and presto. Magic. Thanks Andrew! David Harkness Sony Pictures Digital Networks (310) 482-4756 -Original Message- From: Andrew St

AW: [Xdoclet-user]

2003-08-14 Thread Kraft, Thomas (FF)
Hello Brian,   I can't beleive this and i tried it out with my XDoclet. So I put the following code in my .xdt Template:   Test is equal! and then let it run. So it newer wrote "Test is equal!" because i newer user this tag (got it from a demo xdt) but it doesn't causes any error.   So fo

[Xdoclet-user] FOREIGN PARTNER NEEDED

2003-08-14 Thread ALFRED NGUBE
Dear Sir, Difficulties encountered in efforts to establish a business abroad necessitate this search for someone to assist me in securing and investing the sum of USD22,000.000 (twenty two million dollars)inherited from my father's business reserve. I am the heir of a Zimbabwean family.my fath

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

[Xdoclet-user] [ANN] The Jeeglue Framework is available

2003-08-14 Thread Nikolaus Rumm
Hello, I hope that this is the right place for it. If not, please excuse this announcement. At least it has something to do with XDoclet and hopefully it helps some community members. In a few words Jeeglue generates domain object model realizations (i.e. value objects, entity beans with XDoclet

[Xdoclet-user] web.xml missing servlet information

2003-08-14 Thread Bruyn, Bill
I've been unable to get anything out of my servlets into web.xml using the deploymentdescriptor subtask and my @web.servlet tags. The pathelement pointing to j2ee.jar (where the javax.servlet packages are located) is correct, and the servlet file is definitely being parsed (it wants to blow up wit

[Xdoclet-user] seeking for your assistante

2003-08-14 Thread MR.john kovo.
From:MR.john kovo. Tel :(+225)07-438-786 Abidjan Cote D'Ivoire. email: [EMAIL PROTECTED] Dearest one, Permit me to inform you of my desire of going into business relationship with you . I am MR.john kovo, The only son of late Mr and Mrs WILLIAM KOVO My father was a very wealthy GOLD and COCOA me

[Xdoclet-user] xdoclet - @hibernate-subclass howto

2003-08-14 Thread Russell Simpkins
How do you use xdoclet and for hibernate with a subclass? If i have class b that extends a, a and b have the same id. What do i have to put for xdoclet tags in a and in b i have in class a @hibernate-class table="a" in class b i have @hibernate-subclass the docs do not suggest more of a

[Xdoclet-user] xdoclet/jdodoclet : Fileset include/exclude

2003-08-14 Thread Andy Jefferson
In using jdodoclet, I need to specify a fileset to pass to jdodoclet. I'm using xdoclet through Maven and so the properties available to me are maven.xdoclet.jdodoclet.fileset.{no}.include maven.xdoclet.jdodoclet.fileset.{no}.exclude I have the following directory structure src/java/mydomain/Pr

[Xdoclet-user] Xdoclet To-do list generation example ?

2003-08-14 Thread Linus Nikander
Does anyone have a complete example of how to generate a javadoc style to-do list från all @todo comments in code ? Prefrebly runnable as a task through ANT. I know this is possible, just haven’t found a working version yet.   //linus Nikander –  

Re: [Xdoclet-user] Add relation or persistent member accessor tothe public interface

2003-08-14 Thread Andrew Stevens
On Wed, 2003-08-13 at 10:48, Jean-philippe VIGNIEL wrote: > i want to write > > class ABean{ > > /** > /* @ejb.persistence > /* > **/ > public abstract String getId(); >public abstract void setId(String id); > } > > and have as result > > interface A { > Strin

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

2003-08-14 Thread Jean-philippe VIGNIEL
Yes it is. My question was just to know if the following code without ejb-ref tag is wrong or not and (if possible) why. import TicketEntity; class OrderTicket { ...     TicketEntity _entity; ... } Jean-Philippe [EMAIL PROTECTED] wrote: In the example I was thinking of that the Ticke

[Xdoclet-user]

2003-08-14 Thread Brian Buckley
Hello,  When I attempt to use in an .xdt file I get a "TemplateException - Could not find method ifMethodTagValueEquals method in class xdoclet.tagshandler.MethodTagsHandler" error. This tag being used in a sample xdt file, and viewing the XDoclet javadocs the guilty method seems to be ther

[Xdoclet-user] Newbie questions

2003-08-14 Thread Mauricio De Diana
Hi all. - How can I search through Xdoclet archives? I found the archives in sourceforge, but I couldn´t find any search tool. I´m pretty sure that the next questions had already been answered several times, but I couldn´t find them in the archives. - How do I generate jbosscmp-jdbc.xml? - When

[Xdoclet-user] One-to-Many CMR

2003-08-14 Thread Milen Dyankov
Hi all, Is it possible to define one-to-many CMR using XDoclet. I have dictionary bean: =={JAVA CODE} /** * @ejb.bean * name = "Dictionary" * type = "CMP" * cmp-version = "2.x" * view-type = "local" * schema

[Xdoclet-user] ValueObjects performance issue

2003-08-14 Thread Ingo Bruell
Hi, i have some beans with cascaded relations and notice that querying this valueobjects is very slow. So my idea is to load the related valueobjects on demand (with a flag like demand="true") within the valueobject, is this possible (storing a reference to the beans remote interface or something

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

2003-08-14 Thread Jean-philippe VIGNIEL
Is your Ticket Entity bean a member of OrderTicket? What could appen if you don't use this tag and just add a member of type TicketEntity? Is it a wrong design? Jean-Philippe [EMAIL PROTECTED] wrote: I believe teh ejb-ref tag is to reference an EJB on the same application server. That is how I

Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ?

2003-08-14 Thread Shane Griggs
you are effectively correct... Best place to go about this stuff is the javasoft site and find the blueprint patterns stuff... this usually describes the reasons why and some good examples of how... - Original Message - From: Eric Chow <[EMAIL PROTECTED]> Date: Tuesday, August 12, 2003

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

[Xdoclet-user] Help! XDoclet says "No such EJB Defined"

2003-08-14 Thread Paulo Bengero
I'm running XDoclet and whenever I "make" my build.xml file using JBuilder 7, XDoclet always returns to me this error.This error started to bug me when I added this field ( @ejb.ejb-ref ejb-name="TenderConfigEJB" view-type="local" ) in my session bean(Session Facade Implementation).I want to genera

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

2003-08-14 Thread COCKLE Timothy
I am not sure on this one. I guess you would need to change the application server to look for the Sample-ejb-jar.xml and Sample-weblogic-ejb-jar.xml rather then the standard files. Rather then getting XDoclet to do it you could use ant to rename/move the files. However are you sure you want to

[Xdoclet-user] @jboss.subscriber MDB user/password

2003-08-14 Thread Hansen, Erik
Is there a good reason that @jboss.subscriber tags are not documented anywhere?     Other than the added knowledge of MDB's and JBoss I might have picked up in the several hours trying to get durable subscriptions to work...  

[Xdoclet-user] class information for classes not scanned as source

2003-08-14 Thread Matthew Pryor
I am using xdoclet 1.2b3 with jdk 1.4.1 on windows XP I realize this is probably more of an XJavadoc question but I have an XDT template that is trying to generate a proxy class, in there is an attempt to generate a proxy method for each method implemented by this class or any inherited methods.

[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] Relations : ValueObject or EJB Interface ?

2003-08-14 Thread Harkness, David
By using a value object, you also bypass the security and transactional checks that exist in the EJBLocalObject stub. This bit me last week as I assumed they were in a subclass of my bean. I don't think this buys you a ton of performance gain, but it is *something*. David Harkness Sony Pictures Di

Re: [Xdoclet-user] Add relation or persistent member accessor tothe public interface

2003-08-14 Thread Jean-philippe VIGNIEL
I'm not sure you've really understood my problem (i'm not sure it was clearly explained :)) Generating a method by adding the @ejb.interface works fine. On the other hand all methods tagged by @ejb.persistence or @ejb.relation are not added to the interfaces. I guess it's the default behavior

RE: [Xdoclet-user] using CMP field with EJBQL

2003-08-14 Thread Harkness, David
Hi Philipp, The problem is that bestFriend is *not* a CMP field but rather a CMR field. You need to code your finder query to use the WHERE clause to find the Gangster that is the best friend and then traverse the relationship to get the Gangsters you want in the first place. I'm making a few assu

RE: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread James Hicks
I would not use a session bean for each db. I would instead use a single stateless session bean that implements your interface. The ejbCreate method of your session bean could accept a parameter that determines which db to use. The actual db implementation could be a POJO. James Hicks -Ori

Re: [Xdoclet-user] Add relation or persistent member accessor to the public interface

2003-08-14 Thread Andy Jefferson
On Wednesday 13 Aug 2003 07:57, Jean-philippe VIGNIEL wrote: > Thanks for your answer. > I think i've not correcltly explained what i want to do. I would like to > add persistent members accessors of an entity bean to its interface. > > I've already tried to add the ejb.interface-method to a pers

Re: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread Konstantin Priblouda
--- Marco Tedone <[EMAIL PROTECTED]> wrote: > Hi, we are developing an unusual applicatoin, > basically centered on session > beans which manage database (not entity beans, > because the data to be > retrieved are dynamic). To make our application > multi-database compliant, > and following a patt

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] Using CMR field with EJBQL

2003-08-14 Thread Philipp W. Kutter
Hi, David. I'm spinning my wheels with a WebLogic 7 issue, and their searching facilities are sorely lacking, so it's nice to have a diversion that I can actually be successful with. :) Let me summarize the outcome: Correct is: java.util.Collection findUserByPhoneId(PhoneLocal phone) SELECT

RE: [Xdoclet-user] Newbie : J2EE classes error

2003-08-14 Thread Harkness, David
Here's how I do it. One thing I haven't been able to figure out is how to do the same thing for the and tasks. Since those tasks are already defined, I can't give them a new classpath to include ju

[Xdoclet-user] Test

2003-08-14 Thread ibruell
Hi, I am testing email delivery to this list, cause to yesterday send emails didn't arrive. best regards -- Ingo Bruell --- <[EMAIL PROTECTED]> OldenburgPGP-Fingerprint: 9DD0 1776 DF4D 5B16 A532 C2A1 4701 EEA2 Germany PGP-Public-Key available at pgpkeys.mit.edu --

Re: [Xdoclet-user] XDoclet is not developer-friendly enough

2003-08-14 Thread Konstantin Priblouda
--- ´Þ <[EMAIL PROTECTED]> wrote: > I recently start to use Hibernate+Ant+XDoclet. But > xdoclet seems not developer-fliendly enough. Often, > xdoclet generates nothing without complaints which > is difficult for me to figure out what the problem > is. Today when I use xdoclet task of ant to > aut

[Xdoclet-user] Who could be kindly enough to give an example ?

2003-08-14 Thread ´Þ
I'm so confused with hibernate tags of xdoclet. Who could give an example of @hibernate tags' usage in many-to-many scenario. For example, table A (id, name)and Table B(id, name), A maps many-to-many to B with another relation table R(A_id, B_id). So how do we express this kind of relationship w

Re: [Xdoclet-user] Entity Beans, findByPrimaryKey andtransaction-type

2003-08-14 Thread Andrew Stevens
On Sat, 2003-08-09 at 01:39, Harkness, David wrote: > If you specify a transaction-type class-level tag for an entity bean, it > applies the type to the findByPrimaryKey method. I'd like to have a > default type of "Mandatory", but I want all finders to have type > "Supports". > > Is there a metho

RE: [Xdoclet-user] capitalize text in .xdt

2003-08-14 Thread Rupp, Heiko
Hi, > > Hello, I am attempting to use XDoclet to generate some javabeans from > static methods. I am an XDoclet newbie and I am just > learning the .xdt > language. How can one capitalize a word in order to > construct getters and In the past I had success with () Hope that helps Heiko

[Xdoclet-user] newbie question

2003-08-14 Thread Jan Buczkowski
how to set manually (not generated from ) class name in ? thanks jasiu --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to

Re: [Xdoclet-user] Newbie questions

2003-08-14 Thread Bryce Fischer
> Hi all. > > - How can I search through Xdoclet archives? I found > the archives in sourceforge, but I couldn´t find any > search tool. I´m pretty sure that the next questions > had already been answered several times, but I > couldn´t find them in the archives. http://gmane.org > - How do I ge

[Xdoclet-user] Using CMR field with EJBQL

2003-08-14 Thread Philipp W. Kutter
Hi, David. I had a second look on your answer, and I think I can formulate my problem based on the code proposed by you: I would like to know why * @ejb.finder * signature = "java.util.Collection findPhoneOfUser(UserLocal user)" * query = "SELECT OBJECT(p) FROM phone p WHERE p.getUser

Re: [Xdoclet-user] stateful session bean

2003-08-14 Thread Melanie Roming
Thanx!! It works! Melanie On 13 Aug 2003, at 23:03, Andrew Stevens wrote: > On Tue, 2003-08-12 at 14:39, Melanie Roming wrote: > > I have a question about stateful session beans. > > I wrote a stateful session bean, and the only > > differences between this bean and my stateless beans > > are

[Xdoclet-user] ValueObjects performance issue

2003-08-14 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i have some beans with cascaded relations and notice that querying this valueobjects is very slow. So my idea is to load the related valueobjects on demand (with a flag like demand="true") within the valueobject, is this possible (storing a refere

RE: [Xdoclet-user] Xdoclet To-do list generation example ?

2003-08-14 Thread Ben Sommerville
This works for me You may need to add a classpath to the taskdef if xdoclet is not already in the ant classapath I believe the task defaults to looking for "todo". You can change this by set

RE: [Xdoclet-user] Xdoclet To-do list generation example ?

2003-08-14 Thread Linus Nikander
Thank you for the reply. The below runs just fine, but the generated HTML is empty, no todo-tags to be seen anywhere. Any clues as to why ? What does the "force="${build.force.docs}" parameter do ? Where is that supposed to point to ? And could you give me an example of a comment which you know

Re: [Xdoclet-user] @jboss.subscriber MDB user/password

2003-08-14 Thread Andrew Stevens
On Wed, 2003-08-13 at 14:30, Hansen, Erik wrote: > Is there a good reason that @jboss.subscriber tags are not documented > anywhere? Not that I know of. Please raise an issue (http://opensource.atlassian.com/projects/xdoclet/) for the JBoss or Documentation modules, so we don't forget it. Same g

Re: [Xdoclet-user] Using CMR field with EJBQL

2003-08-14 Thread Matthew Excell
Although this does not seem to be an XDoclet question - it seems more like an EJB-QL question. . . Have you tried: SELECT OBJECT(u) FROM User AS u WHERE u.phone = ?1 You don't use the name of the getter in EJB-QL, you use the name of field. (Even though the field doesn't exist directly in your

Re: [Xdoclet-user] XDoclet is not developer-friendly enough

2003-08-14 Thread Thys de Wet
Try running ant with a -debug option. This might give you a better idea of whats wrong .. ´Þ wrote: I recently start to use Hibernate+Ant+XDoclet. But xdoclet seems not developer-fliendly enough. Often, xdoclet generates nothing without complaints which is difficult for me to figure out what the

[Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread Marco Tedone
Hi, we are developing an unusual applicatoin, basically centered on session beans which manage database (not entity beans, because the data to be retrieved are dynamic). To make our application multi-database compliant, and following a pattern, we defined basically one Session bean for each used da

RE: [Xdoclet-user] One-to-Many CMR

2003-08-14 Thread Harkness, David
Others have already pointed out that yes you can do 1:N relationships and that you need to tag the Collection and FooLocal accessors. Here's a sample if you need further assistance. User (id) <-- 1:N --> Phone (userId) UserEJB.java___ /** *

RE: [Xdoclet-user] Please help...

2003-08-14 Thread Alex Shneyderman
One thing I noticed is that your ActionForm is not a ValidatorForm. This might be one thing to fix. > -Original Message- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED] On Behalf Of James Carman > Sent: Thursday, August 07, 2003 10:16 AM > To: [EMAIL PROTECTED] > Subjec

RE: [Xdoclet-user] Add relation or persistent member accessor to the public interface

2003-08-14 Thread Harkness, David
I think I understand what you're asking, and the answer is "no" -- @ejb.persistence has nothing to do with putting methods into your remote/local interfaces. It is used to tell the container what column to map the attribute to. Here's an example: /** * @ejb.interface-method * @ejb.transact

Re: [Xdoclet-user] How do I make ejb.dao interface generatefindByPrimaryKey method?

2003-08-14 Thread Andrew Stevens
On Sat, 2003-08-09 at 18:13, [EMAIL PROTECTED] wrote: > I have included the class level tag ejb.dao in my > source. > > * @ejb.dao > * class="test.dao.ExampleDAO" > * impl-jndi="dao/testDAO" > * @ejb.env-entry > *name="dao/testDAO" > *type="java.lang.String" > *value="test.d

  1   2   >