While ejbStore() and ejbLoad() etc. methods are declared in
EntityBean interface. Where ejbCreate() and ejbPostCreate() methods are declared.
-
ejbCreate() and ejbPostCreate() methods (2 messages)
- Posted by: Mukund Pande
- Posted on: June 20 2003 05:47 EDT
Threaded Messages (2)
- Where ejbCreate() and ejbPostCreate() methods are declared by MohanaSundaram Dhivakaran on June 20 2003 08:32 EDT
- ejbCreate() and ejbPostCreate() methods by Ferhat SAVCI on June 20 2003 09:45 EDT
-
Where ejbCreate() and ejbPostCreate() methods are declared[ Go to top ]
- Posted by: MohanaSundaram Dhivakaran
- Posted on: June 20 2003 08:32 EDT
- in response to Mukund Pande
ejbCreate() and ejbPostCreate() method signatures wholly depend upon the what you are going to declare in the Home Interface. To my knowledge they are developed when creating the Stubs and Skeletons. -
ejbCreate() and ejbPostCreate() methods[ Go to top ]
- Posted by: Ferhat SAVCI
- Posted on: June 20 2003 09:45 EDT
- in response to Mukund Pande
You need these methods to create an EB, but they are not declared in the EntityBean interface. It's not possible, you see: an EB would have a create method that takes 3 strings for initialization, another would have a create method that takes a single integer *and* another create method that takes an object of type X. Declaring ejbCreate and ejbPostCreate for all combinations of number of parameters and parameter types is simply not possible.
The container, however, checks if they exist and are compatible with the create methods in the EB's remote interface.