Author Archives: Shiloh Morris

Oracle releases emergency Java patch

javalogoAfter the Department of Homeland Security’s US-CERT warned users to disable Java to stop hackers from taking control of users’ machines, Oracle issued an emergency patch on Sunday.

Last week, US-CERT warned that the newest Java “vulnerability is being attacked in the wild, and is reported to be incorporated into exploit kits. Exploit code for this vulnerability is also publicly available. We have confirmed that Windows, OS X, and Linux platforms are affected.”

You can get the patch here.

Geb Quickie: Automatically download drivers for Chrome and Internet Explorer

gebA common error encountered by Geb beginners using Webdriver with Chrome or Internet Explorer is that they forget to download and properly configure chromedriver / iedriver.

If you’re interested in Geb or would like to learn more about this issue, take a look at Tomas Lind’s great blog.

Is Spock a logical choice for your Unit Testing?


  1. Easy to learn 

    If you know Java and JUnit, you are almost ready to go.

  2. Powered by Groovy 

    Java’s dynamic companion lets you do more in less time. Plus, it’s a lot of fun!

  3. Eliminates waste 

    No assertion API. No record/replay mocking API. No superfluous annotations. Everything is questioned, and only the essential is kept.

  4. Detailed information 

    Spock’s runtime collects a wealth of information, and presents it to you when needed.Condition not satisfied:

        max(a, b) == c
        |   |  |  |  |
        3   1  3  |  2
  5. Designed for use 

    We always start from a user’s perspective, without worrying about implementation details. Everything else follows from that.

  6. Open-minded 

    Test-first? Test-last? Unit-level? Integration-level? Test-driven? Behavior-driven? We believe there are many ways to create good software, and try to give you the flexibility to do it your way.

  7. Beautiful language 

    Express your thoughts in a beautiful and highly expressive specification language.

        def "subscribers receive published events at least once"() {
          when: publisher.send(event)
          then: (1.._) * subscriber.receive(event)
          where: event << ["started", "paused", "stopped"]
  8. Extensible for everyone 

    @Transaction? @SpringBean? @DeployApp? With Spock’s interception-based extension mechanism, you can easily create your own extensions.

  9. Compatible with JUnit 

    Run specifications with your IDE, build tool, and continuous integration server. Leverage JUnit’s reporting capabilities.

  10. Learns from the history 

    Spock combines the best features of proven tools like JUnit, jMock, and RSpec, and innovates on top of them.

  11. Learn more about Spock, or get started right away.

JetBrains IDEA 12 Released

I’d be 404 withoutJava IDE with advanced HTML/CSS/JS
editor for hardcore web-developers

JetBrains, the creators of intelligent, productivity-enhancing tools for software developers, have announced the public availability of IntelliJ IDEA 12, a regular yearly update of their award-winning Java IDE for web, enterprise and mobile development.

The latest release features a brand new, much faster compiler for enhanced user experience. “We have rebuilt the compiler from the ground up and moved it to a separate process,” said Maxim Mossienko, IntelliJ IDEA project lead. “Now your project can be compiled automatically in the background on every change you make, so you can run it almost instantly any time.”

As usual, IntelliJ IDEA stays on top of cutting-edge technologies to provide developers with timely support. It embraces the latest versions of Java, including its previews and new features that every developer is eager to try. With IntelliJ IDEA 12, JDK 8 can already be enjoyed with code assistance for new syntax such as lambda expressions, method references, and default methods.


Cloud Computing Presentation

Learn how to take advantage of cloud-based Amazon Web Services to create scalable hardware, virtual services, and region-based deployment.

This introductory presentation will cover all aspects of creating an account, selecting system image, and deploying that image to a region. Additionally, you’ll learn how to connect storage services, virtual database systems and replication tools.

NJUG presenters offer personalized training to companies and developers, please contact the NJUG Admin for additional information.