[jboss-user] [JBossWS] - Re: Why interface for EJB3 webservices?

monowai do-not-reply at jboss.com
Tue Mar 20 22:27:54 EDT 2007


The interface is not strictly required under EJB3 and your question has nothing to do with Webserices per-se.  

The reason for a Remote Interface is just that - Remote (or client).  If you don't distribute a remote interface, then you have to distribute your EJB's.  Deploying server side logic is a no-no in my book.

So, to sum up, if you expect a remote client to use RMI to call your EJB's, then create and distribute a remote interface.

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

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



More information about the jboss-user mailing list