aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Tags in jbosscmp-jdbc.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply locked New topic
Author

Tags in jbosscmp-jdbc.xml

Saman Perera
Ranch Hand

Joined: Jul 15, 2003
Posts: 61
Hi All

Please tell me the meaning of tags with in the default tag of following jbosscmp-jdbc.xml and with suitable example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
<jbosscmp-jdbc>
<defaults>
<datasource>_________</datasource>
<datasource-mapping>________</datasource-mapping>
<create-table>______</create-table>
<remove-table>__________</remove-table>
<read-only>______________</read-only>
<time-out>_______________</time-out>
<pk-constraint>________________</pk-constraint>
<fk-constraint>_____________</fk-constraint>
<row-locking>____________</row-locking>
<preferred-relation-mapping>_______________</preferred-relation-mapping>
<list-cache-max>_________________</list-cache-max>
</defaults>
<enterprise-beans>
<entity>
<ejb-name>StudentBean</ejb-name>
<table-name />
<cmp-field>
<field-name>stuNo</field-name>
<column-name>StudentNo</column-name>
</cmp-field>
<cmp-field>
<field-name>stuName</field-name>
<column-name>StudentName</column-name>
</cmp-field>
</entity>
</enterprise-beans>
</jbosscmp-jdbc>


Thanking you
Saman
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
JBoss is not part of the SCBCD exam. Moreover, please do not crosspost the same question in several forums. Please continue this discussion in the JBoss forum at http://www.coderanch.com/t/89040/JBoss/Tags-jbosscmp-jdbc-xml

This thread is now closed. Thank you for your comprehension


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tags in jbosscmp-jdbc.xml