Legacy classes

0 views
Skip to first unread message

Arvind Chandok

unread,
Jun 9, 2008, 2:33:36 AM6/9/08
to technical-...@googlegroups.com
Hi Friends,

Hope all doing well.

Can anybody tell me what are legacy classes ??


--
Arvind Chandok
Contact : 9910014078

Vipul Sharma

unread,
Jun 9, 2008, 4:44:05 AM6/9/08
to technical-...@googlegroups.com
Hello Arvind

The term legacy has a similar meaning to its everyday usage; something that is left behind from an earlier time or passed down from one's ancestors.

In Java, legacy classes are system components that we continue to work with, even though they may be deprecated, use deprecated methods or sub-optimal programming techniques, for example. Systems may use legacy classes from third party suppliers that are no longer maintained, for which no source code is available.

Ideally, one would replace such legacy classes with contemporary implementations, but sometimes the extent of a system's dependence on legacy classes makes them difficult or un-economical to replace. In this case, it is often necessary to use adapter classes that enable legacy classes to work with new programming interfaces.


In collections we have all synchronised classes, Vector Stack and HashTable all are Legacy Classes.



--
Vipul Sharma I Software Engineer I Daffodil Software Ltd I Gurgaon I India I Contact : 9999064146

Arvind Chandok

unread,
Jun 9, 2008, 4:46:37 AM6/9/08
to technical-...@googlegroups.com
Thanx Vipul
Reply all
Reply to author
Forward
0 new messages