Yes, i'll try to use, but the ejb with annotation gives me a nullpointer exception. i've to call the ejb using the old style jndi call.
On Fri, Apr 10, 2009 at 15:25, Lukasz Lenart <lukasz.len...@googlemail.com> wrote: > 2009/4/10 Stefano <elste...@gmail.com>: >> in struts1 what's the way to use EJB3.0? >> >> there's no possibility to use annotation? >> i need to use classical jndi? why? > > You can use annotations with Struts1, is not a problem with framework > but with Java platform you're using. THe best solution is to use > Spring to connect Struts1 Actions with EJB3 beans. > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org