This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed 149/155

 
Justin Wong
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,
I just checked the galton site and my result is posted:
Test: Sun Certified Developer for the Java 2 Platform (310-027)
Date Taken: 2001-08-28 23:51:50.200
Grade: P
Score: 149
Comment: This report shows the total points that could have been awarded in each section and the actual number of points you were awarded. This is provided to give you per-section feedback on your strengths. The maximum possible # of points is 155; the minimum to pass is 124. General Considerations(maximum = 58): 56 Documentation(maximum = 20): 20 GUI(maximum = 24): 24 Server(maximum = 53): 49
Although I'm pleased with my result, I didn't expect to score this high as the project was very rushed - I passed SCJP on 08/02, downloaded the assignment on 08/07, finished & uploaded on 08/17, wrote the test on 08/22 and got the result on 08/28. The six day turnaround time is very impressive. Special thanks to this forum as well as the Yahoo SCJD forum for all their help.
The exam itself is very straightforward - you shouldn't have any problems with it if you did the project yourself and have good reasons to back up your design decisions. I still remember the questions, but I'm not sure if the mod will allow me to post them.
I'll stick around to answer any questions you might have.
Justin
 
Devu Shah
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrates justin,
I just can't believe one can pass in so short time!! I took this much time just to understand their assignment!
Congrate once again.
Can u eloberate on your (architecture)design part ? how many java files u developed ?
How was your GUI ?
what about future changes in GUI ?
Any SO Called pattern u mentioned in your doc ?
thanks in advance
devu
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<h2>Congratulations</H2>
Welcome to the Club
------------------

Mahindrakar
IBM Application Server Forum Moderator
Consultant - Zensar Technologies.
SCJP2, SCJD2 & SCJEA (Part I)
 
harcharan kanwal
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congratulations wong,
this is a great achievement for you.
i have question about command line parameters.could you expalin your command line parameters .With what command line parameters the server and client were started.
i have a Remote interface and my Data class implements Remote Interface.I have a server class ,which implements Remote Interface and extends UnicastRemoteObject.In this server class , i need a reference to Data class ,so i can write implementation of methods that i am implementing with Remote Interface, but i do not like to make this Data object as remotable.How can i do this.
thanks
kanwal
 
Justin Wong
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devu,
Thanks - it seems like a short time but I did spend a few days prior to downloading the assignment reseraching RMI, design patterns and Swing.
> Can u eloberate on your (architecture)design part ?
1) Used RMI instead of sockets
2) There's a huge discussion reguarding tracking the client ID, but because I was pressed for time, I bit the bullet and left the signatures unmodified and I didn't bother tracking the ID.
3) Modified rather than extend Data
4) My CriteriaFind method works for any field that is passed into the method, not just the origin and destination.
> how many java files u developed ?
I have a total of 3 packages, the client (13), server (3) and db(5)
> How was your GUI ?
My GUI was very simple and straightforward - I used the gridbagLayout as the main layout for the frame. In the northern panel, which is my search panel, I have 2 combo boxes which contains the selections for the origin and destination aligned to the left and a search button aligned to the right. In the center panel, I have a table which displays the contents of the flat file dbase. In the southern region, I only have 1 button - "Book" which is centered. I also added a menu bar to close the program and a help option to display a brief user manual.

> Any SO Called pattern u mentioned in your doc ?
I didn't spend too much time reading up on patterns. The only patterns I used are the factory and adapter patterns which enables the program to be started in local or networked mode depending on the command line parameters.
Good luck!
Justin


[This message has been edited by Justin Wong (edited August 31, 2001).]
 
Justin Wong
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Harcharan,
Thanks!
>i have question about command line parameters.could you expalin > your command line parameters .With what command line >parameters the server and client were started.
I'll just cut & paste a portion of my readme:

How to Run the Server
=====================
1. Assuming that all the files are extracted into a temporary directory
(ie C:\temp), type
C:\temp>java -jar -Djava.security.policy=server.policy server.jar %1 %2
where %1 represents the name and %2 is the port number of the server.
A working example would be:
C:\temp>java -jar -Djava.security.policy=server.policy server.jar localhost
1098

How to Run the Client
=====================
1. There are two methods of starting the client. If you wish to start the
client in local mode, just type the following
C:\temp>java -jar client.jar %1
where %1 is the location of the database.
A working example would be:
C:\temp>java -jar client.jar suncertify\\db\\db.db
2. The command to start in network mode:
C:\temp>java -jar client.jar %1 %2
where %1 represents the name and %2 is the port number of the server.
If you started the server with name "localhost" and port number "1098",
the command would be:
C:\temp>java -jar client.jar localhost 1098

>i need a reference to Data class ,so i can write implementation >of methods that i am implementing with Remote Interface, but i >do not like to make this Data object as remotable.How can i do >this.
I went with the method as you described after hours of considering the advantages and disadvantages between this method and others which require multiple interfaces. I lost 4 points on my server portion so there are probably better methods out there but I believe this one is the easiest to implement. Just make sure you catch all the RemoteException errors on the client end.
Justin
 
Devu Shah
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnk you very much for such eloberated answer.
All the best for your future
devu
 
harcharan kanwal
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi justin,
thanks for the answer and advice.
all the best
kanwal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic