Shale Framework(linked apache)

Shale Framework

Shale is a modern web application framework, fundamentally based on JavaServer Faces. Architecturally, Shale is a set of loosely coupled services that can be combined as needed to meet particular application requirements. Shale provides additional functionality such as application event callbacks, dialogs with conversation-scoped state, a view technology called Clay, annotation-based functionality to reduce configuration requirements and support for remoting. Shale also provides integration links for other frameworks, to ease development when combinations of technologies are required.

Shale Features

The major features of the Shale Framework are described in the following detail sections:

  • View Controller - Convenient mechanism to associate a "backing" Java class with each JavaServer Faces view in an application, with predefined event handers for events significant to an application developer.
  • Dialog Manager - Mechanism to define a "conversation" with a user that requires multiple HTTP requests to implement, modeled as a state diagram.
  • Application Manager - Traditional application wide front controller features that should be applied to every request.
  • Validation - Integration with the Jakarta Commons Validator Framework, supporting both client side and server side validations based on a single set of configured validation rules.
  • Remoting - Server side support for applications that employ AJAX (Asynchronous JavaScript and XML) style interactions.
  • Spring Integration - Integration with the Spring Framework, allowing the use of Spring's dependency injection framework to create JavaServer Faces managed beans.
  • Clay - An alternative to JSP where you define views in pure HTML, in a fashion similar to Tapestry and Facelets. An innovative sub-framework for supporting the configuration of reusable subtrees of JavaServer Faces components for customizable reuse.
  • Test Framework - Set of mock objects and JUnit test case base classes suitable for testing both the framework classes themselves, as well as application components built on top of the framework.
  • Tiger Extensions - Optional add-on library that adds additional ease-of-use features for Shale applications that run on Java Standard Edition 5 (popularly known by its code name during development, "tiger").

Shale Foundations

Shale is based on (and requires a runtime environment that supports) the following foundation technologies:
  • Java Runtime Environment (JRE) 1.4 or later.
  • Servlet API 2.4 or later.
  • JavaServer Pages 2.0 or later.
  • JavaServer Faces 1.1 or later.
  • JSP Standard Tag Library (JSTL) 1.1 or later.
  • Apache Commons BeanUtils 1.7 or later.
  • Apache Commons Chain 1.1 or later.
  • Apache Commons Digester 1.8 or later.
  • Apache Commons Logging 1.1 or later.
Various optional Shale components have dependencies on the following additional runtime technologies:
  • Apache Commons Validator 1.3.1 or later.
  • Apache Commons SCXML 0.6 or later.
  • Spring Framework 1.2.8 or later.
  • Tiles 2 (the stand-alone version of Tiles, currently in the Struts Sandbox).
  • Cargo
  • jMock
If you wish to work on Shale itself, you will require the following additional resources:
  • Java Development Kit (JDK) 1.4 or later. (JDK 1.5 is required for Shale Tiger.)
  • Apache Maven 2.0.4 or later.

我非常期待这个框架,虽然现在Shale不是很流行,但是毕竟它是Struts的“子框架,可以大量的重构Struts代码,最主要是它的基于JSF框架的,Sun大力推行的框架。不错不错!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值