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

Playing with JDK 12’s Switch Expressions

In the blog post “JDK Language Feature Preview in Action: Switch Expressions,” I discussed how JEP 325 [“Switch Expressions (Preview)”] is an early application of a designated “preview language feature” as spelled out by JEP 12 [“Preview Language and VM Features”]. JEP 325 is targeted for JDK 12. Even better, the Early Access Builds for JDK 12 already provide support ...

Read More »

Release or be damned

Back when I was still paid to code I had a simple question I posed to troubled development efforts: “Why can’t we release tomorrow?” This short simple question turns out to be amazingly powerful. I remember one effort I was involved with in California where a new CEO took over and started cutting jobs. I posed this question to the ...

Read More »

What is the difference between ‘git pull’ and ‘git fetch’?

In the simplest terms, git pull does a git fetch followed by a git merge. You can do a git fetch at any time to update your remote-tracking branches under refs/remotes/<remote>/. This operation never changes any of your own local branches under refs/heads, and is safe to do without changing your working copy. I have even heard of people running ...

Read More »

Individual Contributor vs. Team Member

Many people draw distinctions between people who do management-kind of work and people who do  “individual contributor” kind of work.  I’ve been asking if they mean individual work or team member work. Sometimes, they do mean individual work. More often, they mean team member. Our culture shapes our language. (And, our language shapes our culture.) When we recognize and reward ...

Read More »

TIP: Activate via URL and Send Arguments

spring-interview-questions-answers

The most secure password in the world is the one that doesn’t exist. You remove the user from the equation with a completely random key. To be fair this has some drawbacks and a password still exists somewhere (in your phone/email) but generally this works rather well…​ The trick is simple, if we want to authenticate a user we can ...

Read More »

Sprint Planning Tips for Product Owners

As its name suggests, the sprint planning meeting sets up the sprint and establishes what can be done. While it’s an important meeting, I find that some product owners struggle with it. The following tips help you reflect on how you use the meeting and discover how you can get the most out of it. Come Prepared Make sure you ...

Read More »

The Must Have Metrics Any DevOps and SRE Manager Should Measure

DevOps and SREs have dashboards to monitor services and product performance, and now it’s time for us to understand how to measure these teams’ performance as well. One significant challenge every company faces these days is measurement. There’s a need to understand what’s happening at every level inside the company and product, from how customers are using the application, through ...

Read More »

Spock 1.2 – hassle-free Spring beans mocking in integration tests

spring-interview-questions-answers

Discover how to automatically inject Spock’s mocks and spies into the Spring context using Spock 1.2. Stubs/mocks/spies in Spock (and their life cycle) have been always tightly coupled with the Spock Specification class. It was only possible to create them in a test class. Therefore, using shared, predefined mocks (in both unit and integration tests) was problematic. The situation was ...

Read More »