Description: This demo for self-learners have some programming experience, straightforward, involving a database connection, the jndi, add the lookup function, the ejb @ Note
The release to use, issues related to query the network
The small demo server jboss5.x, development tools the eclipse3.x, database: mysql, test database name: ejbtest
Ready for the configuration of the eclipse and jboss
2 configuration jboss mysql data sources, methods can be obtained from the network
3 Download the source
Into eclipse, or create a new ejb project copy the source code into a new project can be
To Search:
File list (Check if you may need any files):
ejbtest\.classpath
.......\.project
.......\.settings\.jsdtscope
.......\.........\org.eclipse.jdt.core.prefs
.......\.........\org.eclipse.wst.jsdt.ui.superType.container
.......\.........\org.eclipse.wst.jsdt.ui.superType.name
.......\build\classes\com\czm\client\EjbTest.class
.......\.....\.......\...\...\dao\IUserDao.class
.......\.....\.......\...\...\...\UserDaoBean.class
.......\.....\.......\...\...\per\UserBase.class
.......\.....\.......\META-INF\MANIFEST.MF
.......\.....\.......\........\persistence.xml
.......\ejbModule\com\czm\client\EjbTest.java
.......\.........\...\...\dao\IUserDao.java
.......\.........\...\...\...\UserDaoBean.java
.......\.........\...\...\per\UserBase.java
.......\.........\META-INF\MANIFEST.MF
.......\.........\........\persistence.xml
.......\build\classes\com\czm\client
.......\.....\.......\...\...\dao
.......\.....\.......\...\...\per
.......\.....\.......\...\...\service
.......\.....\.......\...\czm
.......\ejbModule\com\czm\client
.......\.........\...\...\dao
.......\.........\...\...\per
.......\.........\...\...\service
.......\build\classes\com
.......\.....\.......\META-INF
.......\ejbModule\com\czm
.......\build\classes
.......\ejbModule\com
.......\.........\META-INF
.......\.settings
.......\build
.......\ejbModule
ejbtest