There may be situations in which it makes sense to access data from an EJB session bean using JDBC. Perhaps you are only reading values from a table and since you are not making any changes to the table, using an entity bean may seem like overkill. In this post I cover setting up a database connection pool in JBoss and accessing the database using JDBC from an EJB session bean.
. . . → Read More: Accessing a Database Connection Pool from a Session EJB in JBoss AS