更有趣的..

Java Web框架Stripes1.5发布

发表日期:2009-01-05 12:40:23.0| 点击次数:45

作者: robbin  链接:http://www.javaeye.com/news/3262  发表时间: 2008年08月19日
声明:本文系JavaEye网站发布的原创新闻,严禁任何网站转载本文,否则必将追究法律责任!

Stripes是一个MVC类型的Java Web框架,也是最早采用Annotation实现了零配置文件的Java Web框架。Stripes虽然没有Struts,Spring MVC等框架著名,但是也是一个简单、易用,而且可以和Spring进行良好整合的Web框架,有兴趣的朋友可以试试看。

Stripes1.5版本有如下改进:

# Even less configuration! Stripes can automatically locate and use your extensions (TypeConverter, Formatter, ExceptionHandler, ActionBeanContext, etc.). Most applications can now be configured with just two parameters.

# Request parameters can be embedded in the request URL and used just like normal parameters. Clean URLs are fully supported by s:link, s:url, and s:form. Use the new DynamicMappingFilter for even more flexibility.

# @StrictBinding annotation to restrict binding only to those properties you wish to allow.

# @Validate(encrypted=true) to encrypt ActionBean property values before they are written to a page in a link or form input.

# @DontBind annotation to completely bypass both binding and validation for an event.

# AJAX-friendly features like partial forms and @HttpCache annotation to control client-side caching.

# The s:format tag brings the power of Stripes formatters to your views. Formatters are also used by all tags and resolutions, leaving String.valueOf() as a last resort for converting objects to strings.

更详细的改进请看:
http://stripesframework.org/display/stripes/2008/08/18/Stripes+1.5+Release+Available

本文的讨论也很精彩,浏览讨论>>


JavaEye推荐



 开源


查看原文