Greetings...
I was just looking over the new Servlet 2.3 spec. Something jumped
right out at me:
Requirement of JDK 1.2 as the underlying platform for web
containers
(page 12)
I reviewed the document briefly, but I could only find two other
references to JDK 1.2:
A Servlet Container may place security restrictions on the
environment that a servlet executes in. In a Java 2 Platform
Standard Edition 1.2 (J2SE) or Java 2 Platform Enterprise
Edition 1.3 (J2EE) environment, these restrictions should
be placed using the permission architecture defined by
Java 2 Platform.
(page 19)
In servlet containers that are running in a Java 2 Standard
Edition, v 1.2 or Java 2 Enterprise Edition, v 1.2
environment, if there is an SSL certificate associated with
the request, it must be exposed to the servlet programmer
as an array of objects of type java.security.cert.X509Certificate
and accessible via a ServletRequest attribute of
javax.servlet.request.X509Certificate.
(page 36)
Both of these seem simply to say that *if* you're running the
container in 1.2, not require it.
I reviewed the new APIs (again, briefly), and I found the following
references to JDK 1.2 objects:
FilterConfig
public java.util.Iterator getFilters()
ServletRequest
public java.util.Map getParameterMap()
ServletRequestWrapper
public java.util.Map getParameterMap()
This led me to conclude that the servlet specification now relies on
Java 1.2!
I recommend that the references to Interator and Map above be changed
to Enumeration and Dictionary. I recommend that the requirement for
Java 1.2 be *removed* from the spec.
There will be a time when Servlets will rely on the 1.2 Collections,
but I further recommend that that be held of until a complete revision
of the servlet spec i.e. a 3.0 specification.
- Paul Philion
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html