Michael Portwood-Enterprise Innovation, Execution Agility and Emerging Technology

Michael Portwood

Enterprise Innovation, Execution Agility
and Emerging Technology

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 that have, for one reason or another, been identified for eventual removal.

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

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