一名应届毕业生对 Java EE 术语 Spring、Struts、JSF、EJB、Jboss、JMS 感到困惑

发布于 2024-09-29 23:36:04 字数 306 浏览 4 评论 0原文

众所周知,在大学里我们很少有机会了解企业界的情况。根据我的经验,我经常看到人们学习 Core Java,也可能学习其他一些语言,当他们毕业时,他们对这个企业术语一无所知。我现在在那条船上。我是一名从事编程工作的应届毕业生,我经常对新闻和讨论中出现的所有术语感到困惑。我相信提到的所有框架在创建时都有一个目的,旨在填补空白。

我相信你们中的许多人在职业生涯的早期阶段都会经历过这个。是否有博客文章、书籍、视频或论坛讨论可以帮助您了解所有这些框架如何组合在一起形成应用程序。

一篇详细的文章将不胜感激。我试图寻找一篇文章,但我只能找到零散的文章,但找不到一篇全面的文章。

As we all know that we rarely get a chance to learn whats out there in the enterprise world when it comes to college. In my experience I have always seen people learning Core Java and may be some other languages and when they graduate they have no Idea about this enterprise jargon. I am in that boat now. I am a recent graduate with a programming job and I often get confused about all the jargon which appear in the news an discussions. I believe all the frameworks mentioned have a purpose at the time of creation which is intended to fill a void.

I am sure that many of you would have gone through this in the early stage of your career. Is there anything out there a blog post, book , video or forum discussion which helped you to understand how all these frameworks weave together to form a application.

A detailed article would be most appreciated. I tried to look for one but I could them in bits and pieces but not a comprehensive article.

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

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

发布评论

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

评论(2

缱倦旧时光 2024-10-06 23:36:04

你可以通过谷歌/维基百科将它们一一对应。

来自维基百科
Java EE

“Java 平台企业版或 Java EE 是广泛使用的服务器编程平台Java 编程语言。Java 平台(企业版)与 Java 标准版平台 (Java SE) 的不同之处在于,它添加了一些库,这些库提供了部署容错、分布式、多层 Java 软件的功能,这些软件主要基于运行的模块化组件。在应用程序服务器上。”

Spring 框架是 Java EE 的替代方案。

Spring

Struts

“Apache Struts 是一个用于开发 Java EE Web 应用程序的开源 Web 应用程序框架。它使用并扩展了 Java Servlet API,以鼓励开发人员采用模型-视图-控制器 (MVC)它最初由 Craig McClanahan 创建,并于 2000 年 5 月捐赠给 Apache 基金会。以前位于 Apache Jakarta 项目下,称为 Jakarta Struts,它于 2005 年成为顶级 Apache 项目。

等等。随意研究一下...

You could google/wikipedia them 1 by 1.

From wikipedia
Java EE

"Java Platform, Enterprise Edition or Java EE is a widely used platform for server programming in the Java programming language. The Java platform (Enterprise Edition) differs from the Java Standard Edition Platform (Java SE) in that it adds libraries which provide functionality to deploy fault-tolerant, distributed, multi-tier Java software, based largely on modular components running on an application server."

The Spring framework is sort of an alternative to Java EE.

Spring

Struts

"Apache Struts is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model-view-controller (MVC) architecture. It was originally created by Craig McClanahan and donated to the Apache Foundation in May, 2000. Formerly located under the Apache Jakarta Project and known as Jakarta Struts, it became a top level Apache project in 2005."

and so on. Research at your liesure...

淡淡の花香 2024-10-06 23:36:04

您不需要所有这些框架来完成您的应用程序。尽管许多框架相互提供集成和支持,但您不必全部使用它们。我建议你一层一层地走。 Spring几乎在所有层都有用,Struts主要是一个MVC框架。 Spring MVC(Spring 的一部分)和 Struts 填补了同样的空白。 Tiles 是一个视图层框架。我认为FreeMarker、Velocity和Tapestry也是视图层框架。 JBOSS 是一个应用程序服务器。

Spring 和 EJB 2.x 是竞争对手。同样,EJB 是为一些更复杂的应用程序设计的,Spring 的创建者对此有更多了解,他写了一整本书,解释了为什么 EJB 不适合所有 Web 应用程序,这为后来的 Spring 奠定了基础。不过现在,最新的 EJB 版本 3.x 似乎获得了好评。您甚至没有提到 Hibernate 和 iBatis 来满足您的 Web 应用程序的 ORM 需求。

我建议您习惯企业 Java 世界中过多的框架。如果说有什么不同的话,那就是它表明 Java 世界是生机勃勃的。

You don't need all of these frameworks for completing your application. Even though many frameworks provide integration and support for each other, you don't have to use them all. I suggest you go layer by layer. Spring has uses in almost all layers, Struts is mostly an MVC framework. Spring MVC (one part of Spring) and Struts fill the same void. Tiles is a view layer framework. I think FreeMarker, Velocity and Tapestry are also view layer frameworks. JBOSS is an application server.

Spring and EJB 2.x were competitors. Again, EJB is meant for some of the more complicated applications, find more on this from the creator of Spring who wrote an entire book on why EJBs are not suitable for all web applications, which laid the basis for what was to become Spring later on. Though now, the latest EJB version 3.x seems to be getting good reviews. You haven't even mentioned Hibernate and iBatis for the ORM needs of your web-app.

I suggest you get used to the plethora of frameworks in the enterprise java world. If anything, it shows that the java world is alive and active.

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