[jboss-user] [Snowdrop] - Exposing Spring Beans as EJBs

Philippe Marschall do-not-reply at jboss.com
Mon Oct 31 05:31:25 EDT 2011


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&containerType=14&container=2082]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111031/764c849f/attachment-0001.html 


More information about the jboss-user mailing list