Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaFX in enterprise web applications - good alternative to classic web pages?

We developed several web applications for different customers, from simple kind-of-boring-looking CRUD-style GUIs for those poor admin guys to fancy-schmancy AJAX-enhanced GUIs for those Internet people. All of these were based on JSF 1.2 in combination with JBoss Seam 2, using Facelets and RichFaces as presentation layer.

We do know about the limitations of JSF 1.2 and (I'm feeling sad about that) we have not yet managed the transition to Java EE 6, but with defining this setup as our technology stack, we gained some experience with that technology, feeling comfortable to reliably develop web applications for our customers.

So, why the heck do I tell you that? Because we experience more and more that customers who heard of "Web 2.0" want to have rich client functionality while only accepting a browser as their door to all applications. Allthough we know that one can do that with the technology we use, we feel, that it might be a good idea to use something different on the client side to support those needs. And since we are mostly Java programmers and we keep shooing away this one guy bugging us with his Adobe Flex, we think, that JavaFX in its new version might be a good thing to go with.

I made my hands aching digging into the deep of the JavaFX resources I could manage to find - but one thing which came to my mind quite often was that JavaFX presents itself as a technology that is able to do some nice graphical effects, but while bouncing colored shaded bubbles might look cool, they are basically useless in business applications.

Well, to make a long story short - we like to use Java EE 6 in the backend while having rich and nice looking functionality on the client. Is JavaFX a good alternative here to the classic web pages or even to the upcoming modern HTML 5 webpages when developing business web applications and where can one find examples for that?

Thanks for your time reading this and for the answers which hopefully arise.

like image 554
Alexander Rühl Avatar asked Dec 21 '11 08:12

Alexander Rühl


1 Answers

I'd go for HTML 5, unless I had some needs a web app couldn't satisfy.

I'm certain you can build great apps with JavaFX, but there is very little tooling, except for the standard Java stuff. And since it's not very widely used, you'll have trouble finding support, and hiring people who are good at it. There's also always the risk of it going the same way as its .Net counterpart Silverlight - to the trash can (Oracle aren't sentimental). As for Flex, Adobe just donated Flex to Apache with the explanation that HTML 5 is the "best technology for enterprise application development".

Compare this with HTML 5. It's not only more widely used (which means you'll be able to find support and have an easier time recruiting), but it also gains more support, better tooling and new features continually. I think it's rather obvious which is more future proof.

like image 132
gustafc Avatar answered Oct 21 '22 13:10

gustafc