We are trying JBOSS for the first time. I've already written CMP Beans using PRAMATI STUDIO, I've the beans in my hand. The CMP bean stores data on an ORACLE DATABASE. Can anyone help me out in configuring the oracle database so that myu CMP beans works fine.
What has to be done
posted 14 years ago
If you are using JBoss 3.0, you need to do the following, 1)Create a DataSource for Oracle. You do this by writing and deploying a Oracle-Service.xml as per JCA. Sample files are in JBossHome/docs/examples/jcs directory 2) Write a JBoss XML which and do the following mappings a) Entity Beans <res-ref> to xml name for resource. This goes in your Entity bean tag of JBoss.xml. Refer DTD b)Map xml name of the resource to the actual Datasource jndi name in the Resource Manager tag of jboss.xml There was a good Tutorial on CMP with Jboss 3.0. Search in google you will get it.