GroovyMag August 2013
In this issue...
Groovy Under the Hood: invokedynamic Support in Groovy – Part II - Kirsten Schwark
ava 7 introduced the invokedynamic bytecode that was specifically designed with dynamic languages in mind to allow them to defer method selection until runtime, rather than requiring the method selection to be performed at compile-time. This month we will explore specifically how Groovy generates invokedynamic instructions and the dynamic linking mechanisms Groovy provides for runtime method resolution.
RestRPC API Development Simplified - Owen Rubel
Most modern web development these days has some requirement for an api and one way or another you will eventually find yourself having to build even the simplest one... handling the responses, the errors, the callbacks, etc for each and every method you want to turn into an API call. Having had to do this once, I decided there had to be a better way which was why I created RestRPC. In it's initial version, RestRPC was just an annotation for methods that allowed you to place said annotation and declare which REST method you wished it to support. If called directly via your API, the controller/method would be intercepted and the output would be sent via the api rather than to a view. But nowadays, it has evolved into a full feature API development tool.
Plugin Corner - JMX - Chandan Luthra
Profilers can provide insight into an application's comportment, but we usually use them when there’s a serious problem. Many times you must have stared at your application and have asked yourself “Which task is taking long time to process?” or “What the heck is going on?” At times building a utility for monitoring could make it easier to investigate what your code is doing without debugging. So, let see how we can easily build hooks in Grails Application and monitor it.
Data binding in Grails 2.3 - Chetan Khurana
Grails 2.3 has improved on many things. This includes a new and improved data binding mechanism to replace the current implementation in pre 2.3 releases.
Page count: 19