[jboss-user] [EJB 3.0] - Multiple Remote Interfaces

nizzy do-not-reply at jboss.com
Thu Feb 5 10:55:54 EST 2009


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207403#4207403

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207403



More information about the jboss-user mailing list