hi thanks for all your replies
i have created it as CMP bean and using Pointbase DB and the default server in j2eesdk 1.4
this is how my Application Server Descripton looks like
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0
EJB 2.1//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_2_1-0.dtd">
<sun-ejb-jar>
<enterprise-beans>
<name>EmployeeBeanJar</name>
<ejb>
<ejb-name>EmployeeBean</ejb-name>
<jndi-name>EmployeeBean</jndi-name>
</ejb>
<cmp-resource>
<jndi-name>jdbc/PointBase</jndi-name>
<create-tables-at-deploy>true</create-tables-at-deploy>
<drop-tables-at-undeploy>true</drop-tables-at-undeploy>
<database-vendor-name>POINTBASE</database-vendor-name>
<schema-generator-properties>
<property>
<name>use-unique-table-names</name>
<value>true</value>
</property>
<property>
<name>java-to-database</name>
<value>true</value>
</property>
</schema-generator-properties>
</cmp-resource>
</enterprise-beans>
</sun-ejb-jar>
Where do i find my Database xml file? how do i create a ref to the db?
Thanks for all your help