Am new to IBM Websphere. Am trying to port my Java EE product which was working on Weblogic to Websphere.
While going through Websphere documentation, I found something called createEJBstubs.bat/sh.
createEJBstub command usage instruction in IBM site
In weblogic, I have done ejb lookup by creating InitialContext and passing JNDI name to the lookup method to get the remote interface instance and use it to call the ejb methods.
Also, whenever a different application needs to call our ejb, they just add our ejb client jar in their pom dependency. Client jar is generated and installed to our local repository using maven-ejb-plugin
by setting <generateClient>true</generateClient>
configuration option.
Could you please explain me what is the use of createEJBstubs?
How is this related to deployment of ear?
Do we need to generate the stub jar and packaged along with ear before deployment?