JSF developers have you ever worked on Spring webflow ? Do you miss the flash and Flowscope feature of Springwebflow ? Well if you have not used spring webflow , then you should consider post below to see how integrating JSF with Spring webflow enhance your application. Some of the notable enhancements are
- The ability to implement dynamic navigation rules that are changeable on-the-fly without a server restart
- Full forward, backward, refresh, redirect, and recursive navigation capabilities built into its flow definition language
- Modularization and encapsulation of navigation logic through the flow definition concept
Java Server Faces is a user interface component framework that consists of a standard API and two implementations – the Sun Reference Implementation and Apache MyFaces. Spring Web Flow is a controller framework that provides a language and runtime for implementing user interface control flow in a web application.
Combining both of them can do wonders for your web application. Look at the post below to find the details.
What Spring webflow offer JSF developers
Web developers and applications developers must have faced this problem related to performance of their Websites.
In this post I will focus of how to track website performance. Remember the websites behave different under different browsers so if your site loads faster in FireFox , it may not load with same speed in IE.
Firefox has some very good plugins to track the performance of your website. The two plugins which I really like are
1. Yslow : ySlow analyzes web pages and suggest how to improve performance based on yahoo’s rule for high performance website. You may not agree with some of the recommendations but nevertheless , it gives very good feedback.
2. FireBug : Firebug is not only an excellent tool for editing and debugging java script, html , css but also helps you analyze the performance of pages. Read more…
Javascript Interview Questions have been added to Skill-guru. The test has 15 questions and covers basic concepts to questions like
What is the reason of the "Access is Denied" error on browsers?
Please take the test and give your feedback.
While preparing for JSF interviews , you can find JSF interview questions at skill-guru. Take the test and give your feedback.
It is common requirement in the web applications to upload files. Even though HTML and browsers support this, JSF core tags don’t provide any components for the file upload. Fortunately JSF’s other third party components provide such components. There are many implementations available nowadays. Among them I found the Apache tomahawk library tag helpful. In this tutorial I will explain how you can upload a file using tomahawk library. It explains you how a simple image file can be uploaded, read and saved. Read more…
In many applications there are some common requirements of sending html formatted mails to the clients. Java mail API is used to send mails in java. But major problem is how to get dynamic formatted mail content. The Java Mail API’s send mail function takes string parameter. So it is developer’s responsibility to send formatted mail content as string to the function.
If the mail content is static one can hard code the contents into a text file or as a variable. But what if we need different types of mail contents generated dynamically. I used xslt template files and XML for this. XSL stands for Extensible Stylesheet Language, and is a style sheet language for XML documents. The page format is defined by the xslt sheet and the contents to it will be supplied by the xml. The XSLT page will define points which should be replaced by the xml tag values at runtime. Read more…
Buttons and Links are the way to send request to the server. JSF has 3 such useful tags to do these:
- h:commandLink
- h:commandbutton
- h:outputLink
When we have all 3 tags, it’s a common question for an end user ask which tag should be used in which situations? Though there is no exact rule, by knowing the difference and function, we can decide where each tag can be used. Read more…
Many times we have requirement of displaying data using charts in our web application. Jsf-comp is a opensource library which I have used in my JSF application. I have used this for simple bar charts and using it is very simple. Below I have explained steps to use it in your application to create a bar chart.
Here I assume you have already had a jsf application running. If you are new to JSF, please read the earlier post JSF tutorial For Beginner . Read more…