Connect:

Java's First and Only Undeprecated Method

As software developers using Java technology are well aware, deprecated methods are a constant source of aggravation. Deprecated methods are those methods targeted for eventual removal.

To date, Oracle, the copyright holder of Java, has not removed any deprecated methods (or classes). Still, developers are strongly encouraged to rewrite code that invokes deprecated methods.

Sun identified one method as deprecated but later rescinded the deprecation. The getParameterValues() method, found in the Servlet Development Kit (JSDK) replaced getParameter(). As a result of a vocal development community, Sun reversed its decision to deprecate the getParameter(), effective in version 2.0 of the JSDK.


Find more interesting articles by Michael Portwood at www.MichaelPortwood.com