Dowload Netbean6 from http://netbeans.org
glassfish tips:
Start Server:
asadmin start-domain domain1
Stop Server:
asadmin stop-domain domain1
Deploy war:
Copy hello.war to install-dir/domains/domain1/autodeploy/
Create sun-rescources.xml if you want to use connection pool,jndi for JMS. this could be customized by http://localhost:4848
Entity, Session bean for facade,Message-driven bean for executing the persistence action for entity bean.
Hibernate3 EntityManager+Mysql
And the source code is attached,And the libs also listed in picture. after that,you just copy those libs to glassfish/lib.
本文介绍如何使用NetBeans 6下载及配置GlassFish服务器环境,包括启动和停止服务器、部署WAR文件等步骤。还涉及如何创建sun-resources.xml文件以使用连接池和JNDI配置,并介绍了实体Bean、会话Bean以及消息驱动Bean的概念。此外,还提供了使用Hibernate 3和MySQL进行持久化的示例。
177

被折叠的 条评论
为什么被折叠?



