Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WSAD 5.0 - IBM Universal Test Client - Error

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hello,

I'm getting following error in Universal Test Client in WSAD 5.0. I really appreciate any help why I'm getting this error.

Results from helloworld.ejb.HelloWorldSession.setFirstName()

Unresolved compilation problem: Class must implement the inherited abstract method helloworld.ejb.HelloWorldSession.setFirstName(int, String)

java.lang.Error: Unresolved compilation problem:
Class must implement the inherited abstract method helloworld.ejb.HelloWorldSession.setFirstName(int, String)


This method is implemented in HelloWorldSessionBean.java

package helloworld.ejb;

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


public class HelloWorldSessionBean implements javax.ejb.SessionBean {
private javax.ejb.SessionContext mySessionCtx;
protected HelloWorldEntity helloWorldEntity = null;

public void setFirstName(int id, String firstName) {
helloWorldEntity = getHelloWorldEntity(id);
try {
helloWorldEntity.setFirstName(firstName);
} catch (RemoteException e) {
System.err.println("Cannot set the first name with the id=" + id);
}
}

}
 
Double-check to see if the method has been promoted to the appropriate interface (remote or local?). Also try to re-generate EJB classes and redeploy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top