Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difference between Lightweight and heavyweight objects

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi All,

Can i know what is the industry definition for lightweight and heavyweight objects?

One about AWT is heavyweight and SWING is lightweight for usage of navie system resources is okai.

Is there anything in for just java objects to be said as lightweight or heavyweight ?

Things in my mind like :
1) Use of hierarchy of objects.
2) heavy in memory.
3) something like EJB is heavy ?

Cheers,
Amit
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please don't cross-post. Closing this thread; please continue discussion at https://coderanch.com/t/374015/java/java/Difference-between-lightweight-heavyweight-objects
 
    Bookmark Topic Watch Topic
  • New Topic