Home » Author Archives: Remon Sinnema (page 3)

Author Archives: Remon Sinnema

How To Implement Input Validation For REST resources

java-interview-questions-answers

How To Implement Input Validation For REST resources The SaaS platform I’m working on has a RESTful interface that accepts XML payloads. Implementing REST Resources For a Java shop like us, it makes sense to use JAX-B to generate JavaBean classes from an XML Schema. Working with XML (and JSON) payloads using JAX-B is very easy in a JAX-RS environment like ...

Read More »

Securing HTTP-based APIs With Signatures

java-logo

I work at EMC on a platform on top of which SaaS solutions can be built. This platform has a RESTful HTTP-based API, just like a growing number of other applications. With development frameworks like JAX-RS, it’s relatively easy to build such APIs. It is not, however, easy to build them right.   Issues With Building HTTP-based APIs The problem ...

Read More »

How To Remove Friction From Your Version Control Experience

software-development-2-logo

Last week, I spend several days fixing a bug that only surfaced in a distributed environment.I felt pressure to fix it quickly, because our continuous integration build was red, and we treat that as a “stop the line” event. Then I came across a post from Tomasz Nurkiewicz who claims that breaking the build is not a crime. Tomasz argues ...

Read More »

How To Secure an Organization That Is Under Constant Attack

software-development-2-logo

There have been many recent security incidents at well-respected organizations like the Federal Reserve, the US Energy Department, the New York Times, and the Wall Street Journal. If these large organizations are incapable of keeping unwanted people off their systems, then who is? The answer unfortunately is: not many. So we must assume our systems are compromised. Compromised is the ...

Read More »

How Friction Slows Us Down in Software Development

software-development-2-logo

I once joined a project where running the “unit” tests took three and a half hours. As you may have guessed, the developers didn’t run the tests before they checked in code, resulting in a frequently red build. Running the tests just gave too much friction for the developers. I define friction as anything that resist the developer while she ...

Read More »

The Lazy Developer’s Way to an Up-To-Date Libraries List

gradle-logo

Last time I shared some tips on how to use libraries well. I now want to delve deeper into one of those: Know What Libraries You Use. Last week I set out to create such a list of embedded components for our product. This is a requirement for our Security Development Lifecycle (SDL). However, it’s not a fun task. As ...

Read More »

Towards a Theory of Test-Driven Development

software-development-2-logo

This post examines how well we really understand the practice of Test-Driven Development (TDD).                   Red, Green, Refactor By now we all know that Test-Driven Development (TDD) follows a simple cycle consisting of these steps: Start by writing a test. Since there is no code, it will fail (Red) Write just enough ...

Read More »

Seven Tips For Using Third-Party Libraries

software-development-2-logo

There are many good reasons to use code written by others in your application. This post describes some best practices to optimize your re-use experience.                   Library Use Gone Bad I recently discovered that a library we use for OpenID didn’t handle every situation properly. When I checked for an update, I ...

Read More »

TDD and the Transformation Priority Premise

software-development-2-logo

Last time, we looked at the Red/Green/Refactor phases of Test-Driven Development (TDD). This time we’ll take a detailed look at the transformations applied in the Green phase.                 The Transformation Priority Premise Most of you will have heard of the refactorings we apply in the last TDD phase, but there are corresponding standardized ...

Read More »

The Differences Between Test-First Programming and Test-Driven Development

software-development-2-logo

There seems to be some confusion between Test-First Programming and Test-Driven Development (TDD). This post explains that merely writing the tests before the code doesn’t necessarily make it TDD.             Similarities Between Test-First Programming and Test-Driven Development It’s not hard to see why people would confuse the two, since they have many things in common. ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials