Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database notifications - RMI vs Sockets

 
Paul Kelcey
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've just started working on my requirements / design and I am wondering whether the database server should notify other on-line clients when another client makes a change to the database. For example (and I'm not sure of the database design and requirements yet) if one client books a seat, then another client immediately has their user-interface updated to reflect the change rather than having to refresh.
Firstly, is this overkill? Would the examiners be happy with just the ability to refresh a client?
If it's not overkill then it seems to me that RMI becomes less attractive and sockets become more attractive. I also saw some mention of FileChannels? I'm not sure what they are but I am going to have a look at it.
Anyone else have any opinions on this?
Thanks in advance,
Paul Kelcey
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I've just started working on my requirements / design and I am wondering whether the database server should notify other on-line clients when another client makes a change to the database.

It is explicitely stated in the requirements that when a client books a flight, there is no need to reflect that change in the other clients' GUIs.
Eugene.
 
Paul Kelcey
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note to self: Read more carefully before posting dumb questions.
Thanks Eugene.
PK
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read more carefully before posting dumb questions.

There is no such thing as a dumb question. Oh wait I misread what you just wrote.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic