• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Passed 87%, some thoughts....

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SAF,
Was there any reason for not creating two jar files client.jar and server.jar? Thanks for your time.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Safarole,
Did u asked the USER to specify or enter the location of the data file (db.db) ?
Thanks,
Arvind
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luna,
It wont make any difference if you use 1 jar file, or 12 jar files when you submit your assignment. I choose to use one jar file.
The location of the datafile must be specified by whoever starts the server. So, if the examiner wants to start the server, they must execute the following command.
fbnserver [port] [datafile]
SAF
 
Luna Bora
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, how did you write UML exam?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congrats on passing the exam.I am a new to this forum.I downloades my developer exam and i too have conversion tool.I am not sure exactly what i should do in this.Do i have to set up the connection to the database and add these records to the database or should i just leave with converting the ascii to binary file.
please do explain me.
-Thanks.
 
SAFROLE YUTANI
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kalyani,
The conversion tool does not communicate with the server or database in any way. The conversion tool simply reads the contents of an ASCII data file, and for each line in the ASCII file, it creates a record in a RandomAccessFile. Essentially, you read a text file, and create a binary file from it. The binary file will eventually be used by the database at some point when the server is running, but the tool does not have to worry about that.
SAF
 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Safrole, I don't see any instructions in your readme.txt to run the program in local mode, did you provide them somewhere else? Thanks.
 
SAFROLE YUTANI
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adithya,

The user specifies the connection type via the logon dialog window. This is a cleaner approach in my opinion.

SAF
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Saf
hope you remember me.
two doubts
1.how did you implement timeout in lock/unlock.
2.which class you used for gui look and feel.
thanks
Pooja
 
pooja vij
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
will u explain me how u have implemented ur serverside.what are the things u have used like reflection or not and how u made ur sever interact with the data class.please explain me in details.
thanks,
pooja
 
pooja vij
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
will u explain me how u have implemented ur serverside.what are the things u have used like reflection or not and how u made ur sever interact with the data class.please explain me in details.
thanks,
pooja
 
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic