• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How should I begin??

 
Erico Vasconcelos
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have passed the programmer Exam and started to study the core API's for the developer exam.

I'm doing well when writing classes for a single API such as for a GUI design but I have a problem when trying to build complementary classes for the project.

Where should I start when making a project? Whith the GUI, Database, Networking???


Thanks,

Erico Vasconcelos
SCJP
 
Steven Hoodless
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Erico,

Try this:

Use an IO program to create a file with a header and data. For example:-

Header:

FileID, Field1Name, Field1Length, Field2Name, Field2Length etc... ie

"1234, Name, 10, Address, 25, Age 3"

Data (obviously field sizes are 10, 25, and 3 (total record length 38)):

"Steven My Address 1 21"
"Fred His Address 2 69"
"Mary Her Address 3 12" etc..

Now can you write a mini-app that can read the header, figure out what data to expect and then read through the data parsing each 38 char record into 3 fields and print them to the screen?

This is how I began my SCJD app. From here its simple to put in a find method, or build a delete, update method but maybe not the best use of your time. If your app can read the file maybe its time to download the exam and get your app to read the file that Sun provide.

Then build the data class over the Sun file to provide the add, update, find functionality.

Would this get you started?

Steven
 
Inuka Vincit
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did what steven mentioned just now.
Apart from that order the SCJD book that listed on the FAQ(forgot the name)
Read this forums, and learn what problems others have faced, and use it so that your design doenst have the same problems. After reading the problems I decided not to use a set for locking like many have used.

If you dont have architecture experiance, read design and design patterns books on how to breakdown a problem. Try to architect, breakdown the problem as much as you can before you code. This way you can explain what you have done and its shortcommings for the essay test as well as have a good design that would need minimal testing and debugging time.

I have also been looking into JUnit testing as well.

You dont have to do all this, but I want to try and learn the most from this project. Because in reality anybody can write code, but not everybody can write clean code, backed with a good design architecture. Thats what I learned from my architect(and mentor)... this project is exactly that clean design and clean code(well thats my humble opinion anyways).

Thats what I have been looking into your millage may vary.
[ October 07, 2004: Message edited by: Inuka Vincit ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Erico, my suggestion is to sign up for the cert, download the assignment, and start working on it. Whether you start on the client or the server-side really doesn't matter. Try learning as you go along, you will find this very helpful and educational. This is probably the only time you will not have any deadline, and can just jump right into it.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic