Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

RESTful Web Service Discoverability, part 4

spring-interview-questions-answers

This is the fourth of a series of articles about setting up a secure RESTful Web Service using Spring 3.1 and Spring Security 3.1 with Java based configuration. The article will focus on Discoverability of the REST API, HATEOAS and practical scenarios driven by tests. Introducing REST Discoverability Discoverability of an API is a topic that doesn’t get enough well ...

Read More »

Ignoring Self-Signed Certificates in Java

A problem that I’ve hit a few times in my career is that we sometimes want to allow self-signed certificates for development or testing purposes. A quick Google search shows the trouble that countless Java developers have run into over the years. Depending on the exact certificate issue, you may get an error like one of the following, though I’m ...

Read More »

Iterationless Development – the latest New New Thing

Thanks to the Lean Startup movement, Iterationless Development and Continuous Deployment have become the New New Thing in software development methods. Apparently this has gone so far that “there are venture firms in Silicon Valley that won’t even fund a company unless they employ Lean startup methodologies”. Although most of us don’t work in a Web 2.0 social media startup, ...

Read More »

Decompiling Mega Vendors behaviour and future strategics (Microsoft, IBM, Oracle and SAP)

IT News have an excellent article about the latest Gartner Symposium, where one of Gartner analyst Dennis Gaughan gave a broad overview of the strategic direction of the world’s largest application vendors IBM, Microsoft, Oracle and SAP. Below are some keynotes and related “quotes” from Mr. Dennis Gaughan. IBM IBM wants to manage you. Quoting Mr. Gaughan “The number one ...

Read More »

SOLID – Liskov Substitution Principle

Liskov Substitution principle (LSP) states that, Methods that use references to the base classes must be able to use the objects of the derived classes without knowing it This principle was written by Barbara Liskov in 1988. The idea here is that the subtypes must be replaceable for the super type references without affecting the program execution. This principle is ...

Read More »

Principles for Creating Maintainable and Evolvable Tests

Having [automated] unit/integration/functional/… tests is great but it is too easy for them to become a hindrance, making any change to the system painful and slow – up to the point where you throw them away. How to avoid this curse of rigid tests, too brittle, too intertwined, too coupled to the implementation details? Surely following the principles of clean ...

Read More »

Best Of The Week – 2011 – W48

Hello guys, Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew Java Code Geeks attention: * Why I will use Java EE (JEE, and not J2EE) instead of Spring: Here the author compares JEE and Spring (in a non-flamatory way) and discusses their advantages and disadvantages. After a short ...

Read More »

Creating Stubs for Legacy Code – Testing Techniques 6

Any one who reads this blog will probably have realised that at present I’m working on a project that contains a whole bunch of legacy code that’s large, expansive, and written without any tests what so ever. In working with this legacy code, there’s been one very badly behaved class that’s all pervasive, which the whole team have tripped over ...

Read More »

The Three Ways to Work with Code

Obviously you read code more often than you write it. Nothing new here. This fact is brought up often when the need for clean code is discussed. Or when the merits of different programming languages are weighed. I think this two fold distinction is not sufficient. You write code. That’s fine. But when reading code, there are actually two different ...

Read More »