Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Lock Method On Server

Anurag Mishra
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Calling Lock Method From Client
booking(String f_num){
msg=intf.ticketBooking(-1, 0);
Locking Method On Server
public String book(int rec, int tickets)throws DatabaseException{
DataInfo info=null;
String msg=null;
msg="Database locked";
Record Modification
Is This idea is allright any better idea is always welcome
Anurag Mishra
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!