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

查看:19
本文介绍了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 等框架比使用实体 Bean(即使在新的 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:大局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天全站免登陆