企业应用
我正在考虑一个学习申请的平台(这是团队合作)。我的意思是标准 Java EE 5(或者尝试原始 Java EE 6)和 Spring。你的选择是什么? (我不是指 Spring MVC,而是 Spring Beans 和 EJB 3.0)
另外我想知道您使用什么应用程序服务器? (现在我使用 GlassFish v2)
I am thinking about a platform for study application (it is team work). I mean standard Java EE 5 (or maybe try raw Java EE 6) and Spring. What is your choose? (I don't mean Spring MVC but Spring Beans and EJB 3.0)
Also I would like to know what app server you use? (now I use GlassFish v2)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我推荐没有 EJB 的 Spring。
我最喜欢的 Java EE 应用服务器选择是 WebLogic,但我不知道 Oracle 是否像 BEA 那样慷慨地将其提供给开发人员。
我建议使用 Tomcat 作为您的应用程序服务器。如果需要 JMS,请添加 ActiveMQ。
I would recommend Spring without EJBs.
My favorite choice of Java EE app server is WebLogic, but I don't know if Oracle is as generous as BEA was about making it available to developers.
I'd recommend using Tomcat as your app server. If you need JMS, add ActiveMQ.
正如 duffymo 所说,看看没有 EJB 的 Spring。 Spring 非常强大,无论你使用多少。我不知道现在还有人使用 EJB。尽管如此,EJB 多年来已经发生了巨大的变化,现在类似于 Hibernate 等 ORM(它本身就值得一试)。
对于应用程序服务器,请查看 JBoss。它是免费/开源的,您可以在 Tomcat 和 Jetty 之间选择 Web 组件。它的 JMX 主干允许您轻松监控其状态并将您自己的 JMX bean 集成到该主干中(如果您使用 Spring,您可以通过简单的配置启用任何 bean)。
As duffymo says, look at Spring without EJBs. Spring is very powerful, regardless of how much/little you use. I don't know of anyone using EJBs now. Having said that, EJBs have changed dramatically over the years, and now resemble ORMs such as Hibernate (which is worth checking out in itself).
For app servers, check out JBoss. It's free/open-source, and you can choose the web component between Tomcat and Jetty. It's JMX backbone allows you to easily monitor its state and to integrate your own JMX beans into that backbone (if you're using Spring, you can JMX-enable any bean with a simple configuration).
如果您想要 Java EE 6,那么选择似乎是 Glassfish 3 或 JBoss 6 的测试版。正如其他一些人所说,我也更喜欢 Spring,而不是 Java EE 的 EJB。
我认为关注 Java EE 5 没有多大意义,除非您认为将来会使用它(可能是因为一些公司在使用较新版本的技术方面持保守态度)。
If you want Java EE 6 then the choice appears to be either Glassfish 3 or the beta of JBoss 6. As some of the others have said, I also prefer Spring to Java EE's EJBs.
I don't see much point in looking at Java EE 5, unless you think you will be working with it in the future (possible as some companies are conservative in using newer versions of technology).