Hi, I am trying to create a stateful session bean. The bean should connect to a database and return the result set from a table. Can you please show me some steps to 1. How to create a stateful session bean 2. How to connect to a database 3.write a query 4. Display the result set 4. How to deploy the stateful session bean on the EJB server. It will be very helpful for me if there is any example. Thanks.