Link Details

Link 666403 thumbnail
User 239525 avatar

By arjan_tijms
Published: Sep 12 2011 / 17:50

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


Add your comment
User 802739 avatar

Powerjohn replied ago:

2 votes Vote down Vote up Reply

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).

User 178468 avatar

denywuy replied ago:

2 votes Vote down Vote up Reply

Very informative, and nicely summarised.

User 924841 avatar

kevin_brown replied ago:

1 votes Vote down Vote up Reply

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).

User 338269 avatar

Miloskov replied ago:

2 votes Vote down Vote up Reply

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.

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java