• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

I cleared the exam with 87.7%

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
Thanks for the group for providing valuable suggestions and comments on my design. Just today I got my result. I cleared the exam with 87.7%
Here is the some info what I have done.
Created a client side data class like Fa�ade object and delegates all requests to its instance variables. (i.e. Data class and Remote Data interfaces)
Local mode my lock design uses thread as identity of the owner on the locked record.
I used RMI. My remote lock design uses Client host name as the Identity of the owner on the locked record.
In remote mode I have used lock leasing, i.e. client cannot hold a lock on the record for not more then 10 Min.
I extended the Abstract Table Model. This acts as a super class for customizing the table display.
Maximum possible # of points is 155;
The minimum to pass is 124.
General Considerations (maximum = 58): 53
Documentation (maximum = 20): 13
GUI (maximum = 24): 21
Server (maximum = 53): 49
Once again thanks for the group and the people who are keeping it live.
Regards
SMK Reddy
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!
Local mode my lock design uses thread as identity of the owner on the locked record.
Why was locking necessary in local mode?
I used RMI. My remote lock design uses Client host name as the Identity of the owner on the locked record.
Is host name a unique value, and how did you get it?
Documentation (maximum = 20): 13
Why do you think this was so low? What did you do?
 
SMK Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rick Fortier:
Congratulations!
[b]Local mode my lock design uses thread as identity of the owner on the locked record.

Why was locking necessary in local mode?
A) If two threads are trying to book a seats, if it is not locked, possibility of inconsistent data in the data store. This is a requirement in Suns' FBN exam
I used RMI. My remote lock design uses Client host name as the Identity of the owner on the locked record.
Is host name a unique value, and how did you get it?
A) Host name is always unique in a domain. you can obtain the client host name using getClientHost()(in RemoteServer class)
Documentation (maximum = 20): 13
Why do you think this was so low? What did you do?
A) I really don�t know what went wrong. I provided ReadMe files for client and server what describes exact command line information for Unix and Windows, OS, JDK version, complete list of packages and files in that package (.txt), Design choice documents for both client and server (MS word) and API User documents for Server and User document for Client application.
[/B]


 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(SMK, please don't stick your answers in the quoted text. When replying, quote sections in the original article are junked, so if anyone tries to respond to you, your replies get lost).
If two threads are trying to book a seats, if it is not locked, possibility of inconsistent data in the data store. This is a requirement in Suns' FBN exam
The requirement reads: "if two clients attempt to perform the sequence lock,read,modify,write,unlock concurrently, then both modification attempts will be handled correctly." I don't think you have to cater for multiple threads -- I don't really see what use it would be anyway. Even JDBC connections aren't multithreaded.
Is host name a unique value, and how did you get it?
A) Host name is always unique in a domain. you can obtain the client host name using getClientHost()(in RemoteServer class)

But multiple clients may well run on the same host. Think of a *nix box with X terminals. Your locking would break; I wouldn't be surprised if you lost some points over that.

- Peter
 
SMK Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May be it's true. I have lost some points because of that in my server deesign.
Regards
SMK Reddy.
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic