I am a biggener of J2EE ,
I need a simple EJB for database connection ,insertion,uapdation,deletion data from one table
It depends on what you want. I would see an Entity EJB as an answer for what you need. I could supply you with an example EJBObject EJBHome and EntityBean, for a simple table, but you would also need to know how to deploy it and set up your J2EE container with data sources and write your deployment xml etc.
There are loads of good sites around, for tutorials.
If you want the sample code, then reply
The code for your requirement is available in ED ROman's book.
The real work lies in how to establish the coneection pool to ur database through console. If u require some help contact me at