Hi Michael, Look at the jndi-lookup in the spring manual.
http://static.springsource.org/spring/docs/2.5.6/reference/ejb.html I have done this in the past, so will try to find some example code later - if required. I did find I couldn't use SLSB tag as it required a home interface that no longer exists in the spec. So that is why I opted for a jndi-lookup... James -----Original Message----- From: Michael Obster [mailto:mich...@obster.org] Sent: 25 September 2009 13:36 To: user@struts.apache.org Subject: How to connect a EJB3 project with struts2 Hi, I wanted to use Struts2 as frontend for an EJB3 application. After reading lots of documentation, I doesn't find out how I do that. I only have found a description how to inject a EJB bean into a Spring bean, but then I need to implement the Spring bean class in the client a second time, what I don't want. Formerly in older Struts1 applications I used a ServiceLocator to do a connect to the EJB3 beans, but I don't find any information if I can use this with Struts2. Can you tell me what I should do to connect EJB3 and Spring/Strusts2 so I have access to the facade of my EJB3 layer in my struts2 action. Kind regards, Michael Obster --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org ___________________________________________________________________ This email has been scanned by MessageLabs on behalf of weComm Ltd. ___________________________________________________________________ ___________________________________________________________________ This email has been scanned by MessageLabs on behalf of weComm Ltd. ___________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org