Is ejbCreate() method mandatory while defining a Session Bean?



Is ejbCreate() method mandatory while defining a Session Bean?..

Answer / Uttam Singh Kutiyal

The ejbCreate() method is not always mandatory when defining a Session Bean. However, it should be defined if any custom initialization or resource allocation needs to be performed upon the bean's creation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More EJB Interview Questions

how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.

3 Answers  


what is mean by port ? Please answer me. Advance thanks.

2 Answers   Excel,


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

1 Answers  


What is ejb 3?

1 Answers  


How can enterprise javabeans be accessed from active server pages?

1 Answers  


Can CMP manage BMP Transaction ? Entity Bean Life Cycle ?

1 Answers   IBM, SAP Labs, Sony,


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

1 Answers  


Differentiate “find a method” from “select method” in EJB ?

1 Answers  


Enlist the contents of Container.

1 Answers  


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

1 Answers  


In what format is the conversational data written to the disk?

1 Answers  


What is the purpose of a transaction monitor?

1 Answers  


Categories