1 Reply Latest reply on Feb 11, 2009 7:12 AM by Alan Nisbet

    Multiple Remote Interfaces

    Alan Nisbet Newbie

      Hi All,

      I'm developing an Application where it would be useful to have multiple remote interfaces for the same session bean

      we are using JBoss AS 4.2.2, JPA-Hibernate, Oracle

      Is it possible using this combination, must be JPA annotations, to define multiple remote interfaces.

      I know that I can define multiple classes in the @remote annotation, however the JBoss JMX Console, Global JNDI Namespace only ever shows the first remote interface that I defined.

      My lookups are always of the form [MyApp/MyBean/remote] which seems to suggest that I cannot lookup more than one remote interface in any case.

      I think it may be possible to achieve this using RemoteBinding(s) annotations, however they are JBoss specific!

      Any help is appreciated

      Alan.