Eclipse IDE是否支持JSF 2.0? [英] Does the Eclipse IDE support JSF 2.0?

查看:132
本文介绍了Eclipse IDE是否支持JSF 2.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了WTP 3.1插件,并安装了Glassfish v3插件。我可以注册我的服务器。



当我创建一个动态Web项目时,我可以看到最大的动态Web模块版本是2.5。然后我为Glassfish v3选择默认配置,但是当我看JSF时,默认情况下不会被选中。当我选择它,最大的版本是1.2。



我想使用JSF与面孔 - Eclipse是否支持这个?我似乎没有找到任何有用的Eclipse WTP站点。

解决方案

Java EE 6 / JSF 2.0是相对新。大多数工具已经准备好了,但是Eclipse已经赶上了。



状态为:





到目前为止,它在Eclipse Ganymede / Galileo中工作正常,当您选择JSF 1.2并使用JSF 2.0库。您只会错过一些可能对JSF 2.0有用的代码帮助,但您可以自己编写代码。


I have the WTP 3.1 plugin installed and have also installed the Glassfish v3 plugin. I am able to register my server.

When I create a dynamic web project, I can see that the maximum dynamic web module version available is 2.5. I then choose the default configuration for Glassfish v3 but, when I look at it JSF, it is not selected by default. When I select it, the maximum version available is 1.2.

I want to use JSF with facelets - does Eclipse support this? I can't seem to find anything helpful on the Eclipse WTP site.

解决方案

Java EE 6 / JSF 2.0 is relatively new. Most tools are already ready, but Eclipse has to catch up it yet.

The status as far:

  • IntelliJ Ultimate Edition was early in this. Unfortunately not freeware. Note: the free Community Edition doesn't provide tools for much of Java EE, let alone JSF.

  • Netbeans 6.8 came a bit later almost full Java EE 6 support, including JSF 2.0.

  • Eclipse for Java EE planned to support Facelets in Galileo, but it was cancelled and postponed to the successor Helios which is currently in one of its latest Release Candidate stages been released at 24 July 2010. Helios for Java EE will ship with full fledged Java EE 6 support, including JSF 2.0.

As of now, it just works fine in Eclipse Ganymede/Galileo when you select JSF 1.2 and uses JSF 2.0 libraries. You'll only miss some code assistance which may be useful for JSF 2.0, but you can write code as good yourself.

这篇关于Eclipse IDE是否支持JSF 2.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