> As I understand when I deploy an EJB then I can call
> him through JNDI.
> What happens if my client dies unexpectedly?
> Can I call the earlier created stateful EJB??
The SFSB is been removed on the server when it caused an unhandled runtime exception on the server or when it wasn't accessed for some time (timeout, maximum life time) or when remove is called on the SFSB.
If the client dies the session still exists. You can use the handle of a bean connect to the session whenever you like and the handle can be stored persistent somewhere.
> Does JBoss support JNDI replication?
Never heard about...
Can you give me a sample code showing how to call the SFSB using the handle?