【问题标题】:Netbeans 8.0.2, Glassfish 3 tutorial - where is the EAR file?Netbeans 8.0.2,Glassfish 3 教程 - EAR 文件在哪里?
【发布时间】: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


    【解决方案1】:

    对我来说,在干净构建 EnterpriseApplication 后,我可以在 dist 文件夹下找到 .ear

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-20
      • 2015-01-20
      • 1970-01-01
      • 2015-09-05
      • 2018-06-18
      • 2011-07-27
      相关资源
      最近更新 更多