This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • 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

Passed 385/400

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
General Con: 100 90
Documentation: 70 70
OOD: 30 25
GUI: 40 40
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 385

Thanks everybody for help
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!!
96.25% is really cool.

Shafique
 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations,
40/40 in GUI is unique
 
Leszek Zajac
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

40/40 in GUI is unique


I'm also surprised. I thought I'll get about 20/40.
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey congrats!!

Do you have any hints for us particularly for the locking section?

What do you think is the reason that a lot of us get 44/80? Did you take into consideration some locking case which is a bit remote ?

Cheers, Chris
 
chris bajada
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey congrats!!

Do you have any hints for us particularly for the locking section?

What do you think is the reason that a lot of us get 44/80? Did you take into consideration some locking case which is a bit remote ?

Cheers, Chris
 
Leszek Zajac
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't done anything special. I used 3-tier approach, that is my client did not call DB interface methods directly. I think that this solves a lot of problems.

There is one thing you should remember of. You must unlock the record in the delete method. Otherwise you'll have hanging threads. This was discussed in this forum.
 
chris bajada
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks mate!
 
Enthuware Software Support
Posts: 4892
60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!!!
Can you share how you implemented the GUI?
 
Leszek Zajac
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My concept was to make the GUI as simple as possible.
I have no images in my application.
I have to forms.
1. Configuration form.
Displays all configuration parameters (I have 4 of them) and current application mode (client, server, alone). Depending on the mode some configuration parameters are not available (controls are disabled, but you can see parameter value).
2. Client form.
Searching and booking on the left, JTable on the right, JSplitPane between them. I'm highlighting available rooms in the JTable. Simple sorting in JTable - only ascending order. Status bar at the bottom showing what is currently going on or how many room were found. Only two buttons on the form Search and Book. If you set focus to name or location textfield (searching criteria) the Search button becomes default one, so you enter search criteria and hit Enter and you get the results. The same for Book button. Main menu looks like this: File -> Exit
I've spent some time to make all of this resize nicely.

Play with your GUI without mouse. This will help to optimize it.
[ February 16, 2007: Message edited by: Leszek Zajac ]
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic