Hello there,
I am new to
EJB and I am trying out Local home and component interfaces. According to the book that I have read, for one EJB, you can expose both local and remote home/component interfaces. Does this mean we would only have one JNDI for this EJB? Whether the local or remote interfaces will be used, will depend if you narrow or downcast? (Please see below code)
But when I do the second one (ordinary type cast) from another EJB to get my bean's local home, I encounter a ClassCastException?
Thank you for your help.
J.M.
SCJP2