Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "servlet"
>Get hit by a wave of depression
>Question the reason for your existence
>Open laptop start coding as a distraction
>Discover/invent/learn something new
Hey that's nice!!! (wait for the next wave of depression)9
Fun fact: if you send a string as response from a java Servlet to Ajax request. The string isn't null terminated.
wanna know how I found out. I didn't for 2 whole FUCKING days.1
I actually never felt the need to scream at a co-worker so let's talk about that time a co-worker screamed at me instead.
tl;dr : some asshole boss screamed and threatened me because someone else's project was shit and didn't work.
Context: I was in my third year of school internship (graded) and my experience is C, C++, C#, Python all in systems programming, no web.
I was working as an intern for a shit company that was selling a shit software to hospitals (though not medically critical, thank God) the only tech guy on site was the DBA (cool guy) the product was maintained by a single dev in VB from his house, the dude never showed up to work (you'll understand why) and an other intern who couldn't dev shit.
I was working with the DBA on an software making statistical analysis from DB exports, worked nice, no problems here if we forget the lack of specs or boundaries (except must work in ieShit).
The other intern was working on something else (don't ask me what it is) I just remember it was in GWT before the community revived it. His webapp was requesting the company http server for a file instead of having one of it's java servlet to fetch it (both apps ran on sane server) which caused a lot of shit especially CORS error. That guy left (end of contract) and leaves his shit as is, boss asked me to deploy the app, I fiddle with it to see if it works and when I find out it doesn't then that asshole starts screaming at me in front of every other employee present, starts threatening to burn me in the tech world and have me thrown out of my school for no goddamn reason than the other dude's project doesn't work.
After the screaming I leave and warn my school immediately.
I guess that's why the other dev never came to work.
I had three weeks of internship left, that I did from home and worked probably less than 2 hours a day so suck it asshole.
Still had a good grade because I was reviewed by the DBA and he was happy with the work I did.
It was only later that I realized that what he did was categorizing as harassment (at least in France) and decided that never again this would happen without a response from my lawyer.1
Just got an internship in a big company. Related to web development but they want me to use/maintain legacy jsp, servlet code. Should I take it? There are other departments too but I have been put in this shitty one.4
IntelliJ, IntelliJ I love you but please tell me why making a jsp file from scratch doesn't work in the servlet but your template for a jsp does. It makes no fugging sense to me. StackOverflow doesn't know and I went there for help.
I was debugging that shit for 5 hours today over an issue that was fixed in 3 minutes. I need ice cream.2
Why are you paying me to architect your new stack if you're just going to mandate that I use Guice and Jersey "because that's what you're using already"? I'm sorry. You're wrong. Spring Boot is not a "dying technology". I'm not going to build you a servlet from scratch. Get fukt.1
Just a quick question, does anyone actually use Java servlets? My professor says that it is still in active use, but I can't believe that such an asinine system is still in use besides legacy systems.
Not quite a rant, but it does annoy me to no end.4
archaic jsp (java servlet pages) making life hard to do some fucking widget you gotta populate with some dynamic data
upgrading to a modern front end framework is not something the company is interested in doing (react, angular, whatever the hell's popular these days)
we can hack around it on the backend but we'd have to shuffle a boolean down to get used in one place at the bottom only (straightforward but ugly solution)
i hate my job and i don't know what im doing, fuck front end2
FOR FUCKS SAKE. I HAVE THE RIGHT URL FOR THE SQL DATABASE. WHY WON'T IT SHOW SAID DATABASE IN THE SERVLET FROM THE URL!!!! It conects to IntelliJ without any issue, so why isn't the servlet running it?
God am I really going to go to stackoverflow for help? I need sleep.3
I always thought J2EE was like a completely different thing from general Java. It has features like Enterprise management beans, special packages and has it's on Project type, structure in IDEs.
But it seems like it's not actually that different? If you use Spring, Hibernate, custom library annotations and build a Servlet, web server with @POST, @GET or use Serialization... And maybe use JDK instead of JRE, Maven, Ant... apparently that's considered J2EE?9
Wrote my Java servlet/JSP homework assignment and it works perfectly on localhost. Upload the WAR file to remote and nothing works >:(