我正在学习以下有关通过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.
答案 0 :(得分:1)
EnterpriseApplication
之后的我可以在dist文件夹下找到.ear
。