在Java EE 6中学习Java Web应用程序需要学习什么? [英] What to learn for making Java web applications in Java EE 6?

查看:132
本文介绍了在Java EE 6中学习Java Web应用程序需要学习什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是创建Web应用程序!

My goal is to make web applications!

我读完了Headfirst - Java和Headfirst - Servlets and JSP这些书。

I finished reading the Books "Headfirst - Java" and "Headfirst - Servlets and JSP".

因为这个主题(网络应用程序)是如此庞大和复杂,我想问下一步我应该学习什么。当我读到像Java EE,EJB,JSF,JPA,Glassfish这样的流行语时,我觉得过度训练......但我不会放弃。

Because this topic (web applications) is so big and complicated, I would like to ask what I should learn next. I feel overstrained when I read catchwords like Java EE, EJB, JSF, JPA, Glassfish ... but I won't give up.

任何人都可以告诉我如何我应该继续学习?我应该抓一本这样的书:
使用GlassFish 3开始Java EE 6平台:从新手到专业或者我应该做一些在线教程?

Can anyone please tell me how I should proceed with learning? Should I grab a book like this: Beginning Java EE 6 Platform with GlassFish 3: From Novice to Professional or should I just make some Online tutorials?

谢谢!

推荐答案

即使我知道这会引起争议,我的建议是仅从Java EE 6开始。所以,抓住GlasshFish v3并获得这本书使用GlassFish 3开始Java EE 6平台:从新手到专业版或按照 Java EE 6教程进行操作。在我看来,这本书(我已经开始阅读,所以我知道我在说什么)提供了更多的指导,如果一切对你来说是新的,它可能是更可取的(它涵盖了Java EE平台及其API) 构建,部署应用程序的环境。)

Even if I know that this will be controversial, my advice would be to start with Java EE 6 only. So, grab GlasshFish v3 and either get the book Beginning Java EE 6 Platform with GlassFish 3: From Novice to Professional or follow the Java EE 6 tutorial. In my opinion, the book (that I've started to read so I know what I'm talking about) provides more guidance which might be preferable if "everything" is new for you (it covers both the Java EE platform and its APIs and the environment to build, deploy your applications).

现在,正如我所说,我已经可以听到像这样的声音Java EE很重,使用Spring代替,学习Struts或Wicket或Stripes用于表示层,学习Hibernate的持久性,或者不是因为我不喜欢ORM,而是使用iBatis或直接JDBC(你会看到,它很酷)使用Spring,Spring是如此的玩具,并且使用Tomcat(以及为什么不是Jetty),或者使用JBoss,或者只是忘记所有这些并且去Grails,并且bla bla bla ...

Now, as I said, I can already hear voices saying things like "Java EE is heavy, use Spring instead, learn Struts or Wicket or Stripes for the presentation layer, learn Hibernate for persistence, or not because I don't like ORM, use iBatis or straight JDBC instead (you'll see, it's cool with Spring, Spring is so cooool), and use Tomcat (and why not Jetty), or JBoss, or just forget all this and go for Grails, and bla bla bla...".

但我不认为这确实对你有帮助,没有指导或指导(你也找不到涵盖所有组合的非过时的独特资源),这对初学者来说听起来非常混乱。

But I don't think that this is really helping you and, without mentoring or guidance (and you won't find a non outdated unique resource covering all combinations), this must sound very confusing for a beginner.

所以,因为我认为Java EE 6比以前的Java EE版本有了很大的改进,因为它提供了真正的漂亮的标准API所有你的需求(Servlet 3.0,JSF 2.0,JPA 2.0,EJB 3.1 lite,Bean Validation 1.0,CDI等),因为这些API都不错,因为学习它们没有什么不对,因为这已经是一个大任务,因为你必须从某个地方开始,我只专注于Java EE 6而现在忘记了其他框架。更确切地说,我将从 Java EE 6 Web开始个人资料(如果你想更进一步,可以添加内容)。

So, because I think that Java EE 6 is a big improvement over previous versions of Java EE, because it provides really nice standard APIs for all your needs (Servlet 3.0, JSF 2.0, JPA 2.0, EJB 3.1 lite, Bean Validation 1.0, CDI, etc), because these APIs are all more than decent, because there is nothing really wrong in learning them, because this is already a big task, because you have to start somewhere, I'd focus on Java EE 6 only and forget the other frameworks for now. More precisely, I'd start with the Java EE 6 Web Profile (and then add things if you want to go further).

通过这样做,1)你将开始,你将学习品牌新事物和2)你会给所有其他框架和/或工具一些时间来适应并证明仍然需要它们。如果有的话,仍然是时候对幸存者进行实验,你将能够更好地理解他们存在的原因。

By doing this, 1) you'll get started and you'll learn brand new things and 2) you'll give some time to all other frameworks and/or tools to adapt and prove that there is still a need for them. And if there is, it will still be time to experiment the survivors and you'll be able to understand much better why they exist.

这篇关于在Java EE 6中学习Java Web应用程序需要学习什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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