users@glassfish.java.net

Re: deploy a ejb component and a web application without using EAR application

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Feb 2009 10:48:19 PST

Thank you Sahoo,

I did find the JNDI correctly this time with the option Application-Server/JNDI-Browsing.

Below is the listing from the server.
How do I have to declare the EJB in the web application ?
I need to use the DbPedidoPreventaRemote.

Jndi Entries Root (server)
com.mobilges.server.sales.comm.DbUsuarioRemote
com.mobilges.server.sales.comm.DbPedidoPreventaRemote__3_x_Internal_RemoteBusinessHome__
com.mobilges.server.sales.comm.DbInventarioSKURemote__3_x_Internal_RemoteBusinessHome__
jdbc
com.mobilges.server.sales.comm.DbInventarioMaestroUPCRemote#com.mobilges.server.sales.comm.DbInventarioMaestroUPCRemote
com.mobilges.server.sales.comm.DbInventarioPreciosRemote__3_x_Internal_RemoteBusinessHome__
com.mobilges.server.sales.comm.DbInventarioMaestroUPCRemote__3_x_Internal_RemoteBusinessHome__
com.mobilges.server.sales.comm.DbInventarioSKURemote
UserTransaction
com.mobilges.server.sales.comm.DbClienteRemote#com.mobilges.server.sales.comm.DbClienteRemote
com.mobilges.server.sales.comm.DbUsuarioRemote#com.mobilges.server.sales.comm.DbUsuarioRemote
com.mobilges.server.sales.comm.DbInventarioMaestroUPCRemote
com.mobilges.server.sales.comm.DbInventarioPreciosRemote#com.mobilges.server.sales.comm.DbInventarioPreciosRemote
com.mobilges.server.sales.comm.DbUsuarioRemote__3_x_Internal_RemoteBusinessHome__
com.mobilges.server.sales.comm.DbInventarioPreciosRemote
com.mobilges.server.sales.comm.DbClienteRemote
com.mobilges.server.sales.comm.DbInventarioSKURemote#com.mobilges.server.sales.comm.DbInventarioSKURemote
ejb
com.mobilges.server.sales.comm.DbPedidoPreventaRemote
com.mobilges.server.sales.comm.DbPedidoPreventaRemote#com.mobilges.server.sales.comm.DbPedidoPreventaRemote
com.mobilges.server.sales.comm.DbClienteRemote__3_x_Internal_RemoteBusinessHome__
[Message sent by forum member 'antoniojsg' (antoniojsg)]

http://forums.java.net/jive/thread.jspa?messageID=333617