Chapter 4 Migrating Your Enterprise Server 55
JavaServer Pages
iPlanet Web Server 4.0 JavaServer Pages(JSPs) were written inJSP 0.92.The iPlanet
Web Server 4.1 and Enterprise Server 6.0 JSPs were written in JSP 1.1. Enterprise
Server 6.1 JSPs are written in JSP 1.1. Version 0.92 is no longer supported in
Enterprise Server6.1. JSPsmust be rewritten accordingto the version 1.2standard.
In addition, it is recommended that developers create JSPs as part of web
applications. Style examples can be found in
server_root
/plugins/servlets/examples/web-apps.
JSPs written in JSP 1.2that are part of a web application can reside in any directory
that the server can serve from.
JSP 1.2 samples are in server_root/
plugins/samples/servlets/jsp.10.
Java Servlets
Enterprise Server 6.1 deprecates but maintains backward compatibility for the
iPlanet Web Server 4.1 style ofservlets configurationusing
servlets.properties,
rules.properties and contexts.properties files. These files may not be
supported in future releases of the product. Formore information, see the Netscape
Enterprise ServerProgrammer’s Guide to Servlets.
Simple Session Manager
Simple Session Manager and JDBC Session Manager are supported by Enterprise
Server
6.1, but deprecated. Users are encouraged to use NESSession Manager
instead, which is described in the Netscape Enterprise Server Programmer’s Guide to
Servlets.
If your iPlanet Web Server 4.x web applications specified
SimpleSessionManager,
you should changethenameof theclass to
NESSessionManager.You thenhavethe
option of adding persistence. Other
Init attributes such as timeOut and
reapInterval are unchanged.
If your iPlanet Web Server 4.x web application specified
JDBCSessionManager,
you should changethe name of the class to
NESSessionManager and add the
following attribute to the
init-param element of the session manager:
session-data-store='com.netscape.server.http.session.JdbcStore'
Other attributes such as provider and url remain unchanged.
If your iPlanet Web Server 4.x web application specified
MMapSessionManager as
the class name for the session manager, the application remains unchanged.
Komentáře k této Příručce