且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有关在本地安装Java EE的问题?

更新时间:2023-12-04 16:18:07

如果您对Java EE感兴趣,我建议您直接从 Java EE 6 开始>已于上周正式发布。只需转到 http://java.sun.com/javaee/ 并下载 GlassFish v3 。要与Eclipse Java EE IDE集成,只需安装 GlassFish Server Adapter 一>。您可以在 http://java.sun.com找到大量Java EE 6示例。 / javaee / reference / code / 您还可以通过 GlassFish更新中心(只是这样做)。他们一定会帮助您入门。

If you are interested by Java EE, I would warmly suggest to start directly with Java EE 6 which has been officially released last week. Just go to http://java.sun.com/javaee/ and download GlassFish v3. For the integration with the Eclipse Java EE IDE, simply install the GlassFish Server Adapter. You'll find plenty of samples for Java EE 6 at http://java.sun.com/javaee/reference/code/ that you can also get through the GlassFish Update Center (just do it). They will definitely help you to get started.

在您的情况下,我的建议是仅限从Java EE 6开始。熟悉EJB 3.1,Servlet 3.0,JPA 2.0(Java Persistence API,Hibernate是一个实现),JAX-WS,JAX-RS,也许是JSF(这可能仍然存在争议,但我认为新的Servlet 3.0 API可以解决关于Web框架的建议无关紧要......我不会在这里提出任何建议。单独保留Spring,你不需要在早期阶段(你可能根本不需要它),并且有足够的东西在Java EE 6中学习。如果你想学习Spring,例如因为它在Java EE中被广泛使用,至少在Java EE 6之前,你仍然可以在以后学习它。但是不要担心,Java EE 6非常令人印象深刻,你可以用它做很好的事情,而不需要Spring。

In your case, my advice would be to start with Java EE 6 "only" for now. Get familiar with EJB 3.1, Servlet 3.0, JPA 2.0 (the Java Persistence API, Hibernate being one implementation), JAX-WS, JAX-RS, maybe JSF (this may still be controversial but I think that the new Servlet 3.0 API makes any advice about web frameworks irrelevant so... I won't make any recommendation here). Leave Spring alone, you won't need it in early steps (you may not need it at all) and there is enough to learn in Java EE 6 itself. If you want to learn Spring, for example because it is widely used in Java EE, at least prior to Java EE 6, you'll still be able to learn it later. But don't worry, Java EE 6 is very impressive and you can do really nice things with it, without the need for Spring.