Salut,
----- Original Message -----
From: [EMAIL PROTECTED]
Date: Thursday, January 9, 2003 9:16 am
Subject: [Xdoclet-user] Local / Remote
> Hello,
> I would like to know if the following is a valid behaviour of XDoclet:
>
> I have an EJB with the following header:
> /**
> * @ejb.bean
> * name="Admin"
> * type="Stateless"
> * view-type="both"
This is inconsistent with what you want. Use view-type="remote"
> * jndi-name="ej * local-jndi-name="ejb/loca *
> transaction-type="Container"
> */
>
> and a method with:
> /**
> * @ejb:interface-method
> * view-type="both"
> */
>
> here is my ant task to invoke XDoclet:
> <taskdef
> name="ejbdoclet"
> classname="xdoclet.modules.ejb.EjbDocletTask"
> classpathref="base.path"
> />
>
> <ejbdoclet
> destdir="${build.generate.dir}"
> excludedtags="@version,@author"
> ejbspec="1.1"
> mergedir="${src.resources.dir}/xdoclet"
> force="${xdoclet.force}"
> >
> <fileset dir="${src.ejb.dir}">
> <include name="**/*Bean.java"/>
> </fileset>
>
> <remoteinterface/>
> <homeinterface/>
> <deploymentdescriptor destdir="${build.dir}/META-INF"/>
>
> <weblogic version="7"
> xmlencoding="UTF-8"
> datasource="${datasource.name}"
> destdir="${build.dir}/META-INF"
> validateXml="false"
> />
> </ejbdoclet>
> </target>
>
> the resulting weblogic-ejb-jar.xml file contains:
> ...
> <weblogic-enterprise-bean>
> <ejb-name>Admin</ejb-name>
> <stateless-session-descriptor>
> </stateless-session-descriptor>
> <reference-descriptor>
> </reference-descriptor>
> <jndi-name>ej
> <local-jndi-name>ejb/loca
> </weblogic-enterprise-bean>
> ...
>
> Though ejbspec="1.1" and I only ask to generate the remote and
> home interfaces,
> the "<local-jndi-name>ejb/loca" information
> is generated. Is it normal?
>
> I use XDoclet 1.2b2.
>
> Thanks in advance,
> Lo�c
>
>
>
>
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and
> immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not
> therefore be liable for the message if modified.
>
> ---------------------------------------------
>
> Ce message et toutes les pieces jointes (ci-apres le
> "message") sont etablis a l'intention exclusive de ses
> destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le detruire et d'en avertir
> immediatement l'expediteur. Toute utilisation de ce
> message non conforme a sa destination, toute diffusion
> ou toute publication, totale ou partielle, est interdite, sauf
> autorisation expresse. L'internet ne permettant pas
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce
> message, dans l'hypothese ou il aurait ete modifie.
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld omething 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user