0

Is there any advantages or any available pattern where in we create just the Domain classes and jar it, to be used in different grails applications applicable.

4

1 回答 1

3

重用 Grails 工件(域类、控制器等)的标准方法是创建一个插件,而不是一个 jar 文件。请参阅http://grails.org/doc/latest/guide/12.%20Plug-ins.html

于 2011-07-13T07:09:11.473 回答