• Post Reply 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

RMI required?

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
i am preparing for the exam..and i am using the HFSJ book..i absolutely don't have any background in RMI..so i am finding it difficult to understand the last chapter besides patterns..do i need to understand rmi before reading the last chapter or taking exam?

thanks in advance
-vrunda
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No RMI needed. That is for SCBCD.
 
author
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Vrunda,

You do not need to know how RMI works, but you do need to know what RMI does. RMI is Java infrastructure and APIs that allow distributed method calls. In a little more detail: a client program on machine X calls method calcShippingCosts() on a remote object on machine Y. What RMI does is that there is a proxy object on the client that includes the calcShippingCosts() method. The client calls this method on the proxy object. The proxy then converts the method call into a TCP/IP message to the remote JVM. The TCP message is read by the remote JVM and forwards the call to the remote object. The remote object performs the calculation and returns the result to the remote JVM. The remote JVM converts the result into a return message to the client-side proxy object. The proxy object converts the TCP response message into a Java value which is then returned to the client object as the result of its calcShippingCosts() method call.

So, what does this mean for the SCWCD exam? Basically, what you need to know is that a BusinessDelegate is the pattern which hides the details of dealing with making remote method calls. RMI is a "behind the scenes" aspect of the pattern.

HTH,
Bryan
 
Vrunda Joshi
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot Alex and Bryan,
will keep that in mind..
-vrunda
 
I think she's lovely. It's this tiny ad that called her crazy:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic