有哪些更好的 Java Web 应用程序框架(请提出建议)?
我是 Java Web 应用程序的新手。我正在练习 JSF2。 是使用任何框架与 JSF 更好还是只应该使用 JSF?
如果使用框架更好,有经验的人建议我什么?
I am new to Java Web Application. I am practicing with JSF2.
Is it better to use any framework with JSF or just should I move with JSF?
If it is better to use Framework, what you experienced guys suggest me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
尝试玩吧!框架。它似乎是一个不错的 RAD 框架,特别是对于简单的应用程序。
Try Play! Framework. It seems to be a nice RAD framework especially for simple apps.
没有最好的解决方案或框架。您最好定义(即使是您自己)您到底希望应用程序执行什么操作,然后寻求最合适的技术。为了避免太抽象,我建议您查看 Struts、Spring 和 GWT(Google Web Toolkit)。
每一种方法都有其优点和缺点,所以问题不只是成为其中一种方法的专家,而是更好地了解它们,以便在需要时做出正确的决定。
There is no best solution or framework. You'd better define, even for yourself, what exactly you want the application to do and then seek the most appropriate technology. Not to be too abstract, I'd suggest you check out Struts, Spring and GWT(Google Web Toolkit).
Each of them has its pros and cons, so it's not a matter of becoming guru in just one of them, but better knowing them all well in order to make a good decision, when one is needed.
我认为 Wicket 相当不错。但话说回来,我并不是特别喜欢 JSP。
只需查看他们的动机页面即可了解他们的与众不同之处。
I think Wicket is quite nice. But then again, I don't particularly like JSPs.
Just have a look at their motivation page to see what sets them apart.
您可以使用很多框架来简化框架的使用并提高效率。
我更喜欢 Spring Webflow。它处理会话状态,使用简单,您可以利用 spring 提供的其他功能(IoC/依赖注入、集成功能、Spring Batch ...)
当您可以自由使用不同的语言/api 时,您应该有一个查看 Grails。
You can use a lot frameworks to simplify framework usage and boost efficience.
I would prefer Spring Webflow. It handles conversational state, is simple to use and you can take profit of the other features spring offers (IoC/Dependency Injection, Integration features, Spring Batch ...)
When you have the freedom to use different languages/apis you should have a look at Grails.
这一切都取决于您的需求。我个人更喜欢Spring+Struts2+Hibernate或者grails。
It all depends on your needs. Personally I prefer Spring+Struts2+Hibernate or grails.
我强烈推荐 JBoss 的 Seam 框架。它有助于大大简化 JSF,并且还可以非常轻松地集成 Hibernate 或 EJB3 等内容。另外,它在主要 IDE 中得到了相当广泛的支持。
I highly recommend the Seam Framework from JBoss. It helps simplify JSF quite a bit, and also makes it very easy to integrate things like Hibernate or EJB3. Plus, it's quite pretty wide support across the major IDEs.
尝试http://www.icefaces.org/main/home/,它比日本科学基金会
Try http://www.icefaces.org/main/home/ which is powerful than JSF