3

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:

Thanks in advance

Community
  • 1
  • 1
Alex Averbuch
  • 3,245
  • 5
  • 33
  • 44

1 Answers1

5

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.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
  • Imagine this scenario... web designer creates a "pretty page" (HTML/CSS/JS) for me -> I then bind client side user behavior from that "pretty page" to my "server side logic" (JSF/Java) -> to do that I need to add templating tags (JSF/Facelet/JSTL/EL) to the "pretty page"... my question is, are there known difficulties that often occur during this step, which I should be aware of) – Alex Averbuch Apr 07 '12 at 09:33
  • Or are you telling me that it's impossible to design the "pretty page" external to JSF, because JSF wants to do ALL the CSS/HTML/JS itself? – Alex Averbuch Apr 07 '12 at 09:34
  • You can easily use `` to form templates. And no, JSF doesn't require you to use JSF components only. – BalusC Apr 07 '12 at 12:36