• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI/IIOP Problem

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello ranchers,
plz help to me to get out of this mysterious problem

: Getting Warning on Jboss Server
Bean : projecttracking.PtBean
Method : public abstract PtRemote create() throws CreateException, RemoteException
Section: 7.10.6
Warning: The method return values in the home interface must be of valid types for RMI/IIOP.

My Code :
//BEAN
import javax.ejb.*;
public class PtBean extends HND_Pt implements SessionBean{

private SessionContext ctx;
public void setSessionContext( SessionContext ctx){
this.ctx = ctx;
} // end of method
public void ejbCreate() throws CreateException{
} // end of method
public void ejbActivate(){
} // end of method
public void ejbPassivate(){
} // end of method
public void ejbRemove(){
} // end of method

}// end of class
// HOME
import javax.ejb.*;
import java.rmi.*;

public interface PtHome extends EJBHome{
public PtRemotecreate() throws CreateException ,RemoteException;
}
// REMOTE
import java.io.*;
import javax.ejb.*;
import java.rmi.*;
import com.dev.api_projecttracking.vo.*;
public interface PtRemote extends EJBObject{
........
.....
}

thanks in advance

keviv
 
reply
    Bookmark Topic Watch Topic
  • New Topic