Category Archives: Groovy

PHPHOST BLOG

Web Hosting Related Articles You May Need

Comparing Manifest Files with Groovy

My last post discussed comparing the high-level contents of two JAR files using a Groovy script and a 2011 post covered displaying a particular JAR file’s manifest file. This post illustrates the combination of those two ideas with an example of compar… Continue reading

Posted in Groovy, Java (General), Syndicated | Comments Off on Comparing Manifest Files with Groovy

Comparing JARs with Groovy

It can sometimes be useful to compare the contents of two JARs. In this blog post, I demonstrate a Groovy script that acts like a simple “diff” tool for comparing two JAR files.

The Groovy script shown here, jarDiff.groovy, can undoubtedly be improved… Continue reading

Posted in Groovy, Java (General), Syndicated | Comments Off on Comparing JARs with Groovy

Browsing the COS Naming Service Namespace with Groovy

There was a time when CORBA was all the rage and was as trendy and popular as any favored technology that has come along since. Although CORBA does not get the attention in blogs and other online media that it would have in those days or that other tec… Continue reading

Posted in Groovy, Java (General), Syndicated | Comments Off on Browsing the COS Naming Service Namespace with Groovy

Detecting Java Threads in Deadlock with Groovy and JMX

Unfortunately, Java applications taking advantage of multiple threads can at times run into the dreaded deadlock condition. Fortunately, the Java Platform makes deadlock detection relatively easy. In fact, the built-in (since J2SE 5) ThreadMXBean (a Pl… Continue reading

Posted in Groovy, Java (General), JMX, Syndicated | Comments Off on Detecting Java Threads in Deadlock with Groovy and JMX

Monitoring Key JVM Characteristics with Groovy, JMX, and RuntimeMXBean

Since J2SE 5, Platform MBeans have been available that allow some key characteristics regarding the JVM to be monitored and (even managed in some cases) via JMX. In addition, many JVM-based applications add their own JMX-enabled features for monitoring… Continue reading

Posted in GlassFish, Groovy, JMX, Syndicated | Comments Off on Monitoring Key JVM Characteristics with Groovy, JMX, and RuntimeMXBean

"Booting AMX" in GlassFish 3 with Groovy

In my previous blog post, I looked at using JMX as one of multiple methods supported by GlassFish 3 for its administration, monitoring, and management. In this blog post, I look in more detail at monitoring and managing GlassFish 3 via JMX and Groovy. … Continue reading

Posted in GlassFish, Groovy, JMX, Syndicated | Comments Off on "Booting AMX" in GlassFish 3 with Groovy

Finding Properties in JARs with Groovy

In previous blog posts I have looked at Searching JAR Files with Groovy to find entries (such as .class files) contained in the JAR and Viewing a JAR’s Manifest File with Groovy. In this post, I look at using Groovy to find a particular property in a p… Continue reading

Posted in Groovy, Java (General), Syndicated | Comments Off on Finding Properties in JARs with Groovy

Hello GroovyFX

GroovyFX brings together two of my favorite things: Groovy and JavaFX. The main GroovyFX Project page describes GroovyFX as “[providing] a Groovy binding for JavaFX 2.0.” GroovyFX is further described on that page:
GroovyFX is an API that makes working… Continue reading

Posted in Groovy, JavaFX, Syndicated | Comments Off on Hello GroovyFX

Significant Software Development Developments of 2012

I have written before (2007, 2008, 2009, 2010, 2011) on my biased perspective of the most significant developments in software development for that year. This post is the 2012 version with all my biases and skewed perspectives freely admitted.

10. Gr… Continue reading

Posted in Akka, Cloud Computing, General Development, Groovy, HTML5, linux, NoSQL, Scala, Syndicated | Comments Off on Significant Software Development Developments of 2012

Groovy: Multiple Values for a Single Command-line Option

One of the many features that makes Groovy an attractive scripting language is its built-in command-line argument support via CliBuilder. I have written about CliBuilder before in the posts Customizing Groovy’s CliBuilder Usage Statements and Explicitl… Continue reading

Posted in Groovy, Syndicated | Comments Off on Groovy: Multiple Values for a Single Command-line Option