Friday, April 19, 2013

How to Integrate Groovy with ZK Web application.

s i m using Maven in my ZK Web application ..So i have to made these changes to run GroovyScript from my ZK WebApplication..
1- First i have to add this dependency in pom.xml file
2- Second thing i have to create a Groovy script file and added it into /src/main/resources folder.With Following Code.
3- Third and most important thing how to run above created Groovy Script code..as you know the above code returning List of String so we can use below code in my Java class.
This is Basic POC(Proof of Concept) and my first sample with Groovy...and Here Sample Code for Groovy Script..

No comments:

Post a Comment