[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Can a single Component expose a mix of @Remotable and non-@Remotable Services?
Hi, Reading through the SCA-J Specifications, I was unable to be
sure as to whether a single Component can expose a mix of @Remotable and
non-@Remotable Services. The specifications do not say that you cannot so I
presume this is allowed but I thought I would check to be sure. So for an example, suppose we have: public interface
MyLocalService { void
aLocalMethod(); } @Remotable public interface
MyRemoteService { void
aRemoteMethod(); } @Service(interfaces = {MyLocalService.class,
MyRemoteService.class}) public class MyServiceImpl
implements MyLocalService, MyRemoteService { public void
aLocalMethod() {
// ... } public void
aRemoteMethod() {
// ... } } Is the above valid? Thanks, Mark Mark Combellack| Software Developer| Avaya | |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]