I am using jboss-4.0.3RC1 with Spring and Hibernate .
My remote interface looks like this
@Remote
public interface PersonService extends IPersonService {
}
My client program looks like
InitialContext ctx = new javax.naming.InitialContext(properties);
IPersonService service = (IPersonService) ctx.lookup(
"PatientService.class.getName()");
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
Varun