How to get the datasource from Bean through deployment descriptor
Joined: Nov 07, 2007
I am using MySql with JBoss4.2.2.GA. I have configured the web.xml and jboss-web.xml and mysql-ds.xml properly and I can able to get the datasource from the Servlet without any problem.
In the same way, when I tried to retrieve the datasource from the Entity bean, I am getting the following exception:
How to get the datasource from deployment descriptor from the Entity Bean. Whether we need to configure in both ejb-jar.xml and jboss.xml, as we did for web.xml and jboss-web.xml?
Between, the forums new look and feel and features are amazing!!!
And I have also looked for this attachment feature for the long time!!