• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Database notifications - RMI vs Sockets  RSS feed

 
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
 
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
 
ranger
Sheriff
Posts: 17314
11
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
Boost this thread!