File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Legacy classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Legacy classes" Watch "Legacy classes" New topic
Author

Legacy classes

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
Why Vector and HashTable's are called as Legacy classes?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Legacy: "...Computing - denoting software or hardware that has been superseded but is difficult to replace because of its wide use." ~Oxford

Java's newer collections framework provides alternatives that are generally preferable to Vector and Hashtable. In particular, see ArrayList and HashMap. So although new code (probably) shouldn't be written using Vector and Hashtable, there's still plenty of old code out there keeping these classes alive.
[ February 14, 2005: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Legacy classes
 
Similar Threads
legacy classes
properties usage in ejb,not others
legacy
Another 'Y' game
finalize method