• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

finalization

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. can ant be used to produce a submission.jar? Is there any name required for submission.jar? (I know - it is to contain runme.jar)
2. how do you think? should read be between lock and unlock? i.e. every time we search for rows we have to read them to check if they match query.
I think every row should be processed in locked code so the currently processed row will not be changed by update or delete
3. Data class testing: I created some JUnit tests which just run a lot of reading/writting threads. Do you think for automatic testing that is sufficient for threading?
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Thomasz,

1. i did it with ant, too. when you upload your assignment, the certmanager give you a name for your jar, something like scjd_sr<id>.jar, where you put all your files in.
2. i used jdk1.5 locking, so i used read-locks for reading, when writing the read-locks will be blocked.
3. use this class for testing: https://coderanch.com/t/188740/java-developer-SCJD/certification/Testing-Tool-Data-Class

hope that helps,
greetings, Markus
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi:
-I use ant to build and packaging the submission. Do you use it too to create the submission?
take a look:


-I found this testcase useful:JUnit Test Cases. They went fine.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic