Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Implementaion question.

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all
I have gone through a lot of posts here. I have a question regarding the FBN project.
I try to implement a bookFlight method in my server side. But on my project description, I do have such a requirement on "Writing Data Client"
To connect with your server, you should create a client program. This implementation should include a class that implements the same public methods as the suncertify.db.Data class, although it will need different constructors to allow it to support the network configuration.
does this mean i have to implement book logic on client? So if i go ahead with my server booking logic, why i need lock and unlock on client?
Somebody pls help me.
Thanks.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tracy...
I also had that doubt when coding my project. In my opinion, it would be much better to have a remote server booking approach, but as you must follow the design guidelines "pretty strictly", I decided to code my booking logic on the client side (wrapped in a nice business delegate, of course).
I�ve read most people coded their booking logic, locking and unlocking, on the client side, and a few did it on the server side. All have passed. It�s really up to you... In any case, remember to justify your decision.
Benjam�n
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tracy - Read my response in this thread.
http://www.javaranch.com/ubb/Forum25/HTML/000832.html
 
Tracy Qi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.
 
Whatever you say buddy! And I believe this tiny ad too:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic