Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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
  • 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

what prepartain for the Test

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
after uploading the exam, a written test is required. What preparation would you recommand for this test? I've been told to take it without any preparation at all - provided one has completed the assignment himself. (which i have )
Is there any list of (dis-)advantages for RMI vs. Sockets, etc.?

thanks
Martin

 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You do not need to study for the test. But the RMI vs Serialization, it is ggod to know at least three advantages and disadvantages.
Advantages
1. Sockets and communication handled for you.
2. Clients don't need to have the Class code to run, they can download from RMI server. So changes to server code does not necessarily mean you need to change the client.
3. Thread pooling is handled for you.
4. Handles security for you through RMISecurityManager
Disadvantages
1. More overhead, not as fast as Object Serialization
2. Cannot guarantee threads will support the same client on multiple calls.
3. Java only. Cannot use other languages to access.
Ta da. I got it this time.
Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, and also do a search on Serialization vs RMI on this forum, and you will get plenty of hits.
Mark
reply
    Bookmark Topic Watch Topic
  • New Topic