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
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.
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
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.
Post by:autobot
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