Integrating Glassfish in Eclipse for Java EE

后端 未结 3 585
闹比i
闹比i 2021-01-07 00:22

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. Ho

相关标签:
3条回答
  • 2021-01-07 00:37

    You need to download the eclipse plugin. http://dlc.sun.com.edgesuite.net/glassfish/eclipse/helios/

    0 讨论(0)
  • 2021-01-07 00:40

    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.

    0 讨论(0)
  • 2021-01-07 00:42

    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.

    enter image description here

    Wait for the list to be populated and finally pick Oracle Glassfish Server Tools.

    enter image description here

    After a restart it'll be available among the options.

    enter image description here

    (those screenshots are borrowed from this JSF 2.0 tutorial on Eclipse + Glassfish)

    0 讨论(0)
提交回复
热议问题