Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wat r legacy classes in JAVA

 
kotha vijaybabu
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, all

i hav a question abt wat are LEGACY CLASSES IN JAVA

can anybody explain...


thanx in advance


cheers

vijay

toward scjp
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx santa mariaaa
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Layne
 
Chris Hendy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic