This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes when object  to be distributed? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "when object  to be distributed?" Watch "when object  to be distributed?" New topic
Author

when object to be distributed?

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
when objects to be distributed?.Why can't all object exist in same same physical computer(vm).IF it needs any perfomance improvment ,i can use caching?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


IF it needs any perfomance improvment ,i can use caching?

If your application is CPU bound, how does caching help? If your perfoamnce problem is memory bound, how does caching help?

Caching typically helps when data is sourced from some persistant store the has a high IO impact. Its not a panacea for all performance problems, indeed it may cause performance issues if your application is not distibutable and you start to hit the limits of your JVM's heap.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
when objects to be distributed?

please address this question
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Performance is the main reason. Two possible perfomance issue I mention above. Given all performance issue on computers boil can be cused by:
  • the CPU
  • memory
  • IO

  • adding more of any of the above is a way to fix the perfomance issue.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: when object to be distributed?
     
    Similar Threads
    Query about using Local Interfaces in EJB
    Clone object created at the stub?
    how would you keep the single instance of an object over multiple JVMs
    SessionAttributes Doubt?
    What is REST?