This content has been marked as final.
Show 2 replies
-
1. Re: Why interface for EJB3 webservices?
monowai Mar 20, 2007 10:27 PM (in response to zauberlehrling)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. -
2. Re: Why interface for EJB3 webservices?
monowai Mar 20, 2007 10:29 PM (in response to zauberlehrling)"monowai" wrote:
...Deploying server side logic is a no-no in my book..
Should have read:
Deploying Service side logic to the Client!