【发布时间】:2015-09-03 20:57:18
【问题描述】:
我正在学习以下关于通过 NetBeans 创建企业应用程序的教程:
https://netbeans.org/kb/docs/javaee/entappclient.html#Exercise_10
在学习本教程之前,我下载了 Glassfish 3(我们在生产中使用)并将其添加为 NetBeans 中的服务器。我还从 NetBeans IDE 的服务器节点中删除了 Glassfish 4 服务器。
我已经构建、部署并运行了企业应用程序 - 它可以正常工作。但是,下面显示的部署说明表明应该已经创建了一个 EAR 文件,但我一直无法找到它。我应该在哪里看,或者它实际上是创建的?
Deploying the Enterprise Application
You can now build and run the enterprise application. When you run the application, the IDE will deploy the EAR archive to the server.
Right-click the EntAppEJB enterprise application and choose Deploy.
When you click Deploy, the IDE builds the enterprise application and deploys the EAR archive to the server. If you look in the Files window you can see that the EJBRemoteInterface JAR is deployed with the application.
In the Services window, if you expand the Applications node of GlassFish Server you can see that EntAppEJB was deployed.
【问题讨论】:
标签: web-deployment glassfish-3 ear netbeans-8