Link Details

How to create a JSF application in pure Java without using any xml (no Facelets, no JSP, no faces-config).

Posted by arjan_tijms  |   Sep 12 2011 / 17:50

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 802739 avatar

Powerjohn replied ago:

Pretty cool really!

Just like the Swing days, you could create quite a library of page fragments this way and include and composite them in more ways. Recursive inclusion is actually trivial this way (it's impossible with Facelets, although there are some workarounds).

Reply 2 votes
User 178468 avatar

denywuy replied ago:

Very informative, and nicely summarised.

Reply 2 votes
User 924841 avatar

kevin_brown replied ago:

So simple, yet so effective. Did really nobody think of this before???

I could see myself using this already, but I realize it's only a proof of concept. Wonder if it will work with some more complex examples, like AJAX, partial state saving, external components (RichFaces, etc).

Reply 1 votes
User 338269 avatar

Miloskov replied ago:

it means java or any language programmer are tired of using xml for defining user interfaces, configurations and many stuff as the nightmare of spring with xml configuration so now thanks to annotations is more clean or all the mess that many frameworks use xml. We are programmers and we want to define our GUI or Configurations in our own language and no mess with external syntax.
,

Reply 2 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone