Feb 17 2008

Debugging JSF application

Posted in JSF on Sunday, February 17, 2008 at 7:00

I was looking for better approaches to debug my JSF application. I found, a good tool [of course, it is open-source :) ]!

It’s called - FacesTrace. The tool [or should I say library] is really helpful. It can provide you information on JSF life-cycle phases. It also provides performance-centric data - how much time it took in each phase, how many objects are there in different scopes.

The best part is its configuration. It is damn easy. If you are running JSF based application, it is ONLY three steps:

  1. Download FacesTrace and include in your web application libraries.
  2. Include taglib resource to your JSF source file.
    <%@ taglib uri=”http://sourceforge.net/projects/facestrace” prefix=”ft”%>
  3. Add following line to your JSF page to view data.
    <ft:trace />

Done! Launch the JSF page from your favorite browser and you should be able to see something like this at the bottom of your page:

FacesTrace

It is still in the inception phase [as the current version is 0.8.1]. I hope it matures with time!

4 Responses to “Debugging JSF application”

  1. Kennethon 18 Feb 2008 at 15:31

    It does looks interesting, thank for notice

  2. togomezon 09 May 2008 at 13:42

    The tag especified failled to me. But the next one does the work

  3. togomezon 09 May 2008 at 13:43

    I meant :

    <%@ taglib uri=”http://facestrace.sourceforge.net” prefix=”ft”%>

    XD

  4. Beverlyon 28 Oct 2008 at 23:48

    Well said.

Trackback URI | Comments RSS

Leave a Reply