Java for Web Development

Rage9

Banned
Jan 7, 2008
6,061
101
0
Been looking at Java for Web Development lately. Anyone here ever used it for such things?

I'm looking at Java Server Faces, and it just feels like a Java Face Palm. Although based on the Java EE 6 documentation Java Server Pages are out and JSF is in.

Any real limitations of using JSF that I should be aware of?
 


I'm very happy I know java as there's not much choice on the android platform and there's a wealth of applications, libraries and platforms but personally I'd avoid web development at all costs using the ee platform as it stands. If I wanted web-facing apps on a jre I'd probably write in groovy but my life is much easier with php and much happier with python.
 
java is so damn verbose man. unless you're forced to build with java because of preexisting projects, I'd not start a new project with it. Shit even the .NET stack has gotten pretty cool lately.
 
I'm very happy I know java as there's not much choice on the android platform and there's a wealth of applications, libraries and platforms but personally I'd avoid web development at all costs using the ee platform as it stands. If I wanted web-facing apps on a jre I'd probably write in groovy but my life is much easier with php and much happier with python.

If I wasn't so interested in the speed, I would totally just say fuck it. But looks to be the best option to develop for pure application speed outside of using something like snorkel embedded server in C. I can put up with some bullshit if I get the payout some place else.
 
java is so damn verbose man. unless you're forced to build with java because of preexisting projects, I'd not start a new project with it. Shit even the .NET stack has gotten pretty cool lately.

I have no interest in developing in .NET, period. Never have, probably never will.
 
If I wasn't so interested in the speed, I would totally just say fuck it. But looks to be the best option to develop for pure application speed outside of using something like snorkel embedded server in C. I can put up with some bullshit if I get the payout some place else.

The issue of "speed" is pretty complicated and no interpreter can be expected to deliver it. That said Grizzly is a stupid fast multithreaded asynchronous pure Java server and if go short-stack with say Velocity and JAX-RS instead of the whole glassfish or commercial alternative behemoth you can have you some hella fast stuff happening.
 
Did a lot of JSP on Tomcat when I needed speed like you. Never went indepth into it, but I liked it. Eclipse integration was smooth. The only problem is getting things up and running, and the random times you need to edit shit in web.xml/whatever.xml (ugh).
 
I have no interest in developing in .NET, period. Never have, probably never will.

Though you'll probably ignore me, I think you should really consider looking at your obsession with speed. Servers are cheap as fuck - I can drop a couple k and have something that'll easily handle a few million requests a day in just about any language.

Granted, basic optimization shouldn't be ignored, but squeezing a couple of percent out of a process, simply isn't worth the time (unless you have the process running on 10k+ servers). Your time is worth more than that, and whatever you are doing, should be able to pay for the cost of a new server on a monthly basis at least.

Focus on your ROI.
 
If you're really interested in speed take a look at CppCMS. I'd rather use that than mess with Java. It says CMS in it's name, but it's not a CMS in the sense that Drupal or Wordpress is a CMS. It's a web framework for c++.
 
Focus on your ROI.

this so hard.

Unless you're deploying something for Google Inc and need to handle millions of hits in the first minute, it's more important to focus on developer speed/agility than raw performance. You can scale apps in any language to incredible levels before having to make major language/framework shifts.

You'll be happier in more concise languages than Java too.
 
Did a lot of JSP on Tomcat when I needed speed like you. Never went indepth into it, but I liked it. Eclipse integration was smooth. The only problem is getting things up and running, and the random times you need to edit shit in web.xml/whatever.xml (ugh).


For simple web/mobile games, JavaFX (with this ^^ caveat ^^ ) is worth looking into.

I'm working on one right now; you can also use traditional java classes alongside JavaFX. It's a declarative language that resembles, in appearance, a javascript framework like EXTJS. If you're coming from something like that, JavaFX will feel familiar.
 
I am willing to help you through learning python, please PM me, you will like it eventually, I promise :) Seriously