File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes FineGrained Objects vs Coarse Grained Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "FineGrained Objects vs Coarse Grained Object" Watch "FineGrained Objects vs Coarse Grained Object" New topic
Author

FineGrained Objects vs Coarse Grained Object

siva kumar
Ranch Hand

Joined: Sep 03, 2004
Posts: 86
what is the difference between Fine grained and Coarse Grained objects
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

Hi
These terms used to describe the level of details exposed by a component public interface.
A component which its public interface expose so much details about it internal structure and function called fine-grained.
A component with a lower level of details in its public interface called coarse-grained.
when we want to have afew method call and perform many operation we use
coarse-grained -usually in remote clients-
In OR mapping when you map each table to one EJB -so each row is one EJB-
you did a fine-grained mapping (its not recommanded) and vice-versa.


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: FineGrained Objects vs Coarse Grained Object
 
Similar Threads
Coarse Grained v/s Fine Grained Objects
Coarse grained v/s fine-grained objects
Croase-graind & fine-grained
Coarse-grained Objects
FIne Grained and Coarse Grained Objects