This content has been marked as final.
Show 1 reply
-
1. Re: EJB + JDBC
sysuser1 Aug 19, 2005 5:34 AM (in response to claudia.pt)Hi Claudia,
You need as many EntityBeans as you have tables in your database from which you want to get the values and at least one sessionBean in order to communicate with the client. Database access is made within the ejb-Container. Therefore you have to add an xml-file to your deploy-directory (xxx-ds.xml) where you declare your database configuration. Furthermore you have to set your database as "default"-Database in standardjbosscmp-jdbc.xml/standardjaws.xml.
There are many tutorials. Try the JBoss-startguide.
aibo