Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > What's New in WebObjects


Introduction

This document describes changes made to WebObjects between release 4.5 and 4.0. It describes changes made to existing features and describes new features you may want to start using in your applications


Compatibility with WebObjects 4.0

WebObjects 4.5 is compile-compatible with WebObjects 4.0. You should be able to run most WebObjects 4.0 applications by simply rebuilding them using WebObjects 4.5. Note that Direct To Web and Java Client applications require some additional effort to convert to WebObjects 4.5; see the WebObjects 4.5 Post-Installation Instructions for more information on converting your existing applications.


Changes in WebObjects 4.5

This section describes the primary changes to WebObjects for the 4.5 release, including Enterprise Objects Framework (EOF), which is considered part of WebObjects 4.5.


Platform and Language Support

WebObjects makes the following improvements to platform and language support in release 4.5:


Note: HP-UX 10.20 is no longer supported; WebObjects 4.5 requires HP-UX 11.0.


Deploying WebObjects Applications

In addition to the changes listed under Platform and Language Support (above), the following changes have been made to ease the deployment of WebObjects applications:


Profiling and Tuning Applications

WebObjects 4.5 provides many new features to help you profile applications, decrease their memory usage, and increase their speed. This section provides an overview of the features and tells you where to go for more information.


Profiling

WebObjects 4.5 introduces a new feature to help you profile your applications. event logging. A new event logging system records and displays how long certain operations in an application take. The measurements allow you to profile an application and optimize its execution time. For this, the EOF and WebObjects frameworks instrument key portions of their code to measure the elapsed time of functions and methods. You can instrument key portions of your code as well. To learn how to use this feature, see "Event Logging" in the chapter What's New in Enterprise Objects Framework.


Tuning

There are many new features to help tune your application. They are:


Tools Improvements


Object Modeling Improvements

EOF 4.5 adds the following features that improve object modeling:


Managing Stale Data

EOF 4.5 adds a snapshot timestamping feature to help you keep your application's data fresh. It updates snapshots when fetching and allows an editing context to request that the snapshots used to build enterprise objects are no older than a particular timestamp. This has the effect of refreshing snapshots periodically, keeping the application's view more up-to-date with the database. See "Snapshot Timestamping" .


Automatic Database Reconnection

In EOF 4.5, a concrete adaptor can now implement methods that cause EOF to automatically attempt to reconnect to a database server when a connection is unexpectedly dropped. This behavior handles the problem of transient communication failures. By default reconnection is attempted by all of the adaptors that ship with EOF 4.5. See the section "Automatic Database Reconnection" in the chapter What's New in Enterprise Objects Framework.


Direct to Web

Direct to Web now allows you to create your own visual style and exposes a great deal of new API. For more information, see the section "Direct to Web Changes" in the chapter WebObjects Tools Changes.


Java Client

Java Client has been extended considerably, including the following:

Additionally, Java Client now has a new user interface generation layer, Direct to Java Client, which is comparable to WebObjects' Direct to Web.

For more information on changes to Java Client, see the chapter "What's New in Java Client" .


LDAP Adaptor

EOF 4.5 comes with a new sample adaptor: the LDAP adaptor. The adaptor provides a simple way to verify a user's password on the Web with an LDAP server. For more information, see the section "LDAP Adaptor Example" in the chapter What's New in Enterprise Objects Framework.