| Author |
MDB's superclass as MDB - allowed or not?
|
Piotr Nowicki
Ranch Hand
Joined: Jul 13, 2010
Posts: 610
|
|
Howdy Ranchers!
Quick question - can a MDB have a superclass which is another MDB? I'm a bit confused after reading this:
EJB 3.1 spec, p. 151, 5.6.2 wrote:A message-driven bean class must not have a superclass that is itself a message-driven bean class.
EJB 3.1 spec, p. 151, 5.6.3 wrote:A message-driven bean class is permitted to have superclasses that are themselves message-driven bean classes.
So... can or can not? :-)
Thanks in advance!
Cheers.
|
OCP Java SE 6 Programmer, OCM Java SE 6 Developer, OCE Java EE 6 JSPSD, OCE Java EE 6 EJBD, OCE Java EE 6 JPAD, Spring 3.0 Core Professional.
|
 |
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
|
|
|
Can anyone clear this out? This is a kind of inconsistency.
|
SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
|
 |
 |
|
|
subject: MDB's superclass as MDB - allowed or not?
|
|
|