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 ....

 

 

Throwing Exceptions – slow and ugly

java-logo

This post is about a historical experience in conjunction with recently applied performance optimization techniques. Years ago I was swearing at a particular application where I had to discover the undocumented behaviour buried under a truly clever engineering “technique”. It was a typical monolithic Java EE application responsible for invoicing. The exact code is best to keep forgotten, but I ...

Read More »

Getting Application Security Vulnerabilities Fixed

agile-logo

It’s a lot harder to fix application security vulnerabilities than it should be. In their May 2013 security report, WhiteHat Security published some discouraging findings about how many application security vulnerabilities found in testing get fixed, and how long it takes to fix them. They found that only 61% of serious security vulnerabilities get fixed, and that on average, it ...

Read More »

Servlet Exception and Error Handling Example Tutorial

java-interview-questions-answers

Sometime back I wrote a post about Exception Handling in Java but when it comes to web application, we need more than normal exception handling in java. Servlet Exception If you notice, doGet() and doPost() methods throw ServletException and IOException, let’s see what happens when we throw these exception from our application. I will write a simple servlet that will ...

Read More »

Scaling Agile Heuristics – SAFe or not!

agile-logo

If I’m being honest, I feel as if I don’t know much about scaling agile. But when I think about it I think the issue is really: What do you mean when you say “scaling agile?” It seems to me you might mean one of three things: How do you make agile work with a big team? Not just 7 ...

Read More »

Personal Behavior-Driven Development

software-development-2-logo

This year I was fortunate enough to attend the KCDC conference here in lovely Kansas City. One of the sessions I attended was on Behavior-Driven Development. I have attended several BDD sessions before and have enjoyed each one of them, but there was one stated question that set this one apart from the others. After learning of all the benefits of ...

Read More »

10 Subtle Best Practices when Coding Java

java-logo

This is a list of 10 best practices that are more subtle than your average Josh Bloch Effective Java rule. While Josh Bloch’s list is very easy to learn and concerns everyday situations, this list here contains less common situations involving API / SPI design that may have a big effect nontheless. I have encountered these things while writing and ...

Read More »

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 »

Redis as data store: Installation

redis-logo

Introduction Redis is open-source, advanced key-value data store server. It is counted as Nosql database for the key-value store category. It is more than just the cache server. It is more of data structure server as it supports data units as lists, sets, hashes and sorted set and It is very blazing fast in terms of performance. In this first ...

Read More »

How to configure SLF4J with different logger implementations

slf4j-logo

There are many good benefits in using slf4j library as your Java application logging API layer. Here I will show few examples on how to use and configure it with different loggers. You can think of slf4j as an Java interface, and then you would need an implementation (ONLY ONE) at runtime to provide the actual logging details, such as ...

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