This discussion is archived
0 Replies Latest reply: Mar 17, 2010 6:56 AM by 843844 RSS

EJB JNDI Stub utilization

843844 Newbie
Currently Being Moderated
Hi all,

i have a basic doubt on the EJB interaction between client and server by using RMI.
In the basic interaction scenario I see that we need 2 remote interfaces and 1 class (that implementation bean).
However If the client needs to have statically the interfaces and the stub alreadey in its classpath what we get from the JNDI lookup and the method "create()"
actually is a rude stream of bytes that we must deserialize/parse with the classes/schema we have already on the client side, right? I mean are the classes required on the client side for deserialization/parsing purpose?

thanks in advance,
Antonio