View RSS Feed

Apache Struts

Apache Struts

  1. Overview of the Struts Framework

    by , 02-25-2012 at 07:45 PM
    Struts framework has been organized in twelve “top leveled packages”. It consists of three hundred interfaces and classes. Interfaces as well as classes are provided by struts framework to work along with controller or presentation, with custom tag libraries support.

    The Struts view is detailed here:

    • The Struts Controller Components: All user requests are handled by the Struts Action Servlet. A request is been received, URL is interpreted and Configuration files
    ...
    Categories
    Apache Struts
  2. Struts1 vs Struts2

    by , 02-25-2012 at 07:43 PM
    • Struts1 extends the abstract base class by its action class. The problem with struts1 is that it uses the abstract classes rather than interfaces.
    • While in Struts 2, an Action class implements an Action interface, along with other interfaces use optional and custom services. Struts 2 provides a base ActionSupport class that implements commonly used interfaces. Although an Action interface is notnecessary, any POJO object along with an execute signature can be used as an Struts 2 Action object.
    • Struts
    ...
  3. Struts2 features

    by , 02-25-2012 at 07:38 PM
    • Simple POJO based Actions
    • Thread Safe
    • Simplified testability
    • AJAX Support
    • jQuery Plugin
    • AJAX Client Side Validation
    • Dojo Plugin (deprecated)
    • Template Support
    • Easily extended with Plugins
    • Result types are supported
    • REST Plugin (Extension-less URLs, REST based Actions)
    • Spring Plugin (Dependency Injection)
    • JFreechart Plugin (Charts)
    • Rome Plugin (RSS Feeds)
    • Convention Plugin (Action Configuration through Annotations & Conventions)
    • Hibernate Plugin
    • jQuery Plugin
    ...
    Categories
    Apache Struts
  4. Apache Struts Design goals and overview

    by , 02-25-2012 at 07:36 PM
    By using web form in a typical or standard Java EE web application, information gets submitted to the server. Information is then sent on to the Java Servlet, which will be performing:

    • Information Processing
    • Interaction with a database
    • HTML formatted response is produced.

    This information could also be passed on to a JSP that brings out the similar results. For larger projects, they are not suitable and it becomes tough to do the separation of the ...
    Categories
    Apache Struts
  5. Apache Struts

    by , 02-25-2012 at 07:34 PM
    Apache Struts are used for development of the web based application, being an open sourced framework. It is free.

    Web based applications are entirely different as compared to the typical sites because the web applications make dynamic responses for request. They are dynamic in their nature and may interact with business logic engines and databases for customizations of responses.
    Web applications are based at:

    • Java Server Pages
    • Page design code ...
    Categories
    Apache Struts