Yes, you can, but not recommended. If u decide to go this way you may use POJO classes as DAO objects and build facade session beans to access them. You may also build BMP entity beans or eve use a persistent framework as Hibernate to get to the DB. regards.
subject: Database Connection without connection pooling