quality@glassfish.java.net

Re: problem with ejb3.1?

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Mon, 03 Nov 2008 07:47:12 -0800

Survivant 00 wrote:
> need to install the ejb module. Use the update tool.
>
> This ejb container only works for EJBs inside a Web app, not via ejb
> modules. It does not support remote, stateful of MDB beans.
It is a preview and not the focus for NetBeans 6.5.

Please, put your local ejbs inside the web app src area. (Use the Class
wizard, and add your ejb annotations.)

Ludo
>
>
> 2008/11/3 Wim Verreycken <wim_at_pizzastop.be <mailto:wim_at_pizzastop.be>>
>
> Hi everyone,
>
>
>
>
>
> I am trying to create an EJB project using Netbeans 6.5RC2 and gf
> v3 prelude b28c.
>
> Just trying new project, EJB Module, then created a stateless
> session bean.
>
> Then created a web project which uses the session bean.
>
> But the @EJB annotation is not recognized.
>
> It seems like the Glassfish V3 server library doesn't include
> javax.ejb ?
>
>
>
> Is this normal/known?
>
>
>
> wim
>
>