Rob Oplawar
July 24th, 2007, 03:49 PM
Anyone here program in Java?
When I started my internship here, I assumed I would be programming in C++, because, well, I know that language...
But no, I'm programming in Java, and while it seems simple enough and wasn't all that hard to pick up after OO C++, I have to say...
Java is dependency hell. I just can't understand how people can actually program in this language and maintain their sanity. Right now I am posting this as I wait for my JBoss server to start up withing my Java environment, because it depends on about 30 Java libraries (and I'm not even kidding). Then it has to start up JBoss Seam. Then Seam has to load my webapp I'm working on. My webapp's lib folder contains 25 JAR files containing all of the dependencies for the library the one tag I'm trying to test depends on. And it doesn't work, and gives me useful errors like "Servlet could not be started." and "com.sun.facelets.compiler.TagLibraryConfig loadImplicit".
Either that, or the page loads up just fine, but the Faces tags simply fail to output anything, but don't give me any errors.
I'm just posting this because I'm curious, does anyone else program in Java? Of those, has anyone ever tried to make a Java webapp? Of those, are any of you still sane? Please tell me your secret, if so.
God, I miss C++.
Edit: maybe I'd have an easier time with this if I didn't keep returning to the h2v forums while I'm supposed to be working...
When I started my internship here, I assumed I would be programming in C++, because, well, I know that language...
But no, I'm programming in Java, and while it seems simple enough and wasn't all that hard to pick up after OO C++, I have to say...
Java is dependency hell. I just can't understand how people can actually program in this language and maintain their sanity. Right now I am posting this as I wait for my JBoss server to start up withing my Java environment, because it depends on about 30 Java libraries (and I'm not even kidding). Then it has to start up JBoss Seam. Then Seam has to load my webapp I'm working on. My webapp's lib folder contains 25 JAR files containing all of the dependencies for the library the one tag I'm trying to test depends on. And it doesn't work, and gives me useful errors like "Servlet could not be started." and "com.sun.facelets.compiler.TagLibraryConfig loadImplicit".
Either that, or the page loads up just fine, but the Faces tags simply fail to output anything, but don't give me any errors.
I'm just posting this because I'm curious, does anyone else program in Java? Of those, has anyone ever tried to make a Java webapp? Of those, are any of you still sane? Please tell me your secret, if so.
God, I miss C++.
Edit: maybe I'd have an easier time with this if I didn't keep returning to the h2v forums while I'm supposed to be working...