jboss+mySqL+部署entity bean
jboss+mySqL+部署entity bean
i copied the easist example in "Enterprise Java Bean".
But I do not know how to config the xml file.
I checked a lot of reference, not working.
what I have done:
1):finish coding of a entity bean.
2): ejb-xml , jboss.xml,jbosscmp-jdbc.xml, standardjaws.xml, standardjbosscmp-jdbc.xml.
The error message: the mapping of datasource "mySql" is not found.
Who konws how to do this?
http://dev.csdn.net/develop/article/48/48140.shtm
http://dev.csdn.net/develop/article/49/49043.shtm
it does not work .
Who can give me a working workflow for this?
what i can make sure is
1): my datasource is fine. I can get data using jdbc's api to access .
2):my code is fine.