Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Bedienungsanleitung Seite 55

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 66
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 54
Chapter 4 Migrating Your Enterprise Server 55
JavaServer Pages
iPlanet Web Server 4.0 JavaServer Pages (JSPs) were written in JSP 0.92. The iPlanet
Web Server 4.1 and Enterprise Server 6.0 JSPs are written in JSP 1.1. Version 0.92 is
no longer supported in
Enterprise Server 6.0. JSPs must be rewritten according to
the version 1.1 standard. 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.
Any JSPs you have written in 0.92 will still work on Enterprise Server 6.0 as long as
they are in a designated legacy directory. To designate a directory as a legacy
directory, access the Class Manager, click the Services tab, and click Legacy JSP
Directory. Use this page to designate your legacy directories.
JSPs written in JSP 1.1 that are part of a web application can reside in any directory
that the server can serve from.
JSP 1.1 samples are in server_root/
plugins/samples/servlets/jsp.10.
Java Servlets
Enterprise Server 6.0 deprecates but maintains backward compatibility for the
iPlanet Web Server 4.1 style of servlets configuration using
servlets.properties,
rules.properties and contexts.properties files. These files may not be
supported in future releases of the product. For more information, see the Netscape
Enterprise Server Programmers Guide to Servlets.
Simple Session Manager
Simple Session Manager and JDBC Session Manager are supported by Enterprise
Server
6.0, but deprecated. Users are encouraged to use NESSession Manager
instead, which is described in the Netscape Enterprise Server Programmers Guide to
Servlets.
If your iPlanet Web Server 4.x web applications specified
SimpleSessionManager,
you should change the name of the class to
NESSessionManager. You then have the
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 change the 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.
Seitenansicht 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 65 66

Kommentare zu diesen Handbüchern

Keine Kommentare