From: Marco M. <mmi...@gm...> - 2006-10-18 12:33:55
|
Hi Anthony, ok mine was just a sample.. i m sure it will work also with a remote, as long as, when you compile applicationB, jars for applicationA EJBs are in the classpath... give it a go to see if it works... i m 'quite' sure it will... regards marco On 10/18/06, Anthony Roy <ar...@hp...> wrote: > > Hello Marco, > > > > if i understand correctly, you want to access bean from > > application B, which is supposed to be in a different jar.. > > is that correct? then try tag below > > Almost. I want to access a bean *remotely* from application B which is > in a different ear. It's running on Jboss and Websphere (depending on > environment), and the applications are set up to run in different > classloaders/jvms so I can't (AFAIK) use the local interface. > > > * @ejb.ejb-external-ref > > * ejb-name="Contact" > > * view-type="local" > > * ref-name="ejb/ContactLocalHome" > > * type="Entity" > > * home="com.mm.ContactLocalHome" > > * business=" com.mm.ContactLocal" > > * > > * @jboss.ejb-local-ref > > * ref-name="ContactLocalHome" > > * > > jndi-name="commons/ejb/partners/contact/ContactLocalHome" > > > > > > HTH > > > > > > This email and any files transmitted with it are confidential and are > intended solely for the use of the individual or entity to whom they are > addressed. This communication represents the originator's personal views and > opinions, which do not necessarily reflect those of HPI Limited. If you are > not the original recipient or the person responsible for delivering the > email to the intended recipient, be advised that you have received this > email in error, and that any use, dissemination, forwarding, printing, or > copying of this email is strictly prohibited. If you received this email in > error, please immediately notify pos...@hp...is message has > been scanned by Anti-Virus. Recipients are advised to apply their own virus > checks to this message on delivery. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > xdoclet-user mailing list > xdo...@li... > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > |