on 01-10-2007 9:13 PM
Hi everyone,
I want my java class to call an EJB.
I created an EJB and deployed it on my J2EE server.
I now want to call that EJB.
I created a Context and looked up that EJB...but it doesn't work.
The exception occurs when I try to get the Home object using the narrow method.
Any idea is welcome.
Thanks,
Regards.
Hi,
have you created jndi name for that bean in ejb-j2ee-engine.xml.
other wise it will take the jndi name as sap.co/youEAR/Bean name.
check the jndi name once in visual administrator.
ithink you have created the properties object and give that as a parameter to initial context.
regards,
null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.