Java EE 路线图和学习材料

发布于 2024-12-02 09:01:25 字数 1539 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

彻夜缠绵 2024-12-09 09:01:25

这是一个非常普遍的问题,但我要学习的顺序如下:

  • 了解服务器的工作原理。最简单的可能是查看 Apache Tomcat。这将作为其他 Java EE 应用程序服务器的基础
  • 接下来,您需要了解 Java EE 服务器如何接受请求并给出响应的基础知识。这将是 Servlet 以及 Java 服务器页面 (JSP)
  • Java Bean 是 Java EE 的基础。它代表您将在应用程序中使用的对象模型
  • 如果您对消息传递感兴趣,您应该熟悉 JMS
  • 要连接各种数据库,需要了解如何使用JDBC。本教程将使您很快上手并运行起来。
  • 一旦您学习了这些内容,就会发现人们在 Java EE 世界中使用了一些框架。一旦了解了基础知识,您就可以进行选择。一些众所周知的框架的例子:
    • Hibernate 是众所周知的 Java ORM 框架,支持对 JDBC 进行进一步抽象
    • Spring 框架被许多提供控制反转和依赖注入
    • Apache Strut 提供了一个用于开发 MVC 应用程序的框架。请注意,人们通常在 Spring Framework MVC 或 Strut 之间进行选择。欢迎您学习两者
    • JavaServer Faces(JSF) 是另一个构建您的应用程序的选项。我个人没有用过这个
    • 如果您想构建网络服务,您应该查看JAX-RSRestlet 框架

还有许多其他框架可用于构建 Java EE 应用程序。您应该了解基础知识,然后选择您想要学习的框架来扩展基础知识。我绝不是没有将每个框架都放在选项中,但它应该足以让您入门

至于书籍,没有一本书涵盖所有选项,但可以购买 Java EE 的核心/下载/在线查看。您可以在 Java EE 教程作为印刷书籍 这应该会让您一开始就学到很多东西。人们推荐的另一本书是 Head First Servlets and JSP

This is a very general question to answer, but here is the order that I would learn:

  • Learn about how the server works. The simplest one would probably be looking at Apache Tomcat. This would serve as the basis for other Java EE Application servers
  • Next you need the basics on how a Java EE server accepts a request and gives a response. This would be the Servlet as well as Java Server Pages(JSP).
  • Java Beans is fundamental for Java EE. It represents the object model that you will use across the application
  • If you are interested in messaging, you should familiarize yourself with JMS
  • To connect to various databases, you need to know how to use JDBC. The tutorial will get you up and running pretty soon
  • Once you learn those, there are a few frameworks that people use in the Java EE world. You could pick and choose once you have understood the basics. Few example of well known frameworks:
    • Hibernate is well known ORM framework for Java enabling further abstraction over JDBC
    • Spring Framework used by many providing Inversion of Control and Dependency Injection
    • Apache Strut provides a framework for developing MVC app. Note, that people normally choose between Spring Framework MVC or Strut. You are welcome to learn both
    • JavaServer Faces(JSF) is yet another option for building your application. I have not used this one personally
    • If you are into building web services, you should look at JAX-RS or Restlet Framework

There are many other frameworks out there for building Java EE applications. You should get to know the basics and then pick and choose which framework that you want to learn to extend the basics. I, by no means, have not put every single framework in the options, but it should be enough to get your started

As for books, there is no single book out there that covers all options but the core of Java EE is available to buy/download/view online. You could get them at Java EE Tutorial or as printed book That should give you plenty to learn initially. Another book that people are recommending is Head First Servlets and JSP

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文