Reputation: 569
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.
Upvotes: 0
Views: 53
Reputation: 75671
The standard approach for reusing Grails artifacts (domain classes, controllers, etc.) is to create a plugin, not a jar file. See http://grails.org/doc/latest/guide/12.%20Plug-ins.html
Upvotes: 3