Cleverson Schmidt

Ranch Hand
+ Follow
since Feb 17, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Cleverson Schmidt

Hi,

Is it possible to check in any field in a form has changed before submiting the form? I just want to allow the user to submit the form if he has changed something. The form fields will be populated by the application and the user will be able to change them.

Does anyone here knows how to develop a generic function that checks for changes in HTML forms?

Thank you in advance
Hi Srikanth,

Thanks
I've read the Kathy Sierra/Bert Bates book to remember the 1.4 topics. Even being a bit outdated for this certification, this book is still essential. The new features are covered by some tutorials found in Sun's web site (take a look at this thread for more details) and also in these study notes.

Regarding the pattern for the questions, I'm not sure but I think I got something like 10 questions about generics and 6 or 7 about concurrency.

Good luck

Best Regards
Cleverson Schmidt
[ October 03, 2005: Message edited by: Cleverson Schmidt ]
19 years ago
Hi

I did the test yesterday and passed with the score of 81.
This test was a good surprise. Sun realized that the Programmer certification was losing its value and made the updated test much harder.

As usual, lots of tricky questions. The concurrency part was really tough. As I'm not used to the new features, I have read many articles but haven't got time to use them on my daily work, I lost some points on things like DateFormatter, Scanner and some tricky questions on autoboxing. There was also one drag and drop question regarding accessibility modifiers which I read more than 10 times but no way to understand it.

I was affraid of the Generics questions, but fortunately Sun did not go that deeper on this topic. It is worth to study how Generics and legacy code can be mixed. There is a very good tutorial about Generics on Sun's site that covers many aspects required for the exam.

Also take care with serialization questions which were also very hard. You have to know how Serialization is applied in the class hierarchy.

That's it. Good luck on this test guys

Best Regards
Cleverson Schmidt
19 years ago
Smitha,

Although they for sure represent the same value, they are different objects. Each time you call toString, a new String object is created. The Byte class has its toString method overriden to convert its byte value to a String. As String objects are immutable, each time you call toString, a new String has to be created and this is why you get the "False"
Hi Thomas,

I passed the exam 2 weeks ago and I did not implement the 48 hours rule. Also, I remember I've read a thread from one guy who has been reproved due to the same reason. He appealed to Sun and after a month or so his grade changed from F to P. So, don't worry to much. The 48 hours rule will not make you to fail.
Good luck
Hi,

I know that this is not the right place to write this post. But I will put it here anyway Sorry Andrew

Please let me justify my act. I've dowloaded my assignment 2 years ago - - I got stuck many times and when I felt that I couldn't go on with my project I always came back to this forum and took strength from people who post their happy results here. So, I hope this post can also encourage some of you who are also stuck in some tough point to keep going. It doesn't matter how long you take to finish it, the most important is the learning process you submit yourself to have it done. So, if you feel ashamed that you have downloaded your assignment a long time ago, remember that there is a guy in the forum who took more than 2 year to accomplish it

Here it is:

General Considerations (maximum = 100): 100
Documentation (maximum = 70): 70
O-O Design (maximum = 30): 29
GUI (maximum = 40): 36
Locking (maximum = 80): 44
Data store (maximum = 40): 40
Network server (maximum = 40): 40

Yes, I got the infamous 44 on locking. This is the part of my assignment I spent more time doing, testing and assuring that it would be right. I've read hundreds of posts here discussing possible flaws on the lock strategy and I thought my strategy were good enough to avoid this damn magic number

But it is ok. I'm really happy with my other grades. And of course I can't forget to thanks this forum and all the guys who contribute to make it the best Java forum in the world. So, as usual, a big thanks to Andrew, Max, Jim, Mark, Phil(in memory) and everyone else who is participating actively of this great knowledge base.

See you....

Best Regards
Cleverson Schmidt
19 years ago
Joyce,

I think you're right. I've tried to get rid of those spywares running an anti-spyware on my PC but even after removing some infected files I can't access cermanager yet. I will do that later at home.
Nevertheless, thank you for helping me

Best Regards
Cleverson Schmidt
19 years ago
Hi Joyce,

Wow!! You are really fast

The certmanager web site looks strange to me. I can't see the user and password fields anymore. When I try to access it, an odd page appears on my browser. On the top right corner, the following message is displayed:

This domain has expired.
Click here to renew it.


On the rest of the page there are a lot of useless ads.
I will keep trying to access it.
Thank you Joyce

Best Regards
Cleverson Schmidt
19 years ago
What happened with certmanager? I can't login anymore.
19 years ago
Unbelievable!!
Three years (!!!) later and this problem is still there
Ta Ri Ki Sun,

I've yet to see someone post that they've passed without implementing those methods


So click here

Cleverson Schmidt
Hi Olena,

Why don't you provide both ways by giving the user an editable JComboBox? This way, the user will be able to both select a value from the list and type his own.

Best Regards
Cleverson Schmidt
Hi

From my specs:


Is it ok to interpret a null value on the data array as a request to ignore this value on the update process? I mean, suppose I just want to update the first column from a given record, then I would call update passing the following array:


The update method would change the first column value from the recNo record and the rest would be left untouched.

Do you agree on that interpretation or a NullPointerException is more "normal"?

Thank you
Best Regards
Cleverson
Hi Zee

There are some people who have already passed without providing a real implementation of create and delete. But according to the requirements:

Technically speaking an empty implementation is an implementation, but your grader may disagree and you may have to explain why your didn't provide a "real" implementation.
So, to save you some time and a possible headache, provide a real implementation for them.

Best Regards
Cleverson Schmidt
Hi

Initially I started my project providing just one Data object to all clients. But I started to have problems with multiple clients accessing the same RandomAccessFile object(through a Services fa�ade). The problems are caused by file pointer changes leading to unexpected results. To solve this problem the first idea I came up with was syncronizing on the RAF, but I consider this approach a little bit dangerous as I'm already syncronizing on a map object which holds the locks. My project could easily end up on a dead lock. Therefore I gave up the syncronizing on RAF solution and now I'm starting to think in providing a Data instance to each client. This will certainly solve the multiple RAF accesses problem as each client will have its own Data instance and so a file pointer. But here comes the problem. How can I provide multiple Data objects, one per client, on my RMI solution?

I have an interface exposing my business methods to be accessed by remote clients:

The realization of this interface is the remote object implementation:


This class performs its task delegating the calls to a local ServicesImpl object reference which is an attribute of RemoteServicesImpl. The ServicesImpl class is the class which holds a reference to a Data object. So, by using the RMI infrastructure, multiple client requests are handled automatically, each client request has its own thread, but the remote object is always the same and so is the Data object. Is it possible to provide a new remote object (RemoteServicesImpl ) to each client? Or all clients are handled by the same object? How can I provide one Data object to each Client?

Thank you in advance

Best Regards
Cleverson