This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Requirement

 
Christian P�cher
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I have one requirement I would like to crosscheck with your help.
"... because the data must continue to be manipulated for reports using another custom-written application, the new system must reimplement the database code from scratch without altering the data file format."

I understand this requirement, that I have to be able to handle concurrent read/write access to the database file from outside of my application, which could be a bit tricky to implement. Do you agree or do you think, there will be external read-only access?

TIA, Chris
 
Thomas Paul Bigbee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way I read it, is this, you are required to submit the original "untouched" database that you received with your project, I imagine this is so that can run a test suite against your data access methods, and have known results come back, which means in essence that you cannot modify the database format. The whole part about the external reports is just to give a reason for that requirement. I would not worry in the least about someone from outside the application writing to the database.
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good morning,

and here comes my version:

this is a justification for the fact that a new program (the one we are writing) deals with a data structure from stone times (the data file format).

sun does not want to produce us too much overhead with with more complicated (=appropriate) data structures, so they deliver a little reason - this old, important legacy reporting tool - why we are coding a company's data storage against a flat text file... in 2005 :-)

many greetings,
jan
 
Alex Sharkoff
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Christian ,

I agree with Thomas. I guess your specification also states that : You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server.


 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11945
212
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jan
this is a justification for the fact that a new program (the one we are writing) deals with a data structure from stone times (the data file format).

sun does not want to produce us too much overhead with with more complicated (=appropriate) data structures, so they deliver a little reason - this old, important legacy reporting tool - why we are coding a company's data storage against a flat text file... in 2005 :-)


Wouldn't surprise me

In their defence though, you should have seen some of the solutions provided for the earlier assignments. A lot of the restrictions (where Sun says "you may not do 'x') have been to ensure that candidates submit something that the assessor can recognize.

Regards, Andrew
 
Christian P�cher
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alex Sharkoff:
I agree with Thomas. I guess your specification also states that : You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server.


Yes, of course you are right. Somehow I did not really understand that sentence in the first place.

Thanks a bunch, Chris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic