web development with NetBeans IDE larry's blog

Sunday Feb 17, 2008

Often I think about how much I enjoy deliscous food, but unfortunatly its either too expensive or takes too long to prepare, or I can't get fresh ingredients. That was the situation I was in when I made Penne Con Huevo this weekend after my landlord cut my gas:



Now I know that you preferrably cook eggs before you eat them, but actually raw eggs contain %20 more vitamin B than do cooked ones. So there's the health factor there that one should consider. Also they say that hunger is the best spice, and I was downright starving when I ate this.

So the MySQL driver is included with NetBeans 6.0. This is actually old news but I wanted to bring it up again becuase I got a problem. Its more a gap in my understanding thats been bothering me. Basically, Im connecting a simple web application to a MySQL database in the IDE and I've downloaded and installed both Tomcat and GlassFish that come with the Web version of the IDE. Now when I run the application using Tomcat everything works OK. And when I run the application using GlassFish everything works OK. So where's the problem?

The problem is that I been looking at this old outdated (ahem) tutorial on connecting a webapp to a MySQL database, and in it it states that you got to add the database driver's jar file to the server. But I no longer do because the Tomcat already contains the jar file:



But with Glassfish, there's no jar file added to the libraries. I checked. So why does it work for me with Glassfish?

Unless the MySQL jar file is maybe buried somewhere in a subfolder in the Glassfish libraries? Or maybe its called something different for Glassfish? Or maybe there's something the IDE does automatically at deployment because the driver is now a part of the installation? Or could it be something else entirely and I just eat too many raw eggs?
Comments:

I guess we'll never know...

Posted by Prinkly Herberford on February 20, 2008 at 12:35 AM CET #

Dumbass. Heraclitus or the Buddha, or someone like that, dead now, said the thing about the two rivers and stepping into them.

Posted by Earnbard Finglburger on February 20, 2008 at 12:37 AM CET #

You know what? I wouldn't eat your food if you paid me.

Posted by Plutonk Credentia on February 20, 2008 at 12:39 AM CET #

Those three people who left comments have such weird names that I can't believe they really exist.

Posted by Winkledorm Zanzibar on February 20, 2008 at 12:41 AM CET #

Well, what about your name, "Winkledorm Zanzibar"? That don't sound very likely, does it now?

Posted by Oxhamite Plebonium on February 20, 2008 at 12:45 AM CET #

Well, I just think that anyone spending their time thinking up admittedly hilariously inventive names should have better things to do with their life, "Oxhamite Plebonium"!

Posted by Vinklypork Hazelbutt on February 20, 2008 at 11:23 AM CET #

Isn't that a case of the pot calling the kettle black, "Vinklypork Hazelbutt"? Frankly, I wonder if you aren't all chargeable under the Patriot Act.

Posted by Irkleburton Fleezleburp on February 20, 2008 at 12:12 PM CET #

Well, you may not be real, Vinklypork, but I certainly am. And, Irkleburton, why don't you get a life.

Posted by Oxhamite Plebonium on February 20, 2008 at 12:59 PM CET #

I'm sorry, but I find it hard to believe that there's actually a real person called "Oxhamite Plebonium". So, I'm basically with Vinklypork on that one.

Posted by Zebedeedum Crenoline on February 20, 2008 at 02:48 PM CET #

Well, if my name is so hard to believe, what about yours? "Zebedeedum Crenoline" is a pretty dumb name and I can say that knowing that I'm not insulting anyone because there's no one actually called "Zebedeedum Crenoline". I think you need to grow up and act your age.

Posted by Oxhamite Plebonium on February 20, 2008 at 04:45 PM CET #

Oh yeah? Wanna take it outside? I'll show you I'm real. My fist in your face will show you I'm real. But, since you're not real, "Oxhamite Plebonium", that ain't gonna happen, is it? Now stop wasting everyone's time.

Posted by Zebedeedum Crenoline on February 20, 2008 at 04:48 PM CET #

OK, let's all calm down. Looking through the list of names here, there isn't one that isn't familiar to me in one context or another. Seems perfectly possible to me that everyone here is a real person. For example, "Oxhamite", isn't that a vegan type of peanut butter? And Finglburger is a kind of butterfly shaped garden utensil, if I'm not mistaken.

Posted by Jeraboham Bindooprinklesnot on February 20, 2008 at 11:29 PM CET #

And Bindooprinklesnot is like, um, well, elephant snot? You know what? You're a jackass and you know it, "Jeraboham". You're so full of it that it's coming out your ears in rivers.

Posted by Zebedeedum Crenoline on February 21, 2008 at 05:09 AM CET #

Where I come from, that's fighting talk, "Zebedeedum".

Posted by Jeraboham Bindooprinklesnot on February 21, 2008 at 11:57 AM CET #

As someone who has frequently experienced the vilification that accompanies the wearing of a unique name, let me suggest that some of you are insensitive to a point that is almost unforgivable. It grieves me, it really does. Long have been the nights that I lay awake in agony, in agony I say, while the insults of my peers reverberated around the walls of my fevered skull.

Posted by Tennisonfluskeroo Akly on February 21, 2008 at 04:26 PM CET #

You're a jerk, you know that, Tennisonfluskeroo? And not because of your dumbass name. But because you're clearly just a plain dumbassed dumbass.

Posted by Jeraboham Bindooprinklesnot on February 21, 2008 at 04:28 PM CET #

HAY FREINDS, LETS ALL SETTLE DOWN!!!

THIS IS BECOMING WHAT THEY CALL A FORUMN FLARE. Y'ALL NEED TO RELAX AND NOT WORRY ABOUT WHAT EACH OTHER IS CALLED. OR CREATE SHORTER NICKNAMES FOR YOURSELF AND REMEMBER THE GOLDEN RULE BEFORE WRITING OR SAYING ANYTHING. THERE'S NO POINT TRYING TO FIGHT SOME ONE ON A FORUMN ANYWAY, AND IF YOU THINK SO, THEN THIS IS THE WRONG PLACE. LETS TRY TO LIMIT ANY COMMENTS HERE TO TECHNOLOGICAL AREAS ONLY, STARTING NOW.

Posted by LARRY on February 21, 2008 at 04:39 PM CET #

Frankly, I've got to agree with Larry here. If you've got a halfasses jackass name like "Tennisonfluskeroo" or "Zebedeedum", maybe you should just shut the f%#@% up. Same goes for "Irkelburton" and "Oxhamite", by the way.

Posted by Jeraboham Bindooprinklesnot on February 21, 2008 at 07:16 PM CET #

Why is msql connector jar not included with glassfish? It is open sourcey.

Posted by J1 VISA on January 07, 2009 at 05:23 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed