Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development

    Groovy Programming Language Sees Major Boost in Popularity

    Written by

    Darryl K. Taft
    Published October 15, 2013
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      The Groovy programming language has gained in popularity over the last year, such that it has now cracked the top 20 list of the TIOBE Index of most popular programming languages.

      Groovy, an object-oriented scripting language that runs on the Java Virtual Machine (JVM), ranks number 18 on the TIOBE Index. Last year this time it was ranked number 53. Groovy is fully compatible with Java, making it easy to combine Java programs with Groovy.

      However, as TIOBE notes, there is a lot of competition in the field of lightweight languages that fit together with Java. Yet, Groovy beats other well-known JVM languages such as Scala (ranked 36), JavaFX Script (ranked 41) and Clojure (ranked 76).

      In an exclusive interview with eWEEK, Guillaume Laforge, Groovy project manager at Pivotal, said one thing that makes Groovy attractive to developers is that its main goal has been to simplify the life of developers, and particularly Java developers.

      “Its syntax is based off of the Java language itself, so it’s very straightforward and intuitive to learn, but at the same time offers various shortcuts and APIs to make developers much more productive, help them write more concise and more readable code that is easier to maintain and evolve in the long run,” Laforge said.

      Groovy also is the alternative language on the JVM that offers the best and most seamless integration and interoperability with the Java platform, as developers don’t need to convert from one system to the other as Groovy classes are plain Java classes and vice versa, he said. Moreover, Groovy is well suited for many situations, from writing small scripts to building more complex applications, as well as for designing Domain-Specific Languages (DSLs) for business rules and more.

      “I’ve seen several financial institutions, insurance companies, travel or energy companies use Groovy for describing their business rules,” Laforge said. “I’ve seen actuaries defining rules for loan grants, scientists creating scientific simulations — nuclear risks, disease evolutions, etc., travel agents customizing booking processes and more. The easy Groovy syntax plus its ability to write almost plain English sentences which are valid Groovy statements makes it simple to write readable business rules.”

      Laforge is well versed in Groovy. He is the Spec Lead of Java Specification Request 241 (JSR-241) whose role is to specify this new language. He also initiated the Grails project, which is a web application framework based on Groovy. Laforge has worked as a consultant building Groovy and Grails apps. He also was the co-founder and vice president of technology of G2One, which specialized in leading the development of the Groovy dynamic language and the Grails web framework. SpringSource acquired G2One in 2008 and was itself acquired by VMware in 2009. VMware later spun off SpringSource into Pivotal, where Laforge continues to lead the Groovy developer team.

      Groovy Programming Language Sees Major Boost in Popularity

      “Groovy is widely used in the industry as the 1.7 million downloads a year can attest, but there’s been an interesting surge in popularity recently,” Laforge told eWEEK. “In particular, as could be seen at SpringOne 2GX in September, Groovy was nicely featured in the Pivotal’s Spring.IO platform for example in the upcoming Spring Framework 4.0 version, in Spring Boot, or Reactor and other projects. There’s a lot of buzz around the Groovy ecosystem: with the Grails web framework ongoing growth, or the Gradle build automation system that is being used by Google for the building Android application.

      There are different use cases for applying Groovy in your projects.

      Groovy often gets introduced into companies and projects because of its rich testing tools it offers and how readable tests can become thanks to them, Laforge said. An example of this is the Spock testing framework. Other shops adopt Gradle for building complex applications where competing tools like Ant or Maven show weaknesses, he said. Moreover, Groovy is also often used for “scripting” or customizing applications through extension points featuring Groovy scripts.

      In addition, the Internet of Things world is using Groovy for scripting home automation, for interacting with the various nodes of the mesh network, Laforge said. SmartThings and Carriots are integrating Groovy for that purpose.

      Developers also can customize the Jenkins continuous integration platform with Groovy, or interact with the ElasticSearch search engine with a Groovy API, etc.

      Laforge said some of the major uses of Groovy include:

      · Netflix is using Groovy in their Asgard cloud automation platform, as well as for other handy libraries like Glisten to interact with Amazon’s Simple Workflow Service.

      · Google has moved the Android application build over to Gradle which uses Groovy as the build language, so all Android developers will soon be using Groovy for building their Android applications

      · LinkedIn developed Glu — their open source deployment and monitoring platform — in Groovy, but they are also using Grails web applications for recruiters using the LinkedIn platform and profile database

      · Various financial institutions like JPMorgan, MasterCard, Credit Suisse, Fanny Mae, Mutual of Omaha are using Groovy

      · The European Patent Office is using Groovy for collecting patents from all over the world.

      Asked what he and his team are doing with Groovy these days, Laforge replied: “These days, we are ironing out the latest details of the Groovy 2.2 final release. We are also working on future versions of Groovy at the same time, and investigating and experimenting with other areas where Groovy could offer some nice productivity boosts for developers. Think simplifying Android development, big data manipulation and analyses, etc.”

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.