EJB help guys

Hello Java Gurus,

i have some questions, please some help :)

1. What is the difference between ejbCreate() found in the Bean class & the create() method found in the Home object. (Is there a difference in functionality ? )

2. I hear some developers say the "EJB class", do they mean the Bean class ?

3. SessionContext , can we use it to get & set attributes as the regular Session object that we create in a servlet or in a jsp ? Or is there a difference

Thanks in advance :)

[524 byte] By [basharfa] at [2007-11-26 16:38:54]
# 1
please if you know any of the questions please dont hesitate answering
basharfa at 2007-7-8 23:05:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

A create() method is invoked on the EJB home stub,which communicates the method to the EJB home.

The create() and ejbCreate() methods pair are responsible for initializing the bean instance so that the container can insert a record into the database. In the case of the ShipBean, the minimal information required to add a new ship to the system is the ship's unique id and a name. These fields are initialized during the ejbCreate() method invocation

java_marthona at 2007-7-8 23:05:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
aha :) now i see Thanks a lottttttttttt
basharfa at 2007-7-8 23:05:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...