DevOps Zone is brought to you in partnership with:
  • submit to reddit
Michael Scharhag09/22/14
5 replies

Reduce Boilerplate Code in your Java applications with Project Lombok

One of the most frequently voiced criticisms of the Java programming language is the amount of Boilerplate Code it requires.

Tomasz Nurkiewicz09/22/14
0 replies

Property-based Testing with ScalaCheck

While Spock can be used for some property-based testing, ScalaCheck and ScalaTest may be your best option.

Nicolas Frankel09/22/14
1 replies

Thank You Mr Beck

At JavaZone I attended many great talks by brilliant speakers, but one was really head and shoulders above the lot: “Software Design, Why, When and How” by Kent Beck.

Tomasz Nurkiewicz09/20/14
0 replies

Property-based Testing With Spock

Property based testing is an alternative approach to testing, complementingexample based testing

Eyal Golan09/19/14
0 replies

JUnit Rules

In this post I would like to show an example of how to use JUnit Rule to make testing easier.

Ajitesh Kumar09/19/14
2 replies

Java - Four Security Vulnerabilities Related Coding Practices to Avoid

This article represents top 4 security vulnerabilities related coding practice to avoid while you are programming with Java language.

Michael Georgiou09/18/14
2 replies

15 Tools That Make Life Easy For Java Developers

If you are a web developer, it is a no brainer that much of your professional life will be spent using Java. Thus, this article lists 15 Java tools that can make your life easier.

Carlo Scarioni09/18/14
1 replies

Ruby Unit Testing is Weak as a Safety Net

Ruby unit testing feels very nice and natural to write with RSpec. However I still love Java (or for this particular example anything with strong typing) and is still my main language, and in many cases is superior to Ruby.

Eric Minick09/18/14
0 replies

For Smoother Automation Identify Application Stuff vs System Stuff

I was recently reminded of a key insight included in a presentation from the Datical team at IBM Innovate 2014. They automate migration of databases changes (and naturally have an integration with UrbanCode Deploy).

Chen Harel09/17/14
0 replies

5 Error Tracking Tools Java Developers Should Know

An overview of the modern error tracking tools for Java developers: Raygun, Sentry, Takipi, Airbrake and Stack Hunter

Nicolas Frankel09/17/14
0 replies

Another Valid Open/Closed Principle

Many of you readers are familiar with the Open/Closed principle. But so often, I encounter database connections not closed. Here are a few tips to keep that from happening.

Denis Goodwin09/17/14
0 replies

The Art of Designing Automated Testing Tools

Designing automated testing tools can be a difficult task. Not only do you have to surface all of the complexities involved in a variety of test structures but you also have to make all of those complexities accessible to a variety of audiences.

Alec Noller09/17/14
0 replies

Java 8 Survey: Part II

Typesafe is conducting another survey - part II of a survey, that is - regarding the adoption and users of Java 8. It's a quick survey, just two questions, and we should be hearing results within a few weeks.

Peter Lawrey09/16/14
0 replies

Lambdas and Side Effects

Java 8 has added features such as lambdas and type inference. This makes the language less verbose and cleaner, however it comes with more side effects as you don't have to be as explicit in what you are doing.

Julien Danjou09/16/14
0 replies

Python Bad Practice: A Concrete Case

A lot of people read up on good Python practice, and there's plenty of information about that on the Internet. Today I'd like to show a concrete case of code that I don't consider being the state of the art.

Mateusz Haligowski09/16/14
0 replies

A new way of extracting values in AssertJ collections assertions

The old extracting function in AssertJ utilized reflections and did not allow the arbitrary extractions. The new approach addresses the issues.

Trevor Parsons09/16/14
0 replies

The Pros and Cons of Open Source Logging

At a recent DevOps convention, I learned some of the biggest challenges facing log management for developers. I've compiled some pros and cons for open-source logging solutions.

Istvan Forgacs09/16/14
0 replies

Debugging Step by Step - Comparison Debugging

Comparison debugging is an efficient active debugging method by which non-reproducible and similar bugs can be found easily. In this article we describe the method and its usage, then demonstrate it by applying a simple, well-known example.

Lukas Eder09/16/14
4 replies

This is the Final Discussion!

Pun intended… Let’s discuss Java final.

Alec Noller09/15/14
0 replies

Introducing DZone's Latest Checklist: Class Design

This week, DZone released its latest Checklist: Class Design. This is the third entry in our Checklist series, so be sure to check out our previous releases - Unit Testing and Test-Driven Development - as well!

Steven Lott09/15/14
2 replies

API Testing: Quick, Dirty, and Automated

When writing RESTful API's, the process of testing can be simple or kind of hideous. Some test scripting is possible in Postman. Some. In Python, you've got a complete programming language. The "some" qualifier evaporates.

Eyal Golan09/13/14
0 replies

JUnit Rules

In this post I would like to show an example of how to use JUnit Rule to make testing easier.

Curtis Lassam09/13/14
0 replies

Cube Drone #4: Poom

From software developer Curtis Lassam (who writes about comics and code) comes a comic series called Cube Drone. This is Cube Drone #4: Poom.

Jeremiah Orr09/13/14
0 replies

Yes, You CAN Unit Test Client Side Code

When developers think about unit testing web applications, we often focus on server-side code. But with the right tools and programming techniques, we can achieve the same rigorous test quality in our client code that we expect from our server code.

Rob Galanakis09/12/14
0 replies

Metaprogramming With the Type Function

I use Python’s 'type' function for dynamically creating custom Maya nodes based on specifications, such as input and output attributes. I really love the 'type' function, so I thought I’d post another cool use of it.