开发者

Adding Grails to an exsisting project

开发者 https://www.devze.com 2022-12-20 12:44 出处:网络
I have an existing system built in Java we currently 开发者_Python百科expand that by adding JSPs and Classes but we are given a deployed project. I would like to consider adding new features with Grai

I have an existing system built in Java we currently 开发者_Python百科expand that by adding JSPs and Classes but we are given a deployed project. I would like to consider adding new features with Grails but I'm wondering how I can get both parts into the same context path in Tomcat. Is there any way to make this happen?


Grails classes compile to .class files just as java classes do. It is only a matter of packaging to deploy a mix of the two in the same .war. In theory (the way I understand it), there's no reason for it not to be possible. I would take apart a simple grails app .war and see if it requires anything special (*.xml) to run: if not, that you just have to package java and groovy binary files in a single .war.

Would like to hear how it went, though. :)

0

精彩评论

暂无评论...
验证码 换一张
取 消