0 Replies Latest reply on Oct 2, 2005 7:22 PM by Varun Lath

    Does it necessary to Import remote interface at the client s

    Varun Lath Newbie

      I am using jboss-4.0.3RC1 with Spring and Hibernate .

      My remote interface looks like this

      public interface PersonService extends IPersonService {


      My client program looks like

      InitialContext ctx = new javax.naming.InitialContext(properties);
      IPersonService service = (IPersonService) ctx.lookup(

      This code works fine if I import Remote Interface 'PatientService' at the client program but i don't want to import remote interface because Remote interface is extending IPersonService which is available at the client side . I am getting an exception Class not found PatientService

      This program works fine with Oracle application server without including the Remote interface at the client side.

      Does it mandatory in Jboss Server to import Remote Interface even if Remote Interface is extending a class which is already present at the client side .

      Any suggestions , any help ??

      Many Thanks