Hi all,
Im trying out few
EJB examples using WSAD. I have a statless session bean which takes 2 int values and returns the sum of the it on method invoke.. I was able to run my EJB on
Test Environment after creating the Application Client Module.. But when i tried to lookup the same jndi from a
java application its throws exceptions at runtime.. pls have look at the exp i got ...
Exception in thread "main" javax.naming.CommunicationException: Can't find Seria
lContextProvider
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:63)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
)
at javax.naming.InitialContext.lookup(Unknown Source)
at Client.main(Client.java:38)
This is my java code, with which i tried to invoke my EJB..
I tried to execute the java file after starting WSAD Test Environment.
Isnt it possible to invoke EJB like the way i tried ??
Thanks in advance,
Rajeev
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)