This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!

Vikas Sood

Ranch Hand
+ Follow
since Sep 03, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vikas Sood

Hi Folks,

I got certified today with 64 correct answers.

Vikas Sood
SCJP
SCJD
SCBCD
14 years ago
Hi Cheng,

The Treemap is getting sorted at the back end, that is in the session bean, I have printed its contents out there.But as i am using a data transfer object for bringing this TreeMap to the front end, as soon as i assign this TreeMap refference to the the setDatamap() method of this dto, it looses its order.Dto has among many methods a method for setting the map to itself
:


Can you suggest some way out. Am really stuck over here.

Vikas
15 years ago
Hi cheng,

It is not working even without the equals method in the comperator, can you suggest something else.

Rgds,

Vikas
[ July 08, 2004: Message edited by: Vikas Sood ]
15 years ago
Hi cheng,

My compare method receives String objects, which are made convertible via parseDate instance method.Date.valueOf method converts this parsed string into date object. I have teste this comperator using an normal java class, but it fails to give proper results when implemented from inside of a Statless Session Bean.

I will try and test it after removing the equlas method.

Regards,

Vikas
15 years ago
Hi Folks,

I am facing a very peculiar problem with TreeMap. I need store in formation in a map based on sort done on keys. I have implemented Comparator as an annonymous class for this sorting purpose at the time of intializing the TreeMap. But the treeMap is not following this sorting order as per the Comparator defined. I need to have sorted maps, sorted either date wise or String wise( i.e. Sunday, Monday ... etc). Can somebody help me in this.



Thanks & Regards,

Vikas Sood
15 years ago
Hi all,
Adding on to the topic of this thread, i would like to know does the IBM certification for Websphere is covering 5.1 version as well.
Vikas Sood
15 years ago
I would be interested in buying this book, can you tell me the price.
VikasSood
Congrats! Thats an awsome score.
VikasSood
SCJP,SCJD
Hi Friends,
Thanks to you all am through to the next league guys,have been checking the certmanager twice everyday for the last four weeks now.Got this result just now, i would specially like to thank Mark, Prakash, Andrew, Eugene, Peter and all of you who have helped make my journey to be an SCJD a success.
The following is the test result:-
Test: Sun Certified Developer for the Java 2 Platform (310-027)
Date Taken: 2003-07-23 06:52:05.750
Registration Number: xxxxxxxxx
Site: iia
Grade: P
Score: 145
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 number of points is 155; the minimum to pass is 124. Section Summary Report: General Considerations: Maximum=58 Deductions=5 Actual=53 Documentation: Maximum=20 Deductions=5 Actual=15 GUI: Maximum=24 Deductions=0 Actual=24 Server: Maximum=53 Deductions=0 Actual=53 Total: Maximum=155 Deductions=10 Certification Score=145
If i can be of any use to anyone in anyway do let me know.
VikasSood
16 years ago
Hi Friends,
Uplaoded and took the follow up exam around 3 weeks ago, but still nothing in the cert -manager.Should i send them a mail now to remind them about my pending result.
VikasSood
Hi Prakash,
Congratulations to being SCJD,
I can imagine how it will feeling to finally be certified.
VIKASOOD
16 years ago
================================================= :MAIN CONTENTS:
=================================================
1]Overview.
2]Server Design.
3]Client Design.
4]Record Locking implementation.
5]Record Search implementation.
6]RMI vs Sockets based Remote Server implementation.
7]Modification vs Extension of Data class.
8]DefaultTableModel vs Extending AbstractTableModel.
9)Generic Client vs Generic Server.
10]Use of standard design patterns.
11]Exception handling scenarios.
12]Thread Safety.
13]Flexibilty for extension in future implementations.
14]Code clarity.
15]Class and its members naming convention and use of intuitive field names.
16]Documentation.
17]Final Packaging for submission.
Think thats enough,
Kindly Comment
VikasSood
Thanks Mark,
You cant imagine my respite at this late juncture in not having to alter my implementation.
Regards,
VikasSood
hi Andrew
I have another question on the above topic.Thre i noprovision for corrupted database file,that is what i tried today, i removed around 5 characters from the database file and tried to check am i able to handle the exception caused, but as the Data class just worries about the IO and DatabaseException and change in db.db causes NullPointerException, i have a scenario where client when started with corrupted database file throws the exception and hangs. Do i need to take into account such a scenario.
Kindly comment.
I am at the final stages now, writting Design.txt and uploading on Monday and taking exam on Tuesday.
Thans and Regards,
VikasSood
Hi Friends,
I am writing the design choices document at the moment.An happen to come across the SCJD checklist which states something like this:

If any method like getRecord() returns null, is it being appropriately handled ?


I have only made arrangement for handling Remote and Database exception in my implementation.Should i also ahve an catch clause like:
catch(Exception ex){
.......
}
for the above kind of scenario.
Kindly Comment.
VikasSood