Forums Register Login

Booking flight at server

+Pie Number of slices to send: Send
Just want to inquire to those who decided to put the "booking flight" at the server side. Does in means you created 2 remote objects, 1 for the Data instance and another for the "Flight" class that contains the booking method.
Appriciate very much your reply here.
Luis
+Pie Number of slices to send: Send
anyone out there wiling to answer my inquiry?
your reply will be truly appriciated.
Thanks in advanced
Luis
+Pie Number of slices to send: Send
You may only use one remote object - server booking logic, which will be responsible to talk to Data class. So Data class does not need to be remote. It is local object relative to the server.
+Pie Number of slices to send: Send
Ruilin thanks for your reply...
I understand that part that if your going to put the booking intheserver, the "flight class" should be the only one object available (remote). My question now is, how can we implement the public methods of the Data class in this case? I think when you put the logic (bboking) in the server, the public method of the Data class is not needed here anymore. Does it make sense?
Someone can advise me here?
Thanks
Luis
+Pie Number of slices to send: Send
As far as I see the Data Class does not have any Flight specific logic. Nor should it.
THe data class should be reusable to access other databases so no FLight booking should be put into Data on either Server or Client.
The booking logic should reside in an another client class that will use Data class's "modify" method to book flights.
look! it's a bird! it's a plane! It's .... a teeny tiny ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 683 times.
Similar Threads
deprecated method
Passed 138/155
criteriaFind Interface?
Regarding db.db file
FLIGHT SEARCH LIST --- AVAILABILITY OF SEATS
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:56:46.