I dont know of any books focusing in integration MySQL and JBoss, but I am sure they are out there. Reading the manuals of MySQL and JBoss will get you far though. The fun part is then to figure out how to get it to work :) There is no magic about MySQL, it is used like all other data source in JBoss The file standardjbosscmp-jdbc.xml holds definition for the default data source and type mappings between Java, JDBC and the SQL servers being used. This is a server config file. Your deployment specific CMP<->MySQL mappings go into jbosscmp-jdbc.xml in your deployment archive. Preferably you use xdoclet to generate the jbosscmp-jdbc.xml file for you, it makes it a lot easier. ? | * @jboss.persistence | * datasource = "java:/MySqlDS" | * datasource-mapping = "mySQL" | * pk-constraint = "true" | * | * @jboss.unknown-pk | * class="java.lang.Integer" | * auto-increment="true" | * | * @jboss.entity-command | * name="mysql-get-generated-keys" | * class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand" | ?
Good luck! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874981#3874981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874981 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
