This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

passed 136/155

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Would like to thank you all for the discussion that help solve and understand lot of things in Java
General Considerations(maximum = 58): 52 Documentation(maximum = 20): 20
GUI(maximum = 24): 19
Server(maximum = 53): 45
 
ranger
Posts: 17344
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Raphael.
Could you tell us a little about your design decisions?
Thanks
Mark
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rapheal,
Congratulations job well done!!
Mike
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good job Raphael
 
raphael Bereh
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THANKS Mike,
Well the main design points in my implementation where :
* use of an Object to encapsulate data on flights. So I ahd a class which fields are the database fields. This makes it easy to manipulate the different record (comparing, looking for values ...) In the other hand, a change to the db structure will require subclassing or modifying this class.
* On server side, I opted for a 3 tiered server separating db Server (all operations manipulating the database) and application server (all client remote methods called directly from client). Helps to load ballance servers if needed.
* for crieteriaFind, implemented a 2 recurisive methods : 1st method selects all that match the 1st crieteria, and second method recursivelly remove all selected data that does not match other criteria. Quite long method as all fields are part of the if(){;}else if(){;} statement. Do you guys have a better algorithm ?
* I did not create any log file - not not know about jakarta Log4J at the time - but redirected debug and error messages to a Status Pane in client's GUI. The Logger class would have been usefull as I did use JDK 1.4 at the end !
So that's it,did loose a lot of points though.
 
Are we home yet? Wait, did we forget the tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!