Home > Framework, Struts, Struts2 > Introduction to Struts2

Introduction to Struts2

Struts 2 and WebWork merger Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time.

Apache Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts2. This new version of Struts is simpler to use and closer to how Struts was always meant to be.

Key features of the framework include:

Core

  •   Pluggable framework architecture that allows request lifecycles to be customized for each action.
  •   Flexible Validation framework that allows validation rules to be decoupled from action code.
  •   Hierarchical approach to internationalization that simplifies localizing applications.
  •   Automatic Type Conversion that transparently maps values from HTTP to native Java data objects, solving one of the most tedious efforts when creating web applications.
  •   Integrated Dependency Injection engine that manages component lifecycle and dependencies. (By default, the framework utilizes Spring for dependency injection.)
  •   Modular Configuration Files that use packages and namespaces to simplify managing large projects with hundreds of actions. * Java 5 annotations that reduce configuration overhead. (Java 1.4 is the minimum platform.)

View

  •   Reusable user interface tags that allow for easy component-oriented development using Themes and Templates. Bundled tags ranges from simple text fields to advanced tags like  date pickers and tree views.
  •  JSTL-compatible expression language (OGNL) that exposes properties on multiple objects as if they were a single JavaBean.
  •  Pluggable Result Types that support multiple view technologies, including JSP, FreeMarker, Velocity, PDF, and JasperReports. * Optional ajax theme that simplifes creating interactive web applications.
  •   Optional Interceptor plugins that can execute long-running queries in the background, prevent multiple form submissions, or handle custom security schemes.

Other

  •   Easy integration with other popular products, including Hibernate, Spring, SiteMesh, and JSTL.
  •   Distributed under the business-friendly Apache License 2.0.

read more :

  1. October 18, 2012 at 10:18 PM

    After going over a few of the blog articles on your
    site, I truly appreciate your way of blogging. I book-marked it to my bookmark website list and will be checking back soon.
    Please visit my website too and tell me how you feel.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: