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

 

 

How Docker Makes Testing More Efficient

docker-logo

Testing your software is important. Automating your testing and having continuous integration for your project in place is a matter of best practice nowadays. Often it’s one of the first things a software team works on when starting a new project. A good test suite allows you to push changes to your product in a safe way without breaking things ...

Read More »

Read property files with PropertyPlaceholderConfigurer

spring-interview-questions-answers

1. Introduction Usually when we are concerned with multiple servers where the application is deployed before going into production, we can configure the environment-specific parameters in an external property file. It might be the database details, which is different for test server and the production server. So it’s better we we choose to keep the database configuration file in an external property file. Similarly, we can choose ...

Read More »

In Defense of Java

java-logo

So we have an eBook, The Top 10 Java Performance Problems, that we tweet out from time to time. Without exception, a few people reply with some version of “the problem is you’re using Java.” Java, apparently, is constantly criticized, and people have been predicting its demise for some time. Sure, it’s not as cool, flexible, or fun as some ...

Read More »

Spark Streaming Example – How to Stream from Slack

scala-logo

Let’s write a Spark Streaming example in Scala, which streams from Slack. This post will show how to write, configure and execute the code, first. Then, the source code will be examined in detail. If you don’t have a Slack team, you can set one up for free. We’ll cover that too. Let’s start with a big picture overview of ...

Read More »

Spark Data Source API: Extending Our Spark SQL Query Engine

apache-spark-logo

In my last post, Apache Spark as a Distributed SQL Engine, we explained how we could use SQL to query our data stored within Hadoop. Our engine is capable of reading CSV files from a distributed file system, auto discovering the schema from the files and exposing them as tables through the Hive meta store. All this was done to ...

Read More »

Introducing The Delegate Pattern

spring-interview-questions-answers

Delegate: a person who is chosen or elected to vote or act for others – Merriam-Webster. Delegate pattern: In software engineering, the delegation pattern is a design pattern in object-oriented programming where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object – Wikipedia. Make things as simple as possible, but not simpler – Albert ...

Read More »

Improve Your JUnit Experience with this Annotation

junit-logo

JUnit is probably part of 90% of all Java projects. And the exciting thing is, we’ll soon have JUnit 5 with Java 8 support. We’ve blogged about an improvement recently. Back in JUnit 4 land, there’s this little trick that I can only recommend you put in all of your unit tests. Just add this little annotation here and you’ll ...

Read More »

Keycloak SSO Integration into jBPM and Drools Workbench

jboss-drools-logo

Introduction Single Sign On (SSO) and related token exchange mechanisms are becoming the most common scenario for the authentication and authorization in different environments on the web, specially when moving into the cloud. This article talks about the integration of Keycloak with jBPM or Drools applications in order to use all the features provided on Keycloak. Keycloak is an integrated SSO ...

Read More »

Java Remote Debug for Applications Running in Kubernetes

kubernetes-logo

Kubernetes 1.2 was just released and is quickly becooming the defacto cluster management solution for containers (Docker, Rocket, Hyper, etc). Check it out if you haven’t already – here are some interesting tidbits about the 1.2 release: Cluster can now scale to 30,000 containers per cluster Graceful shutdown of nodes, transitioning to other running nodes in the cluster Custom defined ...

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