• 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

B&S: multiple clients running standalone mode?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings,

I'm currently doing the Bodgitt and Scarper project and I'm wondering if it is allowed to run more than 1 client using standalone mode. If that's the case, I will run into problems if 2 clients update same contractor since i am caching data and not everytime reading from the db file.
Any help is greatly appreciated.

Thanks,
Ken Fook
 
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The URLyBird spec specifically says to "assume at most one client is accessing the database". Or something to that effect, check your spec as I'm sure it says the same.
NB Client here means a database client, in other words you should only worry about concurrent requests from your server.
If your server is running then no stand alone clients can run, no other server either, but you don't have to prevent this.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ken,

I am doing B&S 2.3.1.

File access out of the JVM is not your concern. If another JVM is accessing the file then locking or how up-to-date data is should not be issue.
 
Something about .... going for a swim. With this tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic