Web Server 7.0 is a major new release with significant enhancements in the Administration Infrastructure. In addition, Web Server can now be configured to run as a 64–bit application on the SolarisTM, SPARC® and AMD64 platforms.
Web Server 7.0 provides comprehensive command-line interface support, consolidated configuration, enhanced security with elliptic curve cryptography support, and clustering support. It also comes with a robust built-in migration tool that helps migrate applications and configurations from Web Server 6.0 and Web Server 6.1 to Sun Java System Web Server 7.0.
Sun Java System Web Server 7.0 includes the following new features:
Web Server 7.0 management infrastructure is based on the modern distributed Java Management Extensions (JMXTM) technology. JMX technology provides tools for building distributed, web-based, modular and dynamic solutions for managing and monitoring devices, applications, and service-driven networks. JMX helps to manage and monitor instances, configurations, and web applications across clustered Web Server deployments.
The Administration Server is a specially configured Web Server instance on which the administration applications are deployed. An administration instance runs on each node in the server farm. Of these nodes, one node is configured to be the Administration Server and the rest are configured to be Administration Nodes.
The web-based Administration Server is redesigned to make common tasks easier to access and complex tasks easier to accomplish.
The Administration Server includes the following new features:
Web-based wizards for performing most common tasks
Comprehensive command-line interface (CLI) support for server configuration and server administration tasks
Centralized configuration store
Support for deploying Web Server configuration information on multiple machines. This feature extends to support Web Server in a server farms and clusters.
Built-in management and monitoring of server clusters
For more information on using the administration interface to perform administrative tasks, see the Sun Java System Web Server 7.0 Administrator’s Guide.
The command-line interface enables you to easily configure and administer the server.
The administration CLI has the following key features:
Embedded Java Command Language (jacl) shell for scripting
Extensible CLI, which enables you to add more commands by using the third-party plug-ins
Support for local and remote administration, configuration, and management of one or more server instances
Automatically completes commands when you type one or more characters and then press a tab key
Easy-to-use CLI-based operational modes including single mode, shell mode, and file mode
For more information on the commands, see the Sun Java System Web Server 7.0 CLI Reference Manual.
Web Server 7.0 is integrated with Sun N1TM Service Provisioning Server 5.2. Sun N1 Service Provisioning System is an application provisioning tool that eliminates the need for custom scripts. With the integration of Web Server with Sun N1 Service Provisioning System, as an administrator, you do not need to write custom scripts for installing multiple Web Servers in a datacenter environment or in a server farm.
Configuration files in Web Server 7.0 are rearranged and consolidated to simplify administration.
In the earlier versions of Web Server, the configuration files in userdb were shared by all instances, while the information contained in these files was often instance-specific. In Web Server 7.0, configuration files from the userdb directory are removed. Their functionality is incorporated into the server.xml file in the config directory. Configuration files from the alias and httpacl directories are moved into the config directory. These changes consolidate instance-specific configuration information within the instance-specific config directory.
For information about the configuration files, see the Sun Java System Web Server 7.0 Administrator’s Configuration File Reference.
Web Server 7.0 includes a Java 2 Platform, Enterprise Edition (J2EETM) compliant implementation of the Java Servlet 2.4 and JavaServer PagesTM (JSPTM) 2.0 technology specifications. Web Server 7.0 web container provides the flexibility and reliability needed to design and deploy web applications that comply with Java technology standards.
Servlets provide a component-based platform-independent method for building web-based applications, without the performance limitations of CGI programs. JSP technology is an extension of the servlet technology that supports authoring of HTML and XML pages with dynamic content.
For information about these technologies, see the following resource:
The JavaServer Pages Standard Tag Library 1.1 provides custom tags that encapsulate core functionality common to many Web applications. JavaServer Pages Standard Tag Library has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags. It also provides a framework for integrating existing custom tags with JavaServer Pages Standard tag Library tags.
Web Server 7.0 supports JavaServer FacesTM technology. JavaServer Faces simplifies building user interfaces for JavaServer applications.
For information about these technologies, see the following resource:
The Java Naming and Directory InterfaceTM (J.N.D.I.) API provides seamless connectivity to heterogeneous enterprise naming and directory services.
Web Server provides out-of-the-box, seamless Java DataBase Connectivity (JDBCTM), technology and supports a wide range of industry-standard and customized JDBC drivers.
Web Server 7.0 supports JDBC connection pooling, that is, a group of reusable connections for a particular database. Because creating each new connection is time consuming, the server maintains a pool of available connections to increase performance. When an application requests a connection, it obtains a connection from the pool. When an application closes a connection, the connection is returned to the pool.
For information on creating JDBC connection pools, see the Sun Java System Web Server 7.0 Administrator’s Guide.
Web Server 7.0 supports the 32–bit version of the Java 2 Platform, Standard Edition (Java SETM) 5.0 and Java SE 6.0. For the 64-bit version of Web Server, the 64–bit version of Java Development Kit (JDKTM) software support is available. The 64–bit version of Web Server is currently supported only on the Solaris Operating System.
The following table lists the JDK versions supported on various platforms:Table 1 Supported JDK Versions
Supported Java SE version (whether co-packaged with Web Server)
64–bit Support (Yes/No)
At the time of installation, you must specify a valid path for the JDK. To use the JDK version that is not co-packaged with the product, download the software from the following location:
JDK version 1.6.0: http://java.sun.com/javase/downloads/index.jsp
JDK version 1.5.0_03: http://www.hp.com/products1/unix/java/java2/jdkjre5_0/index.html
Web Server 7.0 includes Java Web Services Developer Pack (Java WSDP) 2.0 and XML technologies. Web services developed by using Java WSDP can be deployed on Web Server 7.0 as a web application by using the wadm command.
Web Server 7.0 provides support for security features such as XML Encryption, XML Digital Signature, and support for message security provider.
For more information on Java WSDP 2.0, see the following resource:
Java WSDP 2.0 samples are located at the following location. These samples can be deployed on Web Server 7.0.
Web Server 7.0 supports cluster-based session replication and failover. Session replication and failover provides high availability to web applications by replicating HTTP sessions from one server instance to another in the same server cluster. Because each HTTP session has a backup copy on a remote instance, a server failure that renders one instance in the cluster unavailable does not disturb session continuity.
For more information on Light Weight Session Replication support, Sun Java System Web Server 7.0 Administrator’s Guide.
Web Server 7.0 introduces enhanced support for regular expressions and conditional processing in the obj.conf configuration file.
Key enhancements include the following:
Support for regular expressions
A restart Server Application Function (SAF) for restarting requests with a new URI
Support for dynamic SAF parameters that include expressions, variables, regular expression back references
<If>, <ElseIf>, and <Else> tags for conditional processing
Support for complex conditions that use and, or, and notoperators
sed-request and sed-response filters for rewriting request and response bodies
You can use these new features to define flexible URL rewriting and redirection rules such as those possible with mod_rewrite from the Apache HTTP server. Unlike mod_rewrite, regular expressions and conditional processing in Web Server 7.0 can be used at any stage of request processing, even with third-party plug-ins.
For more information on regular expressions and URL rewrite functions, see the Sun Java System Web Server 7.0 Administrator’s Configuration File Reference.
In addition to the monitoring facilities in earlier versions of Web Server, Web Server 7.0 adds the following enhancements:
Monitors Servlets, JSPs, and JavaServer Pages Standard Tag Library container characteristics
Monitors process and virtual server statistics from within the Administration Server
Integrates with System Management Agent on the Solaris 10 platform. Integrates with the Java Enterprise System Monitoring Framework (Java ES Monitoring Framework) that makes Web Server 7.0 monitoring information available within the Java ES Monitoring Framework.
Accesses monitoring data as Management Beans (MBeans) using the Java Monitoring and Management Console (jconsole) script, Java ES Monitoring Framework or any Java Management Extensions (JMX) compliant client applications.
For more information on Monitoring feature in Web Server 7.0, see the Sun Java System Web Server 7.0 Administrator’s Guide.
Reverse Proxy is integrated with Web Server 7.0. Reverse Proxy can be executed as an internal module. In Web Server 6.1, the Reverse Proxy plug-in had to be downloaded separately and installed.
Web Server 7.0 provides GUI and CLI support for configuring the reverse proxy.
For information about configuring reverse proxy, see the Sun Java System Web Server 7.0 Administrator’s Guide.
Web Server 7.0 provides support for the FastCGI plug-in. The FastCGI plug-in is co-packaged with Web Server 7.0.
You can configure the FastCGI plug-in with Web Server using the configuration files.
For more information about using the FastCGI plug-in with Web Server 7.0, see the Sun Java System Web Server 7.0 Administrator’s Guide.
Web Server 7.0 supports a wide variety of technologies that allow data encryption and validation, request authentication, and server process protection. Key security feature enhancements include the following:
Solaris 10 platform cryptographic framework support. For example, libpkcs11.so including support for UltraSPARC® T1 processor hardware acceleration.
Denial of Service (DoS) attack protection enhancements
Cross-site scripting protection through the native sed(1) based input filtering
Web services security:
Integrated Platform for Privacy Preferences (P3P) support
Web-based Distributed Authoring and Versioning (WebDAV) access control support
The Lightweight Directory Access Protocol (LDAP) auth-db is enhanced to make search expressions and match attributes configurable
The LDAP auth-db supports Microsoft Active Directory interoperability
Support for migration of certificate from Tomcat or other Java keystore file based repositories
Support for dynamically applied Certificate Revocation Lists (CRLs)
Sun Java System Web Server has always supported RSA keys. In addition to the continued support for RSA keys, Web Server 7.0 introduces support for Elliptic Curve Cryptography (ECC).
ECC is the next generation of public-key cryptography for mobile or wireless environments. ECC is based on a set of algorithms for key generation, encryption, and decryption for performing asymmetric cryptography.
Important features of ECC are:
Compared to traditional cryptosystems like RSA, ECC offers equivalent security with smaller key sizes that enable faster computations, lower power consumption and memory, and bandwidth savings.
ECC operates on elliptic curves. You must pick a curve and a key length. Curves are standardized and given names by various organizations such as, NIST, ANSI, and SECG. Because these standards include the key length, you only have to pick one of the predefined curve names. Web Server 7.0 supports all the curves currently specified.
For more information on how to use ECC in Web Server, see the Sun Java System Web Server 7.0 Administrator’s Guide.
Web Server 7.0 provides plug-ins to integrate with the NetBeansTM Integrated Development Environment (IDE) for deploying and debugging web applications. NetBeans is a complete development environment to create Java Platform Enterprise Edition (Java EE) based web applications with the standard components.
In addition to the deployment of web applications, the plug-in also provides support for the following activities:
Manage instances, such as start or stop server instances
Enable or disable applications
Create server wide resources, such as JDBC resources and JDBC connection pools
For information about NetBeans, visit:
For more information about using NetBeans with Web Server, visit:
Web Server 7.0 supports Sun Java Studio Enterprise 8.1. Sun Java Studio software is Sun's powerful, extensible IDE for Java technology developers. Sun Java Studio 8.1 is based on the NetBeans software, and integrated with the Sun Java platform.
The plug-in for the Web Server can be obtained in the following ways:
From the companion CD in the Sun Java System Web Server Media Kit
By using the companion AutoUpdate feature of Sun Java Studio
From the download center for Sun Java System Web Server
Sun Java Studio 8.1 plug-in for Web Server 7.0 works only with a local web server. That is, the IDE and the web server must be installed on the same machine.
For information about using the web application features in Sun Java Studio 8.1, see the following tutorial:
For more information about Sun Java Studio 8, visit:
Web Server 7.0 is available in the following languages: