First they ignore you
then they ridicule you
then they fight you
then you win
    -- Mahatma Gandhi
Chinese => English     英文 => 中文             
随笔-143  评论-742  文章-0  trackbacks-0
公告
  1. 目前Groovy最新版本:Groovy1.5.6,Grails 最新版本:Grails1.0.3
  2. 在Grails0.6+中,数据源配置和log4j的配置以及Spring的配置分别在grails -app\conf\DataSource.groovy,grails-app\conf\Config.groovy,grails-app\conf\spring\resources.xml(如果该文件不存在,可自行新建)中进行配置,而Hibernate的配置文件应放在grails-app\conf\hibernate目录下;如果想修改web.xml模板,请先运行“grails install-templates”,然后修改src\templates\war\web.xml即可

 

推荐文章
Groovy简介 Groovy解惑系列
Java帝国的王储——Groovy !
Groovy, 一个富有创造性且革新的工程
Groovy与Grails同甘共苦,苦尽甘来
Groovy解惑——closure中的delegate
Groovy解惑——closure中的owner
Groovy轻松入门系列 Groovy高效编程系列
Groovy轻松入门——搭建Groovy开发环境
Groovy轻松入门——通过与Java的比较,迅速掌握Groovy
Groovy轻松入门——Grails实战基础篇
Groovy轻松入门——Grails实战之GORM篇
Groovy轻松入门——Grails实战之Ajax篇
Groovy轻松入门——Grails实战之遗留数据库处理篇
Groovy轻松入门——Grails实战之遗留框架利用篇
Groovy轻松入门——Grails实战之Web Flow篇
Groovy轻松入门——Grails实战之GORM DSL篇
Groovy高效编程——统计单词频率
Groovy高效编程——生成XML文件
Groovy高效编程——生成较为复杂的XML文件

Groovy高效编程——用Groovy轻松搞定SOAP消息
Groovy高效编程——动态改变对象的能力
Groovy高效编程——利用SwingBuilder轻松构造GUI
Groovy高效编程——‘匕首方法’的使用
Groovy高效编程——用Closure替代匿名类
Groovy高效编程——Annotations的使用
Groovy高效编程——Mixin的使用
Groovy高效编程——生成Oracle表结构信息文档

Groovy高效编程——用Gant替代Ant
Groovy高效编程——@Bindable的使用
Groovy高效编程——创建DSL
Groovy高效编程——DSL实战

Groovy高效编程——使用Mock & Stub简化测试
Groovy高效编程——导出Oracle的package源码 
Grails插件系列 Groovy & Grails的FAQ
grails-cache插件——简介 FAQ —— Groovy & Grails

 

其他文章
Groovy Grails
出现在J2EE Developer应聘要求中的Groovy & Grails
2007年Groovy好事连连
Groovy的春天从Java7诞生那日开始
牛刀小试——用Groovy实现最简单的ORM
一道Google算法题的解答
改进Groovy Console——添加行号

改进Groovy Console——支持自动缩进
Grails的richTextEditor标签增强型(附效果图与patch)
Grails的成功案例
测试表明:Grails的性能远胜于RoR(Ruby on Rails)

 

转载文章
Groovy Grails
[转载]Groovy学习之资料篇
[转载]在Groovy1.0中使用闭包和集合
[转载]Groovy running fine on .NET
[转载]Groovy 集合
[转载]Who Is Using Groovy
[转载]The Future of Groovy
[转载]The JSR Venture
[转载]Why Groovy?
[转载]I'm digging Groovy and Grails
[转载]JRuby, Groovy & Java Integration
[转载]安装Groovy的Eclipse插件
[转载]Groovy: The Sleeping Giant
[转载]Grails 1.0 Released: Productive Web App Development on the JVM
[转载]Composition on Rails: The Groovy Side of SAP NetWeaver
[转载]对Grails之误解
[转载]10 Common Misconceptions about Grails
[转载]让Grails + MySQL正确处理中文
[转载]grails调用存储过程(Grails : calling a stored procedure)
[转载]Grails Gathers Steam, Heads for 1.0
[转载]Ruby on Grails? Why the hell not?
[转载]The Charles Nutter Ruby on Grails story
[转载]Grails生成DECIMAL(NUMERIC)类型字段
[转载]如何在eclipse下调试grails
[转载]Grails + EJB Domain Models
[转载]Grails
[转载]Groovy on rails使用
[转载]Grails快速入门(Quick Start)
[转载]安装Grails
[转载]Grails Is on the Move
[转载]Contrasting Grails SpringBuilder vs JRuby Spring DSL vs Guice
[转载]Oracle 6月已经加入Grails开源计划
[转载]面向 Java 开发人员的 Grails on Oracle

 

资源
技术图书 开发工具 QQ群
Groovy & Grails技术图书
Grails User Guide
Grails中文参考手册
Groovy & Grails开发利器 17397986, 12110478, 50858584

 

友情链接
Groovy中文论坛
Groovy中国
中国Groovy联盟论坛
Groovy on Grails圈子
posted on 2007-04-23 16:33 山风小子 阅读(9973) 评论(40)  编辑  收藏 所属分类: Groovy & Grails

