DevOps Zone is brought to you in partnership with:
  • submit to reddit
Dave Bush08/29/14
1346 views
0 replies

It is Called “Unit Testing” for a Reason

Simply, a unit is one feature or functionality that your application needs to perform. The problem I see most people have is not that they don’t know how to test a unit so much as they don’t understand what “a feature” or “a function”.

Borislav Iordanov08/29/14
1612 views
0 replies

Where are the JVM Scripting IDEs?

Production code is being written, dynamic language code bases are growing, whole projects don't even have any Java code proper. Yet when it comes to tooling, the space is meager to say the least.

Paul Hammant08/28/14
2180 views
0 replies

Provisioning, Deployment and Application Config Cycles

In my opinion: provisioning should be via “Infrastructure as Code," deployment of application binaries is as it’s conventionally understood today, and application config should be “Configuration as Code.” Here’s a handy diagram of all that, for a single hypothetical environment.

Arvind Anandam08/28/14
335 views
0 replies

Securing JBoss EAP 6 - Implementing SSL

This blogs details the steps you could take to secure JBoss EAP 6 running in Domain mode. These are probably documented by RedHat but the documentation seems a bit scattered. The idea behind this blog is to put together everything in one place.

David Winters08/28/14
183 views
0 replies

New Features and Changes in BPM 12c

In this blog, I will discuss which I believe are the most notable changes in the BPM 12c product, some of which also impact SOA suite 12c since the BPM suite shares some components with the SOA suite including the human workflow and business rules engine among others as we can see from the diagram below.

Patroklos Papapetrou08/26/14
4110 views
4 replies

The Full-Time Developer 'Curse'

I work as a full-time developer : This practically means that I spend 9 hours daily working with legacy code, existing or new products of a specific domain.

Mohamed Sanaulla08/26/14
3933 views
4 replies

Parameterized Test Runner in JUnit

We all have written unit tests where in a single test tests for different possible input-output combinations. Lets look how its done by taking a simple fibonacci series example. The below code computes the fibonacci series for number of elements mentioned.

Dustin Marx08/26/14
3697 views
0 replies

Java Numeric Formatting

I have used this post to look at how NumberFormat can be used to present numbers in different ways (currency, percentage, integer, fixed number of decimal points, etc.) and often means no or reduced code need be written to massage numbers into these formats.

David Flynn08/25/14
3298 views
0 replies

Collectors Part 2: Provided Collectors and a Java 8 Streams Demonstration

oday we’ll look at the collect function and then we’ll finish off with a more substantial example showing the power Java 8 streaming gives us.

David Green08/25/14
5286 views
2 replies

Is Pair Programming For Everybody?

Pairing helps a team normalise its knowledge – what one person knows, everyone else learns through pairing: keyboard shortcuts, techniques, practices, third party libraries as well as the details of the source code you’re working in. This pushes up the average level of the team and stops knowledge becoming siloed.

Dustin Marx08/25/14
1127 views
0 replies

jinfo: Command-line Peeking at JVM Runtime Configuration

In the Java SE 8 version of jinfo running on my machine, the primary limitation of jinfo on Windows that I discussed in the post Acquiring JVM Runtime Information has been addressed.

Steven Lott08/25/14
3629 views
2 replies

Permutations, Combinations and Frustrations

What's really important about this question was the obstinate inability of the programmer to realize that their problem had a tidy, well understood solution. And has had a good solution for decades. Instead they did a lot of programming and sent 100's of words and 10 attachments (10. Really.)

Benjamin Ball08/24/14
3463 views
0 replies

The Best of the Week (Aug 14): DevOps Zone

Make sure you didn't miss anything with this list of the Best of the Week in the DevOps Zone (August 14 to August 21). This week's topics include the Java 9 features announcement and community reactions, Java testing frameworks, code duplication, BDD and Continuous Delivery, and modern IT and DevOps.

Jakub Kubrynski08/23/14
3862 views
0 replies

Debugging OpenJDK

Sometimes debugging Java code is not enough and we need to step over the native part of Java. I spent some time to achieve proper state of my JDK to do that, so short description probably will be useful for ones starting their trip. I'll use the brand new OpenJDK 9!

Carlos Sanchez08/23/14
3170 views
0 replies

Building Docker Images with Puppet

Everybody should be building Docker images! but what if you don’t want to write all those shell scripts, which is basically what the Dockerfile is, a bunch of shell commands in RUN declarations; or if you are already using some Puppet modules to build VMs?

Michael Scharhag08/22/14
1943 views
0 replies

Understanding JUnit's Runner architecture

Some weeks ago I started creating a small JUnit Runner (Oleaster) that allows you to use the Jasmine way of writing unit tests in JUnit.

Jim Bird08/22/14
30844 views
9 replies

Don't Waste Time on Code Reviews

Many people still think of code reviews as expensive formal code inspection meetings, with lots of prep work required before a room full of reviewers can slowly walk through the code together around a table with the help of a moderator and a secretary. Lots of hassles and delays and paperwork.

Dustin Marx08/21/14
1470 views
0 replies

Autoboxing, Unboxing, and NoSuchMethodError

J2SE 5 introduced numerous features to the Java programming language. One of these features is autoboxing and unboxing, a feature that I use almost daily without even thinking about it.

Cloudify Community08/21/14
2518 views
0 replies

A Puppet Automation + MySQL Tutorial: Wordpress Install in 7 Short Steps

In this blog post I'd like to demonstrate how a cloud application orchestrator can complement already existing automation processes powered by configuration management tools, in this case we will demonstrate with Puppet.

Alec Noller08/20/14
2275 views
0 replies

Dev of the Week: Topher Marie

Every week here and in our newsletter, we feature a new developer/blogger from the DZone community to catch up and find out what he or she is working on now and what's coming next. This week we're talking to Topher Marie, CTO and Co-Founder of JumpCloud.

John Ferguson Smart08/20/14
6168 views
4 replies

BDD, Automated Acceptance Tests and Continuous Delivery: Dealing with Scenarios that are "Work-in-Progress"

One of the principle rules of Continuous Delivery is that you should never knowingly commit code that will break the build. When you practice test-driven development this is easy: you write a failing test (or, more precisely, a failing "executable specification"), make it pass, and then refactor as required.

Benjamin Ball08/20/14
15336 views
22 replies

Java 9 Features Announced — What Do You Think?

JDK 9 features have been announced, and we want to know what you think about them! Are these features something you've been waiting for, or are you a bit underwhelmed? Do some of these proposals seem to go against improvements that you want? Post a comment and tell us!

Rob Galanakis08/20/14
2978 views
0 replies

A Short Letter to a Unit Testing Newcomer

One of my friends asked how to get started with unit testing and Test Driven Development and figured I could write a short post. I also mention TDD a few times in my book so I think it could use some more attention.

Topher Marie08/19/14
4724 views
0 replies

DevOps Has IT Heroes Sleeping Through the Night

Fifteen years ago, at the height of the dot com bubble, system administrators were burning the candle at both ends. With no cloud, Agile, or DevOps to help them, they were making it happen through sheer force of will and effort. As far as modern IT is concerned, those days are gone, and it's for the best.

Dave Farley08/19/14
4039 views
0 replies

Dealing with Testing Times

This approach not only gives you better control in your tests, but it also speeds them up – no more sleeping threads, which can add up in large test suites. As well as all that it enables classes of testing that were simply impossible before (e.g. long duration waits).