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)  編輯  收藏 所屬分類: 最新開源動態
          主站蜘蛛池模板: 筠连县| 奉化市| 安福县| 江都市| 荃湾区| 临湘市| 陇南市| 平顺县| 凌源市| 古丈县| 正阳县| 凤冈县| 洱源县| 敦煌市| 独山县| 宁津县| 诏安县| 临汾市| 蓝田县| 通海县| 武陟县| 益阳市| 沛县| 汉阴县| 灵山县| 讷河市| 蒙自县| 淳安县| 石渠县| 侯马市| 阳新县| 福贡县| 香港 | 民和| 巴楚县| 汉川市| 平利县| 历史| 大庆市| 黄山市| 五莲县|