| Author |
Session bean extending other session bean
|
Amirr Rafique
Ranch Hand
Joined: Nov 14, 2005
Posts: 324
|
|
hello
can a session bean extend an other session beans ? I think only Entity bean can extend other Entity Beans.... please confirm
thanks
|
"Know where to find the solution and how to use it - that's the secret of success."
|
 |
Lee Kian Giap
Ranch Hand
Joined: Jan 23, 2008
Posts: 210
|
|
session bean cannot extends session bean
spec EJB Core 4.6.2
The session bean class may have superclasses and/or superinterfaces.
A session bean class MUST NOT have a superclass that is itself a session bean class.
|
SCJP 6, SCWCD 5, SCBCD 5
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
|
But just try that (One Session Bean extending another Session Bean) and to your surprise, you will see that JBoss allows that. I remember coming across such a situation once. But in any case, go by the Specs which are the Bible!
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
 |
|
|
subject: Session bean extending other session bean
|
|
|