Matt R. Hansen

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

Recent posts by Matt R. Hansen

Isn't Object Oriented Programming syntactic sugar?
17 years ago
In a computerworld article, Gosling said:
"The big problem that Swing has is that it's big and complicated. And the reason that it's big and complicated is that it is the most fully featured, flexible, whatever-way-you-want-to-measure-it UI [user interface] tool kit on the planet. You can do the most amazing things with Swing. It's sort of the 747 cockpit of UI design tool kits, and flying a 747 is a little intimidating, and what people really want is a Cessna."

Sure, the 747 still needs some work, but Sun has a fleet of planes to take care of. And they do it at virtually no cost.
17 years ago
Sorry about the spelling Phil...
18 years ago
Thank You Phillipe, I have read many of your posts.
18 years ago
Thanks to all in the SCJD forum.
Here are the results of my exam. I lost points in General Considerations and Documentation.
Section Summary:
Section Max Actual Points Points
General Con: 100 83
Documentation: 70 44
OOD: 30 30
GUI: 40 40
Locking: 80 80
Data Store: 40 40
Network Server: 40 37
Total: 400 354
18 years ago
To be safe, I would definitely use the default look and feel.
For testing your networking, I would highly recommend testing from different
machines. For example, when the client looks for the server in rmi, if the
url is wrong or not found, the default might look at the loopback address on your machine.
I will be able to let you know in a couple of weeks, but I haven't tried yet.
It's a long shot, but maybe using another web browser would do the trick... I have seen problems similar to this with some browsers.
I really do not believe that it is a rule to declare your variables at the beginning of a method. However, here is Sun's take on it:
Without seeing the exact code, I am going to suggest that maybe when you are checking your key you are creating a new object. So you may be comparing 2 different Objects. For example, if you are comparing 2 Integers, try comparing their int values. Such as, Integer.parseInt(). The Values of two Integers may very well be different.
Could this be a possibility?
If I understand correctly,
Client calls bookFlight(),
bookFlight calls "update()"?
If this is the case, when are you calling lock() and unlock()? I would expect it to be called from within the bookFlight() method.
public static bookFlight() {
Is this how you are doing it?
I will be out of town for a couple of days, but I will try to check in.
Are you calling these methods any time you are performing an update, delete, etc...?
Just as a side note, I have emailed with a question and I was able to get a response.
I was unclear on the instructions as to whether the client needed the ability to tell the server where to find the db file. Here was their response:

Assume that in networked mode, the server and the database file are on the
same machine. In this mode, In local mode, the gui and the database are on
the same machine.
The client does not need facilities to tell the server where to find the

It was brief, but they answered.
The instructions are saying that if a client runs your application, they should not have to install a Development version of Java in order to run your application. The user should only have to have a JRE (Java Runtime Environment) installed on their machine.
Before you submit your application, make sure that you have tested it on at least Windows and Linux. Test on as many platforms as you can before you submit. You want to be sure that your file paths, etc. are going to work in all situations.