• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Network Approaches

Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi reader,
My specification says "You may choose between using RMI, or using serialized objects over TCP socket connections".
In the above quote do you think the word "over" is being used to completly deny the use ServerSocket's and Sockets in writing data server code.
Secondly, to contradict the above statement specification also says " You must create a data server that will accept multiple concurrent network connections and allow them to interrogate and manipulate the database".
From, this I dont think by only creating RMI server would help (As, it can also accept multiple connections and can serve the request's to its respective client). But using that would seem awkward. ServerSocket implementation is must to acquire multiple client socket connections. Further it can communicate with RMI.
Waiting for your opinion's
Posts: 17346
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The over is not saying use this over that. It is really one this "Object Serialization over Sockets" meaning you serialize the object and send it through a socket. The over means through ,or by way of, or using sockets.
Both Sockets and RMI will allow multiple clients to access the sserver. And yes just the Registry is not enough to handle the multiple clients, you need to create a server. In both cases "Serialization over Sockets" and "RMI" will require you to create a server.
Hope that clears things up for you
    Bookmark Topic Watch Topic
  • New Topic