jwenting 1,905 duckman Team Colleague

why not just run it and see what happens?
Whatever happened to showing even the tiniest bit of effort and initiative?

jwenting 1,905 duckman Team Colleague

no, we're not going to help you write spyware.

jwenting 1,905 duckman Team Colleague

Indeed there is no "best". Do you think anything else would survive in the market if one program was "best" in such a way that it alone was suitable for anything and everything?
At most there may be a "best" program for a specific task in a specific environment for use by people with specific training.
But most likely even that is not the case and there's a host of applications to choose from that all will do an adequate job, the choice depending on personal preference of those making the decisions.

jwenting 1,905 duckman Team Colleague

if you don't know English well enough to understand books and websites written in it, learn it before going further as you WILL need it.

jwenting 1,905 duckman Team Colleague

by finding out what "core Java" is.

jwenting 1,905 duckman Team Colleague

RTFM, it should explain it all.

jwenting 1,905 duckman Team Colleague

the JDBC API has several options that may work.
getBytes(int) and getObject(int) on ResultSet come to mind.

jwenting 1,905 duckman Team Colleague

"I threw away all my medals"
"I did not have sex with that woman"
"It's all for the children"
"Islam is the religion of peace"

jwenting 1,905 duckman Team Colleague

ALF (the ecoterrorrist group) is hardly an American only thing though in other countries they often go by other names.
Unless you mean the TV series which was quite popular over here at the time.

jwenting 1,905 duckman Team Colleague

It's better than Daily Kos (though not by much)...

I wonder how he'd have reacted if a station had aired something that was anti-Kerry without censoring it back in '04...

jwenting 1,905 duckman Team Colleague

read the manual.
I'm sure Netbeans can do it for you, but your question once again shows very clearly why you should NEVER try to learn a new language by using an IDE as it only teaches how to click buttons.

jwenting 1,905 duckman Team Colleague

