That s forbidden by the spec but tolerated by most of servers Le 2 avr. 2013 23:07, "Mark Struberg" <[email protected]> a écrit :
> here's my take: > > @Stateless class can only be final (if any) if it has an explicit local > interface imo. It must _not_ be final if it only has a No-Interface View. > > @Stateful must not be final if it has a CDI scope (because in that case > CDI proxying rules apply). > > > LieGrue, > strub > > > ----- Original Message ----- > > From: Romain Manni-Bucau <[email protected]> > > To: [email protected] > > Cc: > > Sent: Tuesday, April 2, 2013 9:02 PM > > Subject: Re: OPENEJB-1306 - EJB's cannot be declared final > > > > Hmm, pby a bad practisebut it should work (at least it works in other app > > servers) > > Le 2 avr. 2013 20:08, "David Salter" <[email protected]> a > > écrit : > > > >> Hi, > >> > >> I'm working on a patch for OPENEJB-1306 which I've almost got > > complete. I > >> just wanted to verify that the issue is that EJB3 beans, i.e. those > >> annotated with @Singleton, @Stateless or @Stateful cannot be declared > as > >> final. > >> > >> Thanks, > >> > >> Dave. > >> > >> > > >
