This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Difference between Lightweight and heavyweight objects  RSS feed

 
amit ang
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • 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
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't cross-post. Closing this thread; please continue discussion at http://www.coderanch.com/t/374015/java/java/Difference-between-lightweight-heavyweight-objects
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!