OJ did it. (Jay Leno's big lie)

Well, OJ DID do it (if you're referring to the brutal murder of his wife).
It's only because he's black and a celebrity that he got off.

Hi! I'm from the government, and I'm here to help you.

Always good to see Reagan quoted. That's one of his best statements, when he said that the most dangerous thing you could ever hear was "I'm from the government and I'm here to help you".

It's safer to ride bicycles on sidewalks.

Safer than what? I'm pretty sure it's safer than swimming in a tank with a swarm of piranhas for example, or sunning on a riverbank of the Zambezi river (famous for its maneating crocodiles).

Government can create jobs.

Politicians know what they are doing.

The government is excellent at creating jobs. Not that the people holding those jobs are very productive, but they are jobs.
Now if the statement mentioned that the government can create economic value, that would be wrong.

And politicians know full well what they're doing. They're filling their own pockets and increasing their personal power.

jwenting 1,905 duckman Team Colleague

why not?
It's their right to do so, to not distribute lies and content that's inflamatory if they don't want to.

jwenting 1,905 duckman Team Colleague

don't hijack threads started by others.

jwenting 1,905 duckman Team Colleague

random ape word kudu collection lawnmower contract killer application definition.

jwenting 1,905 duckman Team Colleague

take paper, take pencil, apply the one to the other.

jwenting 1,905 duckman Team Colleague

by first learning to program

jwenting 1,905 duckman Team Colleague

yup. typically will send a character representation of the screen (ASCII Art forever!) to the parallel port.

jwenting 1,905 duckman Team Colleague

one more thing. scientists may disagree on the degree at which each factor influence the bigger picture but that is it. in general there is consensus that rising levels of earth's temperature is because of greenhouse gasses put in the atmosphere by humans.

And that last is patently false.
There is NO such consensus, never has been either.
In fact there's not even a consensus on your first claim that those "greenhouse gasses" CAUSE the rise in temperature.
It is equally possible (and far more plausible) that at least to an extent those gasses are released into the atmosphere as a sideeffect of the changing temperatures, reversing the flow of cause and effect from the one the Goreites would have you believe in.

jwenting 1,905 duckman Team Colleague

can one of you perhaps explain to me exactly why you believe global warming to be a natural event? especially since consensus amongst scientists is that it is a manmade event?

Not only is there no consensus at all, but it's been proven time and again that the statements of those who claim there is are utterly false and inspired only by either religious fervour of political grandstanding (or both).

The climate of this dirtball has been changing for the better part of 4 billion years, ever since it came into being in fact.
It's not going to stop any time soon either, in fact not until the thing is destroyed during the latter stages of the Sun's existence.

Anyone thinking that everything was eternally nice and stable until the 1980s and that suddenly "human action" caused the climate to get "worse" is not only utterly misinformed (or an outright liar) but extremely homocentric.

jwenting 1,905 duckman Team Colleague

rope, tree, lawyer.
Some assembly required.

jwenting 1,905 duckman Team Colleague

"It's Bush's fault".

jwenting 1,905 duckman Team Colleague

if your code were "absolutely correct" you'd not be getting any errors.
Therefore one can only conclude that that code is NOT in fact correct.

jwenting 1,905 duckman Team Colleague

requirement to more include clearer question meaning.

jwenting 1,905 duckman Team Colleague

I am interested in your above method. But I still need to program differently for different column types to write equals (or compareTo) method, right?

Of course. How else are you going to get the data out of the resultset?

jwenting 1,905 duckman Team Colleague

correct. And if not you're describing a proxy server :)

jwenting 1,905 duckman Team Colleague

of course always remember that final only refers to the reference to an object, not the content of that object.
So if you make if final you can't assign a new HashSet to it but you can still change what's stored in it.

jwenting 1,905 duckman Team Colleague

Ah, yes. Corner a liberal on his own rhetoric and he changes the subject. Part and parcel.

they're pathetic. You can take any of their conspiracy theories about what rightthinking people are supposedly planning and recognise immediately things that the left has been doing themselves for decades...

jwenting 1,905 duckman Team Colleague

Reefs in the southern hemisphere are bleaching despite (or is that because of?) a cold winter.

Of course the green mafia blames it on "global warming" but they're just perpetuating their lies of the last decade.

jwenting 1,905 duckman Team Colleague

If the murderous scumbag had shown mercy to his victims he'd not have gotten the death penalty.
If he'd not insisted on going through the motions of appeal after useless appeal for 30 years and spending millions of taxpayer dollars he'd have been executed far sooner.

Fry 'm all.

jwenting 1,905 duckman Team Colleague

sounds like another scam, like there are so many.

jwenting 1,905 duckman Team Colleague

yes, they do.

jwenting 1,905 duckman Team Colleague

WHAT exception?
And where?

And no, we're not going to download and execute some code you attach here or anywhere else.
Such tricks are far too often used by people trying to spread virusses.
Plus it's not our task to figure out what problems you're having, that's your job.
When you do figure it out, tell us in detail and we might be able to help you find an answer.

jwenting 1,905 duckman Team Colleague

You obviously don't return the values to the page for display after you handle them.

jwenting 1,905 duckman Team Colleague

Yes and no...
Several things come to mind.

An enum with a lookup method by column type that returns a handler for that column type is the most obvious.
Use a Map of column type names to enum instances for that.

jwenting 1,905 duckman Team Colleague

yes.
Can't tell you how though, never tried.

jwenting 1,905 duckman Team Colleague

yah.
US armed forces didn't loose a SINGLE armed confrontation with VC or NVA forces during the Vietnam war.
But their own idiotic political masters prevented them from winning the entire war by requiring them to not hold on to gained ground.
So the marines thought their way up a hill, loosing lifes and suffering wounded in order to take it away from the communists only to be airlifted off the top as soon as they got there.

The same was tried in Iraq for a while, but the ground commanders have learned a thing or two since Vietnam and quickly realised they were not doing things right and are now holding captured realestate until it's handed over to Iraqi police and army.

jwenting 1,905 duckman Team Colleague

oh wow. The average company saves 150 pounds a year if everyone turns their computer off at night?
And they loose more than that per day from time lost because everyone has to wait 5-10 minutes for the things to get started in the morning...

jwenting 1,905 duckman Team Colleague

they used to create Logo for that purpose in the 1980s. It was a complete flop.
Then they created Visual BASIC, but project managers thought it was a serious language for business systems so that one flopped too for its intended purpose.
Next it was Ruby, which was misinterpreted by open source fanatics as being the language that would kill all commercial software development.

And you say they've tried again?

jwenting 1,905 duckman Team Colleague

just the default Windows encoding will do, or use UTF-8.

jwenting 1,905 duckman Team Colleague

thats why i am running the program on jdk 1.5 +kawapro5 in order to connect the mysql database with jsp

God forbid you'r learn how to do things properly, right?

And your JSP is a disaster area. NEVER put Java code in a JSP. And ALWAYS close ALL database resources as soon as you're done with them.

jwenting 1,905 duckman Team Colleague

yes, and oil lamps and candles produce soot which is carcinogenic so must also be banned.
The greens won't be happy until we're all naked, cowering in the darkness outside the caves they won't let us use because they belong to animals.

jwenting 1,905 duckman Team Colleague

and those WMDs are known to have existed as well.
Manufacturing and storage facilities have been found, well maintained and ready for use.
Traces of weapons chemicals have also been found, as have chemical artillery shells and aircraft bombs.

Maybe not in the expected volume, but it's clear that Saddam had an active chemical weapons program and at least a small stockpile of weapons.

And yes, of course the media never reported anything. Just as they report every terrorist attack in the country as a major blow by the "freedom fighters" against the "imperialist US oppressors", while never reporting about the arrested terrorists, the new schools and hospitals being opened, the friendly sports matches between US troops and Iraqi civilians, the large numbers of Iraqi police and military that are being trained and are taking over the active duty patrolling.

jwenting 1,905 duckman Team Colleague

All depends on how you use them :)
Personally I hardly use most code generation "features" at all, except to create some skeletons for classes and methods.

I've settled down on IntelliJ. By far the best I've ever used (not free of course, but cheap enough that you gain the investment back in increased productivity very rapidly).

jwenting 1,905 duckman Team Colleague

Depends on what you want.
If communication with non-Java systems is required, you will need to pass your data in a way that those platforms can understand.
The easiest way to do that is to use some protocol based on flat text with no binary data whatsoever.

Corba is hardly ever used anymore, been completely superceded by SOAP.

jwenting 1,905 duckman Team Colleague

some people consider the weirdest things to be "racist", often especially when there's no races involved at all, while ignoring things that are racist...

jwenting 1,905 duckman Team Colleague

an even bigger farce by the guys trying to make you use fluorescent light instead of incandescent is that the environmental impact of making and disposing of those fluorescents is far far higher than that of an equivalent hour/wattage of incandescent bulbs.
The heavy metal polution alone is enough that there's some talk in Europe to ban the things (while another working group is considering a ban on incandescent lights because there's fluorescent ones as an alternative, if both go through we're back to oil lamps and candles, romantic but hardly practical).

jwenting 1,905 duckman Team Colleague

Windows might play nice and provide an abstraction layer which makes the command window perceive the mouse as a serial device, but I'm far from certain about that.

jwenting 1,905 duckman Team Colleague

as your question makes no sense no sensible answer is possible.

Therefore a potentially non-sensical answer: apple pie screwdriver salad bowl.

jwenting 1,905 duckman Team Colleague

RMI in fact makes working with remote objects a lot easier than doing the entire stuff of serialisation, transmission, and receiving yourself.

The actual overhead on the client is quite limited, little more than it would be if you were to establish a socket connection to the server (and the server becomes a lot easier to write).

The only disadvantage (which you'd also have if you're serialising objects yourself) is that it won't be portable to other platforms without serious effort.
Only platform agnostic systems like SOAP and Corba provide for that out of the box.

A complete mulithreaded server that will provide a single RMI service (Remote object) can be coded in about 10KB of Java code (not counting the Remote object itself, which is just a Java bean with some special rules) and about half of that's comments and logging code.
Those are real figures, figures from an RMI application I created for my certification (currently on hold still awaiting funds for the final exam).