[jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar
jaikiran
do-not-reply at jboss.com
Mon Jul 31 11:11:57 EDT 2006
The ejbCreate method will be called when the client invokes the create() method on the home interface. The lifecycle of the EJB is explained here:
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBConcepts9.html
As per the specs:
anonymous wrote : The session bean class must define one or more ejbCreate methods whose signatures must follow these rules:
| ? The method name must have ejbCreate as its prefix.
| ? The method must be declared as public.
| ? The method must not be declared as final or static.
| ? The return type must be void.
| ? The method arguments must be legal types for RMI/IIOP if there is a create corresponding
| to the ejbCreate method on the session bean?s remote home interface.
| ? A stateless session bean must define a single ejbCreate method, with no arguments.
| ? The throws clause may define arbitrary application exceptions, possibly including the javax.ejb.CreateException.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961905#3961905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961905
More information about the jboss-user
mailing list