Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it advised to combine: JSF 2.0 + Facelets + HTML5/CCS3/JavaScript?

I recently started developing a web application using JSF 2.0, however I'm new to web development and the field (even when limiting to JVM solutions) is turning out to be vast... the number of technologies to choose between is a bit overwhelming.

My concern/question is this, is it feasible/advised to mix/integrate the following technologies?

  • CCS3 + HTML5 + JavaScript (particularly, using Twitter Bootstrap framework)
  • JSF 2.0
  • Facelets

And if so, when working with a web designer what are the things that JSF 2.0 is going to make more difficult for me. For example, when integrating the web design into the application I guess I'll have to do some modifications: inserting JSF tags and EL expressions, deal with JavaScript in some special way(?), working through HTML tags incompatibilities(?), etc.

The following questions were helpful, but have not clarified everything:

  • What are the main disadvantages of Java Server Faces 2.0?
  • JSF/Facelets: why is it not a good idea to mix JSF/Facelets with HTML tags?
  • Is it possible to use JSF+Facelets with HTML 4/5?

Thanks in advance

like image 950
Alex Averbuch Avatar asked Aug 03 '26 06:08

Alex Averbuch


1 Answers

You seem to not fully understand the point of JSF. JSF is basically just a HTML/CSS/JS code producer. It really doesn't matter to JSF what version the produced code is. JSF doesn't run in webbrowser or something. It runs in webserver. All the webbrowser retrieves is just the JSF-produced HTML/CSS/JS code. You just have to make sure that that HTML/CSS/JS code is understood by the particular webbrowser.

like image 86
BalusC Avatar answered Aug 05 '26 20:08

BalusC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!