资源说明:The books example from Beginning Java EE 6 Platform with GlassFish 3
Run "mvn eclipse:eclipse" to generate Eclipse project files. You should use the GlassFish Tools Bundle for Eclipse: https://glassfishplugins.dev.java.net/ This project's persistence.xml assumes that GlassFish v3 has a JDBC Resource with a JNDI Name of "book". You'll need to set that up before deploying this app. After you generate the Eclipse project files you should be able to just import the project into Eclipse, right-click it and select Run As > Run on Server, and deploy it to GlassFish v3. Then just open http://localhost:8084/javaee6-books in your browser.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。