In this blog i will analyze some performance aspects of icefaces.At the end of the blog what you will have is What pages/resources are finally rendered when i use icefaces..? What images,style sheets?
Here is JMON,
For the really impatient, JAMon is "sort of" a profiling tool tailored for J2EE applications.What i meant by "sort of" is that it does not operate at the JVM level and give you statistics about heap dump and such.JAMon typically sits at the container (web/app) or at the JDBC level and gives you information at the data flow level.
I will use the application which i posted in my previous post for this performance analysis.
Still building this blog!!!!..(please bear with me :) )
Tuesday, November 3, 2009
Wednesday, October 21, 2009
JSF samples
This is my first blog.I am Mahesh and i work on web technologies.I am hoping to explore JSF frameworks.
As a short introduction, Icefaces is a render kit for JSF and currently the latest version follows JSF 1.2.To know more about icefaces please refer,
Icefaces Site
I took this tutorial on Icefaces and facelets and wrote a simplified ant script to make it easy for those want to learn about Icefaces.
Dynamic Includes Tutorial
In this post,
I will take some existing samples on icefaces and then make it easy to use and mention the environment on which i tested.Hopefully this will save some time for some late night java web developers.
As a short introduction, Icefaces is a render kit for JSF and currently the latest version follows JSF 1.2.To know more about icefaces please refer,
Icefaces Site
I took this tutorial on Icefaces and facelets and wrote a simplified ant script to make it easy for those want to learn about Icefaces.
I took this tutorial from icefaces, i like the aspect of controlling the navigation options from a centralized controller.
Here is where i took the tutorial from,
Dynamic Includes Tutorial
I added my own ant build script and uploaded the tutorial here,
I tested with tomcat 6.0.20 ,ant 1.7.1,Icefaces 1.8.1
Steps To Run it:-
***********************************************************************************
Step 1:- Set the values in dynamic-includes.properties,depending on where tomcat is installed.
catalina.home=/Users/maheshrajannan/Installers/apache-tomcat-6.0.20
catalina.base=/Users/maheshrajannan/Installers/apache-tomcat-6.0.20
tomcat.url=http://localhost:8080
tomcat.username=manager
tomcat.password=manager
Step 2: run the build file as follows
/Users/maheshrajannan/Installers/apache-ant-1.7.1/bin/ant -v -f build-dynamic-includes.xml
Step 3: Start Tomcat .Then open your favorite browser to this url
http://localhost:8080/dynamic-includes-tutorial/
***********************************************************************************
FAQ:
How to run tomcat?
-rwxrwxrwx@ 1 maheshrajannan staff 1956 May 14 03:15 startup.sh <-- MAc and Unix
-rw-r--r--@ 1 maheshrajannan staff 2097 May 14 03:15 startup.bat <-- for windows
In the next post i will try to do some performance testing of this sample applications.
Happy exploring....
Subscribe to:
Posts (Atom)