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

 

Server side logging from browser side JavaScript code

javascript-logo

Application logging is something we all do in our applications that get deployed on an application server, right? Using frameworks like Log4J or Logback seems like a no-brainer to most Java developers. But what about the code we’ve written that is running in those pesky browsers? I guess that, apart from the occasional console.log() statement used during debugging, we don’t ...

Read More »

Spring from the Trenches: Using Null Values in DbUnit Datasets

dbunit-logo

If we are writing integration tests for an application that uses Spring Framework, we can integrate DbUnit with the Spring testing framework by using Spring Test DbUnit. However, this integration is not problem free. Often we have to insert null values to the database before our tests are run or verify that the value saved to the specific table column ...

Read More »

How to Upload Images to DropBox In Java

java-logo

This Tutorial explains how to upload images to drop box and get the public url of uploaded image . First of all we have to create a DropBox API app using app console. Once you create the app , you can get App key and secret key in the app properties . Now add following dependency in your pom file. ...

Read More »

FREE Programming books with the JCG Newsletter

jcg-logo

Here at Java Code Geeks we know how much you love books about programming; we are geeks ourselves. After all, a programmer that respects himself should always have his face in a book, he has to keep up with the latest technologies and developments. For this reason, we have decided to distribute 11 of our books for free. You can ...

Read More »

The Drools and jBPM KIE Apps platform

jboss-drools-logo

With the Drools and jBPM (KIE) 6 series came a new workbench, with the promise of eventual end user extensibility. I finally have some teaser videos to show this working and what’s in store. Make sure you select 1080p and go full screen to see them at their best.                 What you seen ...

Read More »

Beginner’s Guide To Hazelcast Part 1

hazelcast-logo

Introduction I am going to be doing a series on Hazelcast. I learned about this product from Twitter. They decided to follow me and after some research into what they do, I decided to follow them. I tweeted that Hazelcast would be a great backbone for a distributed password cracker. This got some interest and I decided to go make ...

Read More »

5 Ways Software Developers Can Become Better at Estimation

software-development-2-logo

In my last post, I detailed four of the biggest reasons why software developers suck at estimation, but I didn’t talk about how to solve any of the problems I presented. While estimation will always be inherently difficult for software developers, all hope is not lost. In this post, I am going to give you five real tips you can ...

Read More »

Configure JBoss / Wildfly Datasource with Maven

apache-maven-logo

Most Java EE applications use database access in their business logic, so developers are often faced with the need to configure drivers and database connection properties in the application server. In this post, we are going to automate that task for JBoss / Wildfly and a Postgre database using Maven. The work is based on my World of Warcraft Auctions ...

Read More »

WebSocket Chat on WildFly and OpenShift

jboss-wildfly-logo

Chat is one of the most canonical sample to explain WebSocket. Its a fairly commonly used interface and allows to explain the fundamental WebSocket concepts very easily. Of course, Java EE 7 WebSocket has one too, available here! You can easily run it on WildFly using the following steps:               curl -O http://download.jboss.org/wildfly/8.1.0.Final/wildfly-8.1.0.Final.zip unzip wildfly-8.1.0.Final.zip ./wildfly-8.1.0.Final/bin/standalone.sh ...

Read More »

Securing WebSocket using wss and HTTPS/TLS

java-interview-questions-answers

50th tip on this blog, yaay! Tech Tip #49 explained how to secure WebSockets using username/password and Servlet Security mechanisms. This Tech Tip will explain how to secure WebSockets using HTTPS/TLS on WildFly. Lets get started!         Create a new keystore: keytool -genkey -alias websocket -keyalg RSA -keystore websocket.keystore -validity 10950 Enter keystore password: Re-enter new password: What is your first and ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close