Marc Maréchal

Greenhorn
+ Follow
since Jan 08, 2005
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 Marc Maréchal

Can you clearly explains what your application should do ?

What I understand from your explanations is that through your Java application :
- some folders must be visible ;
- when the user try to access one of the these visible folders, the user will required to enter password information;
- If the password information is not correct, the folder becomes invisible.

Is a password required to access a folder EACH TIME a folder is accessed ?
Has each folder a different password ?
Where are the password information stored : in your application or associated with the folders and obtained through the OS ?

Is there something else worth mentionning ?


Marc Marechal
SCJP5, SCBCD5, SCJD6
11 years ago
Reflection is used by the Serialization proces if I remember well.

But in general you should not use it.
See the books : "Effective Java Programming" by Joshua Bloch :
# ISBN-10: 0201310058
# ISBN-13: 978-0201310054


Marc Maréchal
MCSE, CCNP, SCJP 5.0, SCBCD 5.0, SCJD 6.0
11 years ago
If your argument is not modified in the body of the function, declaring it final enables developper reading your code that they don't have to check if the argument is modified or not in the body of the function.
11 years ago
Hi Pradmo,

If your delete method throws SecurityException and RecordNotFoundException, a simple way to code it should be like




The call to delete() method should be preceded by a call to lock(), but it is perhaps not safe to count on lock() to performs some work which must be made by delete().
I just find my result today, althought the result seems to be in the cert manager since 18/02. I was only looking in certification database history, where my result is always to pending !

General Con: 100 90
Documentation: 70 70
OOD: 30 30
GUI: 40 28
Locking: 80 80
Data Store: 40 40
Network Server: 40 40

Total: 400 378

Anyone knowing how much time for the result to be displayed in the certication database, and to receive the scjd kit ?

Very happy with the result, but I expected more for my GUI.
For the general consideration, I suppose I have done something too complicated.

Marc Marechal
SCJPv5 SCBCDv5 SCJDv6
11 years ago
Hello,

The lock cookie is to be used when multiple network clients has concurrent access for the SAME record in update or delete operations.
So you need to use a lock cookie each time a network client want to update or delete a record.

Usage (example) :




Marc Maréchal
Hi Liviu,

As I stated above, it is for the network client to know that they try to update or delete an already updated or deleted record. Thus in this case I would send a RecordNotFoundException, since the logical record number the client have for the record is no more associated with a physical record.

Marc
SCJP 5.0, SCBCD 5.0
I am doing B&S 2.2.1. 85% done.

Marc Mar�chal
SCJP 5, SCBCD 5.
Hi,

You could also consider IBM 833/834 exams :
IBM Certified Solution Designer � Object Oriented Analysis and Design, vUML 2
http://www-03.ibm.com/certify/certs/38006003.shtml

Marc Mar�chal
SCJP5, SCBCD5, OOAD w/UML(IBM 486)
Hello,

I have to implement auto tab with JFormattedTextField. When the maximum (to define) characters are entered in the JTextField, the focus should move automatically to the next component. I will use getNextFocusableComponent() and requestFocusOnWindow(), but I don't know the best way to know when the max characters are reached. Also, I will use a DocumentFilter and an InputFilter.
13 years ago