First, EJBs and WebServices are not exclusive alternatives, but in fact they can very well be created to create EJBs and provide them with both IIOP interfaces and web services.
So there are two questions here:
- What a good implementation technology for the reusable piece of business logic.
- What call style is used for part of the business logic? Considerations, for example, when is RMI / IIOP a good choice? When is SOAP / HTTP? When SOAP / JMS ... etc.
EJB3 EJB , , , - . ( , Spring.)
. , ().NET, Web Services . Java-, Logic "" JVM, EJB , -. RMI/IIOP - , - . Web- , interop, , , interop, , .