Philippe Marschall [
http://community.jboss.org/people/pmm] created the discussion
"Exposing Spring Beans as EJBs"
To view the discussion, visit:
http://community.jboss.org/message/634217#634217
--------------------------------------------------------------
My understanding is that currently if you want to expose a Spring bean as an EJB you have
to implement a wrapper EJB that delegates to the Spring bean (you can use
SpringLifecycleInterceptor and @Spring to wire the Spring bean). I was wondering whether
it would be possible to use a solution similar to Spring remoting to expose Spring beans
as EJBs.
<bean class="o.j.StatelessSessionBeanExporter">
<property name="service" ref="accountService"/>
<property name="remoteInterface"
value="example.AccountService"/>
<property name="remoteBinding" value="ejb/AccountService"/>
</bean>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/634217#634217]
Start a new discussion in Snowdrop at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]