将 Glassfish 集成到 Eclipse for Java EE
我正在使用 Eclipse for Java EE。我已经安装了包含 Glassfish 服务器的 Java EE SDK。但在创建 Web 项目时,我在服务器列表中没有看到 Glassfish。如何将 Glassfish 添加到 Eclipse?
I am using Eclipse for Java EE. I have installed Java EE SDK that include Glassfish server. But I do not see Glassfish in the list of servers when creating a web project. How do I add Glassfish to Eclipse?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Eclipse 确实没有附带开箱即用的 Glassfish 插件。您需要单独安装它。这非常简单,只需在新建服务器向导中单击下载其他服务器适配器链接即可。
等待列表填充,最后选择Oracle Glassfish Server Tools。
重新启动后,它将在选项中可用。
(这些屏幕截图借自此 关于 Eclipse + Glassfish 的 JSF 2.0 教程)
Eclipse does indeed not ship with a Glassfish plugin out the box. You need to install it separately. It's quite simple, just click the link Download additional server adapters in the New Server wizard.
Wait for the list to be populated and finally pick Oracle Glassfish Server Tools.
After a restart it'll be available among the options.
(those screenshots are borrowed from this JSF 2.0 tutorial on Eclipse + Glassfish)
您需要下载 eclipse 插件。 http://dlc.sun.com.edgesuite.net/glassfish/eclipse/赫利俄斯/
You need to download the eclipse plugin. http://dlc.sun.com.edgesuite.net/glassfish/eclipse/helios/
在 Eclipse 中安装 GlassFish 后,您可以构建完整的 Java EE 6 应用程序,如下所述:
http:// blogs.oracle.com/arungupta/entry/web_app_development_using_java
您还可以下载预捆绑有 GlassFish 的 Oracle Enterprise Pack for Eclipse (OEPE)。
After installing GlassFish in Eclipse, you can build a complete Java EE 6 application as explained at:
http://blogs.oracle.com/arungupta/entry/web_app_development_using_java
You can also download Oracle Enterprise Pack for Eclipse (OEPE) which comes with GlassFish pre-bundled.