There's a new feature in Java 8 called the Optional class which is supposed to cure NullPointerExceptions. The catch with this new Optional class is of course the word "class". Optional is only a wrapper that contains a reference to some other object and isn't close to being a panacea for NullPointerExceptions.
Spring Boot is a brand new application framework from Spring. It allows fabulously quick development and rapid prototyping (even including CLI).
Many continuous delivery concepts are most applicable for software that is running on your own servers whether as part of a website, internal application or SaaS offering. For teams who write products that are installed by their customers, some continuous delivery concepts are hard to implement.
here is a lot of talk in the devops community about the importance of sharing principles and values, and about silo busting: breaking down the “wall of confusion” between developers and operations to create agile, cross-functional teams.
There is an ongoing discussion about TDD and Rails. It was recently
heated by some some of the DHH statements in his RailsConf keynote and
in the blog post: http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html
One aspect of...
Having written the code and the tests, and being fairly certain it’ll work the next and final step is to package the whole thing up and deploy it to a production machine.
About the flamed debate around the death of TDD and why it isn't an excuse for not doing automated testing
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 Dustin Marx, software developer, writer, and presenter.
Entrepreneur, researcher, and author, Gene Kim, took some time to sit down with Rajat Bhargava, CEO of JumpCloud, to discuss different aspects of high-performing technology organizations he has been studying for over a decade.
I had a problem writing to the cache directory in my vagrant project due to file permissions. Fortunately Jeremy Kendall has already solved this problem in his Vagrant Synced Folders Permissions article.
Tony Hoare called the invention of the null reference the “billion dollars mistake”. May be the use of primitives in Java could be called the million dollars mistake.
The best piece of advice to about using Infrastructure as Code is to stay connected to the vast community of innovative developers. If your systems remain open to the rapid changes in that community, you’ll be able to share and benefit from the cutting-edge ideas that will make your organization successful.
I am very proud to say the second edition of EJB 3 in Action is now published. In addition to covering EJB 3.2, we've also covered JPA 2.1, CDI 1.1, JAX-RS and WebSocket. The goal is to try to cover as much of the Java EE 7 "backend" technologies as possible.
What my Clojure code is doing most of the time is transforming data. Yet I cannot see the shape of data being transformed – I have to know what the data looks like on the input and hold a mental model of how they change at each step
Technical debts in software are those places where, while the code functions properly, it has internal problems that make it challenging to maintain. As a developer, nothing feels better than tackling a piece of long-standing technical debt and turning code that everyone hates into code that’s a joy to work with.
Make sure you didn't miss anything with this list of the Best of the Week in the DevOps Zone (Apr. 25 to May 1). This week's topic includes test-driven development, continuous delivery, scaling self-service-as-a-service, development methodologies, and Jersey/Jax RS streaming JSON.
Just keep in mind that you don’t push the git repository to some public space since the config files might include a lot of passwords. Also look out for his .gitignore in his case the printer does a lot of automatic changes and is thus ignored. You might have similar settings for your configs.
This post may sound commonplace to you if you already use IntelliJ IDEA. If so, then just ignore it or share with a friend of yours, as it’s intended for people who are still wondering what’s so special about IntelliJ IDEA and why is it so different from other IDEs.
One of Red Deer’s goals has always been for it to be an easy to use test platform, but it’s always lacked the convenience of a keystroke recording tool. Until now that is. Before we look at how we can use the Recorder, let’s take a minute to understand just how it works.
For a dynamic language, it’s more difficult than it needs to be to import a module dynamically in Python. It’s very easy to just from foo import bar, but what if you want to load a list of things and all you have is a string representation of each one, for example foo.bar?
As a company focused on server management, we’ve been talking a lot about how we can help DevOps and IT pros automate tasks and generally make their lives easier. Many a customer have asked us to include scheduling of tasks into our product. So, this past week we just did that!
You can not. This is a lie, just like the cake. You can lower the number of bugs.
The Avail team has announced the first release of Avail, an "articulate programming language," which attempts to offer a somewhat natural expression form for solving programming problems.
ZF2 controllers tend to extend AbstractActionController which does not define a constructor. This means that you can define your own constructor in your controllers and use it to inject the dependencies that your controller needs.
About a year ago I wrote a blog post showing how to stream a HTTP response using Jersey/Jax RS and I recently wanted to do the same thing but this time using JSON.