终极Java版本表(J2EE、Java EE、Servlet、JSP、JSTL)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2013879/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 02:32:40  来源:igfitidea点击:

The ultimate Java version table (J2EE, Java EE, Servlet, JSP, JSTL)

javajspservletsjakarta-eejstl

提问by Eran Medan

I'm looking for a component break down of Java EE (or previously know as J2EE) and Java SE

我正在寻找 Java EE(或以前称为 J2EE)和 Java SE 的组件分解

E.g.

例如

J2EE 1.3:Servlet 2.3, JSP 1.2. JSTL 1.0, ...

J2EE 1.4:Servlet 2.4, JSP 2.0, JSTL 1.1, ...

Java EE 1.5:Servlet 2.5, JSP 2.1, JSTL 1.2, ...

J2EE 1.3:Servlet 2.3、JSP 1.2。JSTL 1.0, ...

J2EE 1.4:Servlet 2.4、JSP 2.0、JSTL 1.1、...

Java EE 1.5:Servlet 2.5、JSP 2.1、JSTL 1.2、...

In a simple table

在一个简单的表中

It can be extracted from: http://java.sun.com/j2ee/1.3/docs/, http://java.sun.com/j2ee/1.4/docs/and http://java.sun.com/javaee/technologies/javaee5.jspbut I'm looking for a simple table.

它可以从以下位置提取: http://java.sun.com/j2ee/1.3/docs/http://java.sun.com/j2ee/1.4/docs/http://java.sun.com/ javaee/technologies/javaee5.jsp但我正在寻找一个简单的表。

Is there something like this out there? Or should I write one myself?

有这样的东西吗?还是我自己写一个?

采纳答案by BalusC

Wikipedia has a Java EE version history. Not in a table, but you can easily bake one yourself based on that if you want. To make it available to everyone, you could just add it as a table to the very same Wikipedia page. The current Java EE 6 uses by the way Servlet 3.0/ JSP 2.2/ JSTL 1.2.

维基百科有一个Java EE 版本历史。不是在桌子上,但如果你愿意,你可以很容易地自己烤一个。为了让每个人都可以使用它,您可以将它作为表格添加到同一个维基百科页面。当前 Java EE 6 顺便使用Servlet 3.0/ JSP 2.2/ JSTL 1.2

JSP 2.2 is by the way nothing more than a "maintenance release" of JSP 2.1.

顺便说一下,JSP 2.2 只不过是 JSP 2.1 的“维护版本”。

回答by kevinjansz

In case anyone was still looking for a tabular format ... I had a crack at a java web specs. tableas a side-note to a blog post about EL errors. I haven't updated it to include Servlet 3.0 specs.

万一有人仍在寻找表格格式......我对Java Web规范有所了解作为关于 EL 错误的博客文章的旁注。我还没有更新它以包含 Servlet 3.0 规范。

回答by Koray Tugay

Here is one: enter image description here

这是一个: 在此处输入图片说明

Also I want to add some information about Java EE7:

另外我想添加一些关于 Java EE7 的信息:

In Java EE 7, no changes were made to JSP and JSTL because these specifications have not been updated.

Expression Language has been removed from JSP and now has its own JSR (341).

Servlets and JSF have both been updated.

WebSocket 1.0 was introduced in Java EE 7.

在 Java EE 7 中,没有对 JSP 和 JSTL 进行任何更改,因为这些规范尚未更新。

表达式语言已从 JSP 中删除,现在拥有自己的 JSR (341)。

Servlet 和 JSF 都已更新。

WebSocket 1.0 是在 Java EE 7 中引入的。

And also please see this image for Java EE7:

另请参阅 Java EE7 的此图像:

enter image description here

在此处输入图片说明

Let me add this as well:

让我补充一下:

enter image description here

在此处输入图片说明

回答by Pooky

This one is also nice:

这个也不错:

+=============+================+====================+=============================================================================+
|   VERSION   |      DATE      |   JAVA EE / JDK    |                             FEATURES / CHANGES                              |
+=============+================+====================+=============================================================================+
| Servlet 4.0 | September 2017 | JavaEE 8           | HTTP/2                                                                      |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 3.1 | May 2013       | JavaEE 7           | Non-blocking I/O, HTTP protocol upgrade mechanism                           |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 3.0 | December 2009  | JavaEE 6, JavaSE 6 | Pluggability, Ease of development, Async Servlet, Security, File Uploading  |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 2.5 | September 2005 | JavaEE 5, JavaSE 5 | Requires JavaSE 5, supports annotation                                      |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 2.4 | November 2003  | J2EE 1.4, J2SE 1.3 | web.xml uses XML Schema                                                     |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 2.3 | August 2001    | J2EE 1.3, J2SE 1.2 | Addition of Filter                                                          |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 2.2 | August 1999    | J2EE 1.2, J2SE 1.2 | Becomes part of J2EE, introduced independent web applications in .war files |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 2.1 | November 1998  | Unspecified        | First official specification, added RequestDispatcher, ServletContext       |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 2.0 |                | JDK 1.1            | Part of Java Servlet Development Kit 2.0                                    |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+
| Servlet 1.0 | June 1997      |                    |                                                                             |
+-------------+----------------+--------------------+-----------------------------------------------------------------------------+

Found here: https://stackoverflow.com/a/33346887/8682071

在这里找到:https: //stackoverflow.com/a/33346887/8682071