`

Shale 简介

阅读更多

快速了解Shale:

      Shale是一个基于JSF的web开发框架。Shale重用了大量的Struts基础代码,因此可以称Struts为它的"父"框架,但Shale是面向服务架构,它与Struts最大不同之处在于:Struts与JSF集成,而Shale则是建立在JSF之上。 Struts实质上是一个巨大的、复杂的请求处理器;而Shale则是一组可以以任何方式进行组合的服务。此外Shale加入了一些新的特性比如:
1.与Spring框架相集成可以使用Spring的依赖注入机制来创建JSF Managed bean。
2.提供一种可选的类似于Tapestry与Facelets使用纯HTML来定义视图。
3.提供测试框架,一组mock object和JUnit test case基类可以帮助测试自身框架的classe和在构建在该框架之上的应用组件。
4.提供AJAX的服务端支持。
5.Tiger扩展等。

 
Shale原汁原味:

    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.
   Feature:
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").

    Dependancy:

      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


分享到:
评论
2 楼 hintcnuie 2007-09-18  
Shale目前并没有达到实用的程度,但关键的是其设计思想很吸引人,它的validation也是别具一格
1 楼 hantsy 2007-09-18  
shale好久没有动静了,不知道怎么回事

相关推荐

    Shale

    标题中的“Shale”指的是Apache Shale,这是一个Java框架,主要设计用于构建Web应用程序。描述中提到这是一个关于Shale的小实例,警告用户下载时要慎重,可能是因为它没有正式的release版本,而是提供了Development ...

    shale框架源码和文档

    Shale是一个功能强大的Java Web框架,它主要设计用于构建可重用、模块化的Web应用程序。在1.0.4版本中,它包含了源代码和相关的文档,这些资源对于理解Shale的工作原理、如何使用它以及如何对其进行扩展至关重要。在...

    shale-remoting jar

    shale-remoting 1.0.4

    shale实现jsf客户端验证例子

    在本文中,我们将深入探讨如何使用Shale库来实现JavaServer Faces(JSF)应用程序的客户端验证。Shale是一个开源的Java库,它为JSF提供了一系列强大的功能,包括验证框架,可帮助开发者轻松地创建复杂的客户端和...

    JSF与Shale开发用包

    开发JSF或Shale开发用的包,自己准备研究这两个东西却发现需要很多包一下子又找不全,总算找了差不多了,拿出来与大家分享.其中包含:shale-core.jar commons-beanutils.jar commons-chain.jar commons-codec....

    MRST_Shale:页岩气模拟环境

    MRST-Shale:一个开源的页岩气模拟器 王斌( ) 美国路易斯安那州立大学Craft.io与霍金斯大学石油工程系 OpenShale是一个轻量级的开源库,它基于SINTEF ICT( )。 它要求通过运行“ startup.m”将MRST添加到...

    ETL工具 beeload (shale)免费版 详细使用教程.pdf

    **ETL工具 beeload (shale)免费版 详细使用教程** **1. ETL工具简介** ETL,即Extract, Transform, Load,是数据处理领域中的关键环节,用于从不同源系统抽取数据,经过清洗、转换,再加载到目标系统。beeload是一...

    com.springsource.org.apache.shale.test-1.0.4.jar

    jar包,官方版本,自测可用

    com.springsource.org.apache.shale.test-sources-1.0.4.jar

    jar包,官方版本,自测可用

    shale:优雅且可扩展的反向抛光表示法语言

    页岩 一种优雅且可扩展的反向抛光符号编程语言。 因其强大和简单而优雅。 通过库可扩展。 当前这些包括但不限于 创建线程,信号量和互斥量的线程库 ...有关详细信息,请参见shale -h和shale -s,以及examples /目录。

    inkscape 地质地层矢量填充符号 patterns.svg

    674 Interbedded shale and limestone (shale dominant)(2st option) 页岩与石灰岩互层(页岩为主)(2) 675 Interbedded calcareous shale and limestone (shale dominant) 钙质页岩与石灰岩互层(页岩为主) ...

    Pyrolysis characteristics of a North Korean oil shale (2014年)

    Pyrolysis characteristics of a North Korean oil shale and its pyrolysates were investigated in this paper. The pyrolysis experiments were conducted below 600 °C at a heating rate of 10, 15, 20 and 25...

    页岩:Amber框架的分页器

    页岩(Shale)是基于Amber框架的一个强大的分页器组件,专为Crystal语言的Web开发设计。Amber是一个全面的、现代化的Web开发框架,它借鉴了Ruby on Rails的许多优秀特性,并针对Crystal语言进行了优化。在Amber框架中...

    Lithofacies and sedimentary characteristics of the Silurian Longmaxi Shale in the southeastern Sichuan Basin,China (2013年)

    ### 中国东南部四川盆地寒武纪龙马溪页岩的岩石相与沉积特征 #### 概述 本文探讨了中国东南部四川盆地寒武纪龙马溪页岩(SLS)的岩石相与沉积特征,这对于该地区的页岩气勘探与开发具有重要意义。...

    油页岩干酪根分子模拟

    Oil shale is an important potential energy source, consisting of an inorganic mineral matrix containing organic matter. The organic matter is generally divided into two fractions: bitumen and kerogen....

    JavaServer Faces 核心编程(第二版)源码

    这个【描述】提及了书中第十二章涉及Seam和Shale的部分,这两个都是在早期JSF生态系统中重要的辅助框架。 Seam是一个开源的、集成的JavaEE开发框架,它将JSF与EJB、CDI(Contexts and Dependency Injection)、...

    Reservoir characteristics of lacustrine shale oilof the Paleogene Hetaoyuan Formation in Biyang sag of Nanxiang Basin,Henan Province (2015年)

    尽管对南襄盆地泌阳凹陷古近系核桃园组湖相页岩采用大型压裂初产已获高产油气流,但是对该湖相页岩储集层特征尚未进行系统研究。文中应用薄片分析及全岩X衍射分析,结合陆相页岩矿物组成特点,将泌阳凹陷湖相页岩划分为...

    dual-porosity_mrst模拟_mrst油藏模拟_mrstimbibition_油藏_双重介质_

    标题中的“dual-porosity MRST模拟”指的是使用多相流模拟工具(Multiphase Reservoir Simulator Toolkit,简称MRST)对具有双重介质特性的油藏进行的数值模拟。这种油藏通常由两种不同渗透率的岩石组成,如基质和...

Global site tag (gtag.js) - Google Analytics