Using Groovy / Grails in an Inherited Java / JSP Web Application

I was fortunate enough to start a new life with the Grail. However, many people ask me how to add Groovy and / or Grails to the legacy Java / JSP web application. Do people have experience or recommendations on how best to incorporate Groovy and Grails into a large legacy application?

+5
source share
6 answers

This IBM Developerworks article details how to use Grails with your old database .

A tool that can help map legacy databases to grails domain objects, GRAG is the Grails application generator . This is a handy tool that helps generate mapping classes for you.

The third option is to not use Grails for the gorm / domain level. Instead, since it works well with Java, you can create services that invoke existing legacy Java code for business logic and persistence .

I hope one of these approaches will work for you.

+3
source

, , Grails Enterprise Java. , , . , . , .

+2

jsps grails (grails Java- hibernate, , , ), jsp/, grails. spring , , .

, , , spring .

+1

, Groovlets gsp web.xml jar, .

http://www.ibm.com/developerworks/java/library/j-pg03155

jar groovlets.

groovy -1.5.7.jar
ASM-2.2.jar
ANTLR-2.7.6.jar

gsp.

+1

, , " grails/ groovy" , grails - , "add" new, , , .

0

, Grails - , Grails Java- , . Java Grails . Groovy Java- .

Java, . Grails Spring MVC, Hibernate Java-, , Java , Grails Java-.

0

All Articles