Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning 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
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

general comments

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi just thought I'd start a general comments thread. I just wanted to say that when I first looked at the specification I didn't have a clue how to do it and now that I see what it is all about it is making more and more sense to me.
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mandy,

I also intend to take the SCJD exam, and while I'm still on my way of saving some bucks for the voucher, I decided to have a "feel" of what the exam has got for the takers. Im reading, and sometimes post question regarding it and everything looks fuzzy right now but I know that when I get to have my hands on the assignment, everything will gradually be clear.

Goodluck to us!


Lhorenz
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Mandy, I am just starting out with my assignment and I am trying to figure out my input file. Things are getting clearer slowly, but I am banging my head on why the input file is so complicated.



Good Luck!
 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been working on this for over a year now, and it has gotten much clearer. I suggest taking a look at these threads: https://coderanch.com/t/185360/java-developer-SCJD/certification/Reading-db
https://coderanch.com/t/186239/java-developer-SCJD/certification/Reading-binary-db-file and getting a hex editor in order to deal with that file. I have that part done, but I'm a little stuck trying to incorporate it into the actual program, actually separating out individual records. But I'm sure I'm near a breakthrough! Actually, I totally wrote the file reader just from those two threads, so it's all there.
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first thing I did was write a data file parser. I read the various fields in, made a schema object, and then dumped the read fields to STDOUT. Once I was getting meaningful data values there, I knew that I was interpreting the file correctly.

Honestly, the file format is easy - it's a flat file; no indexes or anything nasty like that, and once you've worked out how to read data from it you're more than 50% of the way there.

J
 
Mark Ebeling
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks All!

I have been able to get the schema traslated and input into my program as ContractorRecords, with record numbers. I am working on getting my Data class to implement the interface methods.

All thanks to previous posts. This forum is awesome. I have literally spent 30 hours reading posts all the way back 5 years. I am so impressed with the help and community support. And I bought Andrew and Terry's book. To see Andrew posting with help really encourages me.

I still am going to have more questions, but I am moving forward.
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic