aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Session bean extending other session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "Session bean extending other session bean" Watch "Session bean extending other session bean" New topic
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!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Session bean extending other session bean
 
Similar Threads
entity & session bean
Call Entity Beans
Maintaining form data across pages...
SF Session bean threading
two processes in one ejb