Home » Developer & Programmer » JDeveloper, Java & XML » Java Stored Procedure and Oracle Classpath
Java Stored Procedure and Oracle Classpath [message #91664] Fri, 03 January 2003 03:29 Go to next message
ez
Messages: 3
Registered: January 2003
Junior Member
Hi,
I'm attempting to call an ejb from a Java Stored Procedure. I've loaded the local client classes for the ejb into the an oracle schema using loadjava.

I get unresolved classpath errors - specifically;

Class javax.ejb.EJBObject not found in import.

Here's my code;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;
import javax.ejb.SessionContext;

public interface TestEngine_SL extends EJBObject
{
public int getValue() throws RemoteException;
}

How can I get the ejb and rmi objects into the classpath?
Thanks
E
Re: Java Stored Procedure and Oracle Classpath [message #91760 is a reply to message #91664] Thu, 06 February 2003 05:24 Go to previous messageGo to next message
df
Messages: 2
Registered: February 2003
Junior Member
You need to include j2ee.jar in your classpath.
Its located in %J2EE_HOME%lib
Re: Java Stored Procedure and Oracle Classpath [message #92742 is a reply to message #91760] Mon, 03 January 2005 08:00 Go to previous message
Andres
Messages: 7
Registered: April 2002
Junior Member
is it really possible to call an EJB from a java stored procedure? the EJB has to be jvm1.3 compatible, right?
Previous Topic: material on oracle & Xml
Next Topic: Subscribe Java .jar file in Oracle db
Goto Forum:
  


Current Time: Fri Mar 29 03:39:11 CDT 2024