SpringSource is offering on Tuesday upgrades to the Groovy dynamic language and Grails Web application framework with such features as improved performance and OSGi support. The upgrades include Groovy 1.6 and Grails 1.1, which can be downloaded at this Web site.
"Grails is a rapid Web application development framework built on the Groovy language and Groovy itself is a language that has the essence of Ruby and Python and so forth," as well as integration with Java and the Java Virtual Machine, said Graeme Rocher, head of Grails development at SpringSource.
[ Last year, SpringSource took over responsibility for the two open source technologies when it bought Groovy-Grails backer G2One. ]
Version 1.6 of Groovy offers better compile-time and runtime performance improvements, abstract syntax tree transformations that support transformation annotations, and support for OSGi. Developers with Groovy can extend the Java platform to match business requirements, SpringSource said. Extension can be done with scripting capabilities supporting domain-specific languages expressing business concepts.
Performance has been improved as much as 100 to 450 percent in some cases, Rocher said. This was done via call site caching, which is a way for dynamic languages to shorten the path to the invocation of a particular method, he said.
"If you can cache the particular method invocation, then you can callow the HotSpot JVM to in-line that into machine code, which improves performance greatly," Rocher said.
AST transformations reduce the number of lines of code needed to express certain patterns and enables further extension of the language. Meta-programming enhancements in version 1.6 streamline code and enable developers to write more expressive business rules. Also, meta-programming supports common enterprise APIs, such as Java 6 scripting APIs and JMX management.
Grails 1.1 offers optimized performance, incremental improvements to components, and easier integration with build systems. The Ant and Maven Java-based build systems are backed. Also, greater potential for modularity is offered through plug-ins. Transitive plug-in resolution in version 1.1 will install plug-ins that are dependent on each other.
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Download a free 30day trial and experience how XenDesktop delivers a pristine, ondemand desktop experience to users on whatever device they choose, while cutting IT complexity and costs.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »
Sign up to receive InfoWorld Resource Alerts
