Working With JavaServer Faces Managed Beans

Managed Beans are the Plain Old Java Objects (POJO) having set of properties and operations which are available to the JavaServer Faces components directly through the Unified Expression Language(EL).The two types of methods that can be written in...

Google Web Toolkit (GWT)

Google Web Toolkit is a very powerful way to create rich applications with ease. It has a lot of built in widgets that we can use to create rich user interfaces. Try the demo applications which are bundled with GWT and you can feel the richness and...

Problem of downloading a pdf file in netscape

I have a PDF file embedded with the page and I have a download link which is used to download that pdf file. When I click on the download link, it will not work since it is the same url as with the embedded pdf; and because the adobe reader is...

Java Puzzle - Problem of Two Developers Part 2

Please refer to the Java Puzzle - Problem of Two Developers before reading this puzzle. This puzzle uses the same scenario from the last month.Now in this puzzle, we have to print as shown below:"I am developer 1You are developer 2"Below are the...

JavaServer Faces Unified Expression Language (EL)

The JavaServer Faces technology was introduced after the Expression Language for Java Server Pages technology has been developed. The JavaServer Faces technology required more powerful language which should do the tasks which cannot be done by the...

Using Custom Request Processor With Tiles

If you want to use your Custom Request Processor along with your Tiles Request Processor it will give the error. This error comes when you extend your custom request processor from the RequestProcessor class. This is because of the bug in Tiles...

Jasper Exception with Struts-Tiles application

The most ccommon exception when using Tiles in a Struts application is theJasper Exception. For example look into the exception below. javax.servlet.ServletException: Can't get definitions factory from contextThis exception can occur if the Tiles...

Fujaba Tool Suite For UML Modelling

Fuzaba is a very useful tool using which we can create the UML models on a fly. More than that we can easily export the UML models into the Java Classes. This will drastically reduces our time in developing the applications. You can use it...

The good way of creating the Struts Application

Struts is the most reliable and most efficient framework to design the enterprise applications. The good way of reusing the code will improve the maintanance of the application.Here is the sample structure of the Application:formbeans: which stores...

Java Coding Best Practices - Coding Guidelines

Here are the some of the best practices to be followed on order to make your code more managiable and maintainable. These are only the suggessions which will reduce the rework of your code. Always use comments for your class, methods and...

JavaServer Faces vs Struts Framework

It is obvious that most of us question why we go for JavaServer Faces when a similar MVC framework, which is most popular, exists? The answer is simple. Try before commit. Use the framework, discover the benefits and then decide which is best...

Life Cycle of JavaServer Faces Page

Six phases in the life cycle of a JSF application Restore View Phase Apply Request Values Phase and Process Events Process Validations Phase and Process Events Update Model Values Phase and Process Events Invoke Application Phase and Process...

Quick Starter Guide To JavaServer Faces (JSF)

Pre-Requisites J2SE 1.4 or higher (Depending on the version used) Servlet 2.x JSP 2.x Refer your web-server documentation for the JSP and Servlet API version information. Libraries The Sun JSF implementation comes with...

Java Puzzle - Problem of Two Developers

John has written the following program which prints the below message."I am developer 1You are developer 2" public class Main { public static void main(String[] args){ System.out.println("I am -->...

Powered by CjBlog