posts - 156,  comments - 601,  trackbacks - 0

            在Spring官方網站閑逛,發現Grails 1.1在 2009-03-12正式發布了.

          主要新加入的功能特征:
           1. Standalone GORM.(可脫離Grails框架單獨運行)
           
          <gorm:sessionFactory base-package="org.grails.samples"
                               data-source-ref
          ="dataSource"
                               message-source-ref
          ="messageSource">
             
          <property name="hibernateProperties">
                  
          <util:map>
                       
          <entry key="hibernate.hbm2ddl.auto" value="update"/>
                   
          </util:map>
             
          </property>
          </gorm:sessionFactory>

           2. Maven & Ant+Ivy Support(Grails項目可以通過Maven和Ant Ivy編譯)
           3.
          Better Plugins (更好的插件實現,支持通知項目的metadata文件進行安裝)
           4. Spring Namespace Support
          Groovy DSL for defining bean definitions. This DSL has been extended to support Spring namespaces:
          beans = {
              xmlns aop:"http://www.springframework.org/schema/aop"

              fred(Person) {
                 name = "Fred"
                 age = 45
              }
              birthdayCardSenderAspect(BirthdayCardSender)

               aop {
                   config("proxy-target-class":true) {
                       aspect( id:"sendBirthdayCard",ref:"birthdayCardSenderAspect" ) {
                             after method:"onBirthday",
                             pointcut: "execution(void ..Person.birthday()) and this(person)"
                        }
                   }
               }
          }

           5. JSP Tag Library Support JSP標簽庫支持
          <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
          <form:form commandName="address" action="do">
                 
          <b>Zip: </b><form:input path="zip"/>
          </form:form>


          下面是官方發布信息:
          SpringSource Head of Grails development, Graeme Rocher, provides an overview of the new features in his latest blog post. This includes the much requested ability to use Grails' Object Relational Mapping (GORM) outside of Grails itself as well as an example that uses GORM inside a Spring MVC application. Incorporating Spring namespaces and support for popular build tools like Maven and Ant+Ivy, the new release is the perfect opportunity to take a look at Grails.

          下載 | 發布消息 | 修改日志 | 原代碼下載


          Good Luck!

          Yours Matthew!


          posted on 2009-03-15 22:48 x.matthew 閱讀(1260) 評論(1)  編輯  收藏 所屬分類: 最新開源動態
          主站蜘蛛池模板: 梁山县| 静海县| 阿合奇县| 东阿县| 铜鼓县| 普陀区| 沙田区| 陆河县| 徐水县| 浏阳市| 安平县| 岳西县| 韶关市| 台江县| 久治县| 康乐县| 修文县| 威信县| 衡山县| 松滋市| 民乐县| 遵义市| 吴川市| 浑源县| 盐源县| 普宁市| 吉林省| 富川| 犍为县| 肥东县| 礼泉县| 宜春市| 三台县| 无锡市| 麻城市| 吉首市| 且末县| 科尔| 大连市| 苍南县| 湘潭县|