Re: EJB Issue

Sam <[email protected]> Thu, 11 May 2006 13:09:17 -0700
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
> Can we deploy  an EJB without extending the Caucho Specific classes. (We are
> trying to deploy our app on Resin, the com.caucho.ejb.AbstractSessionBean
> class extends java.lang.Object as well and this is creating problems while
> deploying). is there any way to circumvent this ??

It is not a requirement that your bean extends
AbstractSessionBean.  The requirement (for EJB's prior to EJB
3.0) is that your ejb implement javax.ejb.SessionBean.

For new develpoment, you may be interested in looking at ejb 3,
http://www.caucho.com/resin-3.0/ejb3/index.xtp
which uses annotations, and requires less dependencies and less
configuration than EJB 2.1.

-- Sam