• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

RMI/IIOP Problem

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 :
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
import javax.ejb.*;
import java.rmi.*;

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

thanks in advance

Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic