I have an ejb(third party's) which is hosted in a remote server. Let us say i have only JNDI name with me, If i want to invoke this EJB which is deployed in remote server how can i get the Remote and Home stub interfaces while writing lookup code? How to communicate with that EJB Service provider to ask for this stub classes?
Just i am comparing EJB with WebServices, In WebServices if we have WSDL Url we can generate stub code by using Clientgen, but what to do for EJB stub code?
how can i get the Remote and Home stub interfaces while writing lookup code?
Like as shown above , you need to put your appropiate Remote Server's configuration here
I am not sure whetehr this will work or not , but still try .
Save India From Corruption - Anna Hazare.
Joined: Nov 15, 2004
My question was, how my client class knows these Home and Remote classes, how to import them and how to cast them if i dont have stub code with me?
Am i going to get these classes in terms of jars from service provider?