Amit Kulkarni

Greenhorn
+ Follow
since May 25, 2011
Amit likes ...
Spring Tomcat Server Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amit Kulkarni

Thanks Gregg!!!

Following is my concern, I have built a development war and deployed it on external tomcat server and tried to change the groovy files, but I m not finding it under war exploded. If I change the files in the source directory how it reloads it? But for GSPs exists under webapps.

Your help will be appreciated. Thanks once again for quick response.

-AMIT
12 years ago
Hi,

Current I m running my application on Java/J2ee/JSP using tomcat server. I would like to move to groovy grails application as
I heard groovy is dynamic, and we can do code change during runtime on tomcat container similar to JSP/GSPs. I tried alot to find the dynamic groovy code changes using MetaClass programming and ExpandoMetaClass, following are the references.

Reference URLs

  • Hot-fixing Code running inside Web Container with Groovy

  • http://stackoverflow.com/questions/1390243/hotfixing-code-running-inside-web-container-with-groovy

  • Modifying groovy code at run-time in grails application

  • http://stackoverflow.com/questions/2760735/modifying-groovy-code-at-runtime-in-grails-application

  • Embedding a Groovy Console in a Java Server Application

  • http://groovy.codehaus.org/Embedding+a+Groovy+Console+in+a+Java+Server+Application

  • Run-time vs Compile time, Static vs Dynamic

  • http://groovy.codehaus.org/Runtime+vs+Compile+time,+Static+vs+Dynamic

  • Compile Time and Run-time Meta-programming With Groovy

  • http://www.slideshare.net/openblend/open-blend-2010-groovy-metaprogramming-jeff-brown


    Still no luck for me to get the hot-fix on tomcat container. Please help me in understanding how can I fix the code on tomcat without server restart.

    -AMIT
    12 years ago