File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes wat r legacy classes in JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "wat r legacy classes in JAVA" Watch "wat r legacy classes in JAVA" New topic

wat r legacy classes in JAVA

kotha vijaybabu
Ranch Hand

Joined: Jan 28, 2006
Posts: 77
hi, all

i hav a question abt wat are LEGACY CLASSES IN JAVA

can anybody explain...

thanx in advance



toward scjp
Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
I've never heard of "legacy classes" in Java.

Perhaps you mean "deprecated classes" (classes provided for backwards compatbility with earlier versions, but which you're discouraged from using in any new code that you write).

Or perhaps you mean that (new) Java programs can "wrap" legacy applications (such as old IBM CICS applications), permitting old programs to run in newer environments.

'Hope that helps .. PSM
kotha vijaybabu
Ranch Hand

Joined: Jan 28, 2006
Posts: 77
thanx santa mariaaa
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Or perhaps you mean old classes that someone else wrote many years ago. The term "legacy" is used in this context quite often as in "legacy code". This simply refers to code that was written previously and is still in use.


Java API Documentation
The Java Tutorial
Chris Hendy
Ranch Hand

Joined: Mar 04, 2006
Posts: 98
In his book Working Effectively with Legacy Code, Michael Feathers defines legacy code as code without unit tests. Bear in mind that this is his personal definition, but the more people that read his book the wider its usage is likely to spread.
I agree. Here's the link:
subject: wat r legacy classes in JAVA
jQuery in Action, 3rd edition