posted 19 years ago
Hi,
You have not mentioned anything about your server. Any way you can access the database directly from ejbCreate() but it is STRONGLY RECOMMENDED that you don't do so.
Make a helper class which has a function defined that accesses the database and returns result to your ejbCreate(). Call this function from your ejbCreate().
If you have any doubt, please tell me.
Abhishek