哪种 Java EE 技术堆栈最适合数据驱动应用程序?
我必须从头开始设计和开发一个数据驱动的应用程序来管理我们公司的许多事情,为此我决定采用 Java EE 方式。过去,我开发的应用程序运行在 Struts-EJB2.0-Hibernate 类型的堆栈上,但在我最近的研究中,很多人建议使用 Spring。以下是我的一些选择,但我不确定哪一个最适合我们的要求: Struts-Spring-Hibernate Struts2/JSF-Spring-Hibernate Spring MVC-Spring-Hibernate Spring MVC-Spring-Spring ORM Struts-Spring+EJB3.0-Hibernate
我们对该应用程序的主要期望是:
- 模块化和可扩展(易于在此平台上添加新模块/功能)
- 易于 Web 服务开发(用于与其他产品集成)
- 良好的事务管理和 ORM(因为它是一个数据驱动的应用程序)
I have to design and develop a data driven application from scratch to administer many things in our company and for that I decided to go Java EE way. In past I worked on application which were running on Struts-EJB2.0-Hibernate kind of stack but during my recent research lot of people suggested to use Spring. So here are some of my options, but I am not sure which one is the best for our requirements:
Struts-Spring-Hibernate
Struts2/JSF-Spring-Hibernate
Spring MVC-Spring-Hibernate
Spring MVC-Spring-Spring ORM
Struts-Spring+EJB3.0-Hibernate
Our main expectation from this application are:
- Modular and extensible(ease of adding new modules/functionalities on this platform)
- Easy web services development(for integration with other products)
- Good transaction management and ORM(because it is a data driven application)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
规则弹簧出来。尝试一下 Java EE 6。 Spring 解决了 J2EE 中存在但现在已经不存在的许多问题。如今,开发 Java EE 应用程序比以前容易得多,还有一个额外的优势,即您无需依附于单一供应商。
Rule Spring out. Give Java EE 6 a try. Spring solves many problems that existed in J2EE, but don't exist anymore. Nowadays, doing Java EE applications is far easier than before, with the additional advantage that you don't get attached to a single vendor.
你的问题是非常开放式的。我会使用你更舒服的东西。就数据驱动而言,休眠非常好。我不熟悉 Spring ORM,但 hibernate 是广泛使用的东西。
Your question is very open ended. I would use something that you are more comfortable with. As far as data driveness is concerned you have hibernate is pretty good. I am not familiar with Spring ORM, but hibernate is something that is used extensively.