Java EE入门 [英] Getting Started With Java EE

查看:104
本文介绍了Java EE入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将开始一个网络项目,并且在过去的5年中几乎完全使用LAMP堆栈。我想构建更大,更可扩展的东西,因此一直在研究Java EE。 JSP和EJB之间的逻辑划分似乎是我想要做的事情的理想选择。

I am about to start a web project and have been working almost exclusively with a LAMP stack for the past 5 years. I would like to build something larger and more scalable and hence have been looking into Java EE. The division of logic between JSP and EJB seems ideal for what I want to do.

任何人都可以推荐用于熟悉Java EE的资源吗?也许如果有人知道我可以考虑的比PHP更具可扩展性的技术,那我就听见了。

Can anyone recommend resources for getting familiar with Java EE? And perhaps if anyone knows of technologies that are more scalable than PHP that I should consider as well, I'm all ears.

非常感谢!

推荐答案

我强烈建议从一本好书开始。这是一个复杂的主题,即使是经验丰富的开发人员也需要一些帮助才能开始。

I strongly recommend starting with a good book. This is a complex topic and even an experienced developer needs some help to get started.

我还建议您从一开始就熟悉非Sun技术。使用Hibernate和iBatis等框架比使用Entity Beans(即使在新的Java EE标准中)更容易实现数据库持久性。看看像Spring和Guice这样的依赖注入框架。实际上Spring提供的不仅仅是依赖注入(面向方面​​的开发,Web服务框架,MVC,JDBC和JMS的包装器)。

I also recommend to get familiar with non Sun technologies right for the beginning. Database persistence is much easier with frameworks such as Hibernate and iBatis than with Entity Beans (even in the new Java EE standard). Have a look at a dependency injection framework like Spring and Guice. In fact Spring offers much more than dependency injection (aspect oriented development, web services framework, MVC, wrappers for JDBC and JMS).

另一个重要的事情是选择IDE 。在自由世界中,您可以使用Eclipse(Java EE版)或NetBeans。两者都很好,我发现NetBeans有点慢,但它变得越来越好。我还建议使用Tomcat作为应用程序服务器。虽然它没有完全实现Java EE标准(没有EJB),但是有些事情是你做不到的。完整的应用服务器是RedHat的JBoss和Oracle的GlassFish。 GlassFish很好地集成在NetBeans中(与Sun以前的应用程序服务器无关 - 它快速可靠)。

Another important thing is the selection of IDE. In the free world you can either go with Eclipse (Java EE edition) or NetBeans. Both are good, I find NetBeans a little slow, but it's getting better. I also recommend Tomcat as the application server. Although it doesn't implement the Java EE standard completely (no EJBs), there are little things that you can't do. Full application servers are JBoss from RedHat and GlassFish from Oracle. GlassFish is nicely integrated in NetBeans (has nothing to do with Sun's previous application server - it is fast and reliable).

编辑

关于JEE书籍的问题现已结束。答案建议 http://www.theserverside.com/ J2EE:The Big Picture Manning出版物,适用于Spring in Action和Java Persistence with Hibernate等书籍。我相信现在有更多好书可供选择。

The question about JEE books is now closed. Answers suggested http://www.theserverside.com/, J2EE: The Big Picture and Manning publications, for books like "Spring in Action" and "Java Persistence with Hibernate". I am sure there are now more good books available.

这篇关于Java EE入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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