评论:
# re: 朝花夕拾——Groovy & Grails 2007-04-23 17:07 | 刘明
辛苦了,但我目前要学习的东西太多,实在是没时间了,见谅。记号先。  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-04-23 17:13 | 山风小子
@刘明
随时欢迎您与我一起探讨Groovy和Grails :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2007-04-30 11:10 | qieren
groovy...我从这里开始  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-04-30 12:13 | 山风小子
@qieren
一起学Groovy :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-05-02 20:51 | agile_boy
原来你在这里扎寨啊,以后经常来看看,呵呵  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-05-03 12:00 | 山风小子
@agile_boy
好啊,欢迎欢迎 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2007-06-29 14:27 | qieren
谢谢这么图,我会天天来看的  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-06-29 15:23 | 山风小子
相对矿工而言,程序员是多么幸福啊~  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2007-07-21 12:31 | fish
不懂,哈欠~ =.=  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-07-21 12:35 | 山风小子
@fish
不懂不要紧,可以学啊 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-08-06 14:13 | cmd
建议给出一个关于gorm的完整例程.  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-08-06 19:23 | 山风小子
@cmd
我会抽空写的,现在请参考《Grails权威指南》  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2007-08-08 12:08 | sky
赞...  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-08-08 20:15 | 山风小子
@sky
言简意赅 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-05 13:28 | baixh
谢谢楼主,本来查Groovy学习照料,跑到这里来了,学习Groovy从这里开始!同时,17岁的矿工也在勉励着我,谢谢  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-08 17:02 | GoKu
那个矿工比山西矿工好多了  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-08 17:38 |
还不都一样 光棍mm 哈哈  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-09 12:22 | menfancv
呵呵没想到你做的真不错啊
偶需要的资料你这没---不过还是顶下,辛苦了

呵呵  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-10 18:00 | Wen
请教山风兄弟有没有比较好的Groovy主题论坛一类的。  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-10 19:41 | 山风小子
@Wen
目前国内似乎只有JavaEye上的Grails圈子和JetBrains中国的那个Groovy论坛,它们的网址都在侧栏的‘Groovy & Grails’一栏中 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2007-09-28 20:49 | fish
还是不懂@@
明天找你签名合影哈~  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-09-28 21:33 | 山风小子
@fish
荣幸之至 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-11-10 14:35 | ahuaxuan
山风你好,17397986,这个群已经满了,想加入都加入不了啊  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-11-10 16:34 | 山风小子
@ahuaxuan
请加12110478 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-11-13 06:11 | kitsionlee
山风老大看出你对Groovy很用心,小鸟佩服你,可惜自己是学生,除了忙工课还要把基础打牢,一直没时间研究groovy,等有时间,定会时常拜访了.关注  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-11-13 19:15 | 山风小子
@kitsionlee
只要有一定的Java基础,Groovy很容易上手的 :)  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2007-12-23 14:57 | 山风小子
@在线翻译公司
一连在我的博客上发9个广告,是不是有点过分呢?  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2008-02-02 10:38 | feng
山风你好,我采用的Grails1.0-RC4,按照Getting-Started-with-Grails-Chinese.pdf上的例子学习,把DataSource.groovy文件配置换成oracle数据库后就报如下错误:
WARNING: DataSource.groovy not found, assuming dataSource bean is configured by Spring...
修改后的配置如下:
dataSource {
pooled = false
driverClassName = "oracle.jdbc.OracleDriver"
username = "deci"
password = "deci"
}
hibernate {
cache.use_second_level_cache=true
cache.use_query_cache=true
cache.provider_class='org.hibernate.cache.EhCacheProvider'
dialect = org.hibernate.dialect.Oracle9Dialect.dialect
}
// environment specific settings
environments {
development {
dataSource {
dbCreate = "update" // one of 'create', 'create-drop','update'
url = "jdbc:oracle:thin:@192.168.100.16:1521:orcl"
}
}
test {
dataSource {
dbCreate = "update"
url = "jdbc:oracle:thin:@192.168.100.16:1521:orcl"
}
}
production {
dataSource {
dbCreate = "update"
url = "jdbc:oracle:thin:@192.168.100.16:1521:orcl"
}
}
}

请问这是怎么回事,第一次接触grails,是不是还需要在其它地方进行配置,恳请你的解答,谢谢  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2008-02-02 10:44 | feng
jdbc驱动已经放到lib文件夹下了  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails[未登录] 2008-02-02 12:43 | feng
呵呵,原来是自己dialect属性没配置正确,让各位见笑了。  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-02-27 11:18 | ask feng
to feng:

我也出现了和你一样的问题,请问一下,正确的dialect是怎么配置的,我以前没有用过hibernate,对它的配置不熟悉  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-02-27 11:21 | ask feng
to 山风老大:

我刚在grails里配置数据库,出现了和feng一样的问题,请问一下怎么解决,谢谢!  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-02-27 13:01 | ask feng
那位大虾知道的,请说一下,在线等,急,谢谢!  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-03-26 19:53 | R.C.
我把 10 Common Misconceptions about Grails 翻译了一下 不过不是很好
http://blog.csdn.net/RayChase/archive/2008/03/26/2221042.aspx  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-03-29 11:10 | R.C.
关于Grails工程在Eclipse的配置可以看看我写的这个
http://blog.csdn.net/RayChase/archive/2008/03/29/2227519.aspx
现在G的用户还是比较少,呵呵,有机会向山风小子请教。  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-03-31 22:53 | Jak.Shen
不重新发明轮子!你写的文章挺好的!  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-04-16 15:25 | tank
对于新手来说,这份资料太重要了,3x  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-04-23 17:00 | hadex
这位老哥牛哇。您应该出本书,把所有的这些文章都给弄进去。  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-05-11 15:46 | 月不落
除了第一篇博文,其他都如天书。。  回复  更多评论
  
# re: 朝花夕拾——Groovy & Grails 2008-06-01 17:36 | 山风小子
@月不落
欢迎月月光临蛟龙居 :)  回复  更多评论
  



标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2008-06-21 18:18 编辑过