IBM WEBSPHERE APPLICATION SERVER, v. 6.0.2
1. install application: one ear file includes one ejb
module and web module
2. install application: one web module
I can access ejb module by web module, but can NOT by web module, (see below exception when narrowing TestEJBHome). Is it due to they locating in different applications???
If true, I can not share the ejb module in two web modules, can I? That means I should bind web module with it as one application once I want to access ejb module.
Then can I access ejb module from a different machine (by modifying the ip of url when creating InitialContext)?
The below is the detailed infomation, jsp
file and web.xml are same in web module and web module, and the two class files TestEJB & TestEJBHome are archived as a jar file located in web module's lib folder. ---web module--- jsp file: web.xml: ---ejb module--- ejb-jar.xml: Error log:
Anyone who knows it helps me please, thanks a lot! (Waiting in sweat...)