At 7:45 PM +0200 12/2/01, Katz, Guy wrote:
>hello all;
>in my J2EE application i have to develop a component which does not use any
>container services(no transactions,JDBC connections, etc...).
>in one of its functions i need to access an ejb.
>i have to figure out which is the best way to implement my component.
>if i decide on omplementing my component as a regular jar file. how can i
>access the EJB? is there a standard way of doing this? (i dont want to just
>put my component in the class path of the AS and access its JNDI tree cause
>this seems wrong, i am looking for the standard way and failed to locate it.
>any suggestions????
It sounds as though you will need to use RMI to access the bean remotely. You can
either write your code in an application client container or use an appropriate JNDI
SPI.
--
------------------------------------------------------------------------
Russell Gold | "... society is tradition and order
[EMAIL PROTECTED] | and reverence, not a series of cheap
| bargains between selfish interests."
http://www.httpunit.org | - Poul Anderson, "Iron"
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".