1User Sends request: User sends a request to the server for some resource. FilterDispatcher determines the appropriate action: The FilterDispatcher looks at the request and then determines the appropriate Action. Interceptors are applied: Interceptors configured for applying the common functionalities such as workflow, validation, file upload etc. are automatically applied to the request. Execution of …
Archives for August 2008
Struts 1.0 Vs Struts 2.0
Difference between Struts 1.0 and Struts 2.0 In the following section, we are going to compare the various features between the two frameworks. Struts 2.0 is very simple as compared to struts 1.0,1.1, few of its excelent features are: 1.Servlet Dependency also read: Struts 2 Tutorials Struts Interview Questions Struts and Spring Integration Actions in …
Life Cycle of JSF Components
Restore View The JSF servlet builds the view of the requested page as a component tree that contains the information associated with all components. It also saves the view in a FacesContext instance, thereby making it possible to repopulate the page if necessary—for example, when the user doesn’t fill out a form as required. If …
Hiding and Overriding Methods In Java
Now in section Inheritance mainly in Hiding And Overriding Methods can we predict the output of the following program? also read: Java Tutorials Java EE Tutorials Design Patterns Tutorials Java File IO Tutorials It Prints: Here the overriding methods getX and getY in class RealPoint have the same return types as the methods of class …
JAX-WS Web Services in NetBeans 6.1
Java API for XML Web Services(JAX-WS) is an important part of latest JEE specification (Java EE 5 platform). In this article we will see how to develop JAX-WS based web services using NetBeans 6.1 IDE. This article will not provide any of the theoretical information about JAX-WS. Software used NetBeans 6.1 Java 5.0/6.0 GlassFish V2 …
How to install Tomcat 6.0 server?
This article explains how to install the tomcat 6.0 server in your desktop. This is pretty simple and since moss of the java beginners find its difficult to get started with the web development. Because tomcat is the mostly recommended web server for learning JSP and Servlets basics. Tomcat is also the Reference Implementation(RI) for …
SAR (Service Archive) file in JBoss
This tips explains how to create and deploy the SAR file in the JBoss application server. SAR files are only used in the JBoss application server. It cannot be used in the other application server environments. Before looking into creating a SAR file, first let you know what is SAR file. also read: WebLogic Interview …