Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem in executing a Java Bean Program in Edit Plus

843829Dec 3 2002 — edited Dec 3 2002
Hi ,
I am facing problem when i try to compile the bean programs.

When i compile this program "remote1.java" in EditPlus 2.11

import javax.ejb.*;
import java.rmi.*;

public interface remote1 extends EJBObject
{
public void setMoney(int i) throws RemoteException;
public int getMoney() throws RemoteException;
}

I get the following error

------------- JavaCompiler----------------------
c:\remote1.java:1: package javax.ejb does not exist
import javax.ejb.*;
^
C:\remote1.java:4: cannot resolve symbol
Sumbol : class EJBObject
Location : interface remote1
Public interface remote1 extends EJBObject


Eventhough i set path=%path%C:\j2sdkee1.4\lib\system_apps\timer_ear__dir\ejb.jar


Pls help me to solve the problem.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2002
Added on Dec 3 2002
2 comments
196 views