What’s next

October 24, 2008

Embedding a Groovy Console in Spring context

Filed under: Uncategorized — stigl @ 8:38 am
Tags: , , ,

In search of the perfect way of adding a console to my Java application, for debugging and test purposes, I stumbled upon the article Embedding a Groovy Console in a Java Server Application by Bruce Fancher. It has a code demo of which runs two flavors of Groovy Consoles from the Spring context of his application. This vantage point gives one access to all the services available to spring, and sits smack in the middle of the most important parts of your application where you can access services and databases. Check out the supplied demo, which still runs nicely with Ant + Tomcat.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: