View Review Details
| Book: |
|
JBoss: A Developer's Notebook |
| Subject: |
|
Good Book |
| Date: |
|
2005-08-23 22:53:53 |
| From: |
|
staypufd
|
Response to: Good Book
|
|
In Chapter 4 the section entitled "Creating a datasource" covers this exactly. It also covers in the "What about..." section directly after that, how to make the MySQL DS the default DS.
Glad you liked the book.
Sam Griffith
|
-
Good Book, August 23 2005
Submitted by Anonymous Reader [Respond | View]
I also forgot to answer one of you specific questions regarding the type mapping. The type mapping is done in the mysql-ds.xml file that you put into the deploy directory. We didn't highlight the tag in this file that sets the data-source mapping, but if you look you see it gets set in this xml file.
Thanks,
Sam
-
Good Book, September 01 2005
Submitted by Anonymous Reader [Respond | View]
standardjaws.xml isn't used for CMP2. You might possibly want to set the defaults in standardjbosscmp-jdbc.xml, but as we recommend throughout it the book it is better not to change the server-wide defaults. We recommend setting the CMP configuration on each application, exactly as we showed in the book.
|
| |