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


OpenShift v3: Getting Started with Java EE 7 using WildFly and MySQL


OpenShift is Red Hat’s open source PaaS platform. OpenShift v3 (due to be released this year) will provide a holistic experience on running your microservices using Docker and Kubernetes. In a classic Red Hat way, all the work is done in the open source at OpenShift Origin. This will also drive the next major release of OpenShift Online and OpenShift ...

Read More »

Java development tools for a programming boost !


Java developers usually try to find ways to write quality Java code, quick and efficient, to make their programming life easier. Since things change, more and more tools come up. So, below there is a list of useful tools that most developers have used, use or will surely use in the future. The list includes integrated development environments, integration tools, ...

Read More »

Writing Groovy’s groovy.util.Node (XmlParser) Content as XML


Groovy‘s XmlParser makes it easy to parse an XML file, XML input stream, or XML string using one its overloaded parse methods (or parseText in the case of the String). The XML content parsed with any of these methods is made available as a groovy.util.Node instance. This blog post describes how to make the return trip and write the content ...

Read More »

Byteman – a swiss army knife for byte code manipulation


I am working with a bunch of communities in JBoss and there is so much interesting stuff to talk about, that I can’t wrap my head around every little bit myself. This is the main reason why I am very thankful to have the opportunity to welcome guest bloggers here from time to time. Today it is Jochen Mader, who  is ...

Read More »

Do It Either Way, We’ll Refactor It Later


It often happens that a new piece of functionality is discussed within a team and different developers have a different preference over how it should be implemented. “But what if in the future…” is a typical argument, as well as “that way it’s going to be more extensible”. Well, usually it doesn’t matter. One should rather focus on how to ...

Read More »

Java Concurrency Tutorial – Locking: Explicit locks


1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such cases, java.util.concurrent.locks package provides us with lock objects. When it comes to memory synchronization, the internal mechanism of these locks is the same as with implicit locks. The difference is that explicit locks offer additional features. The main advantages or ...

Read More »

Value-Based Classes


In Java 8 some classes got a small note in Javadoc stating they are value-based classes. This includes a link to a short explanation and some limitations about what not to do with them. This is easily overlooked and if you do that, it will likely break your code in subtle ways in future Java releases. To prevent that I ...

Read More »

JMeter负载测试入门教程 – 终极指南


本教程是关于JMeter的。我们将会涉及到的要点如下: 我们会解释JMeter是用来干什么的。 JMeter是如何设计和实现的以及涉及到哪些技术。 如何正确的安装和配置它。 它的用户界面(UI)的基本功能。 详细介绍如何配置不同的测试计划。 展示如何分析它的输出结果。 最后我们会提到一些重要的最佳实践。 本文所提到的所有示例的配置和实现环境是: Java 8 update 0.20,Eclipse Luna 4.4, JMeter 2.11 和MySQL Community Server 5.6.21. 目录 1. 简介 2. 涉及到的技术 3. 本文主要讲些什么? 4. 安装 5. GUI 概述 6. 可用的请求类型 7. 测试计划和组件 7.1. 线程组 7.2. 取样器 7.3. 逻辑控制器 7.4. 监听器 7.5. 定时器 7.6. 断言 7.7. 配置元件 7.8. 前置处理器 7.9. 后置处理器 8. 测试计划元素的执行顺序 9. 启动/停止测试计划 10. Web (HTTP) 测试计划 11. 数据库测试计划入门 12. Junit测试计划 13. 录制HTTP测试 14. JMeter 插件 ...

Read More »

Hibernate locking patterns – How does OPTIMISTIC_FORCE_INCREMENT Lock Mode work


Introduction In my previous post, I explained how OPTIMISTIC Lock Mode works and how it can help us synchronize external entity state changes. In this post, we are going to unravel the OPTIMISTIC_FORCE_INCREMENT Lock Mode usage patterns. With LockModeType.OPTIMISTIC, the locked entity version is checked towards the end of the current running transaction, to make sure we don’t use a ...

Read More »

Java 8特性指南 – 终极手册 (PDF下载)


编者按:距离Java 8的发布已经有段时间了,就目前看来它的确是一个非常重要的版本。我们之前已经在JavaCodeGeeks发布了一系列专题文章,如玩转Java 8-Lambda表达式和并发,Java 8日期/时间API入门:LocalDateTime 以及 JDK8时代的抽象类vs.接口。同时我们也从其它来源处引用了15个必读的Java 8教程。当然,我们也对它的一些短板进行了验证,如Java 8的暗面。为了读者们更好的阅读体验,现在是时候整合所有Java 8的主要特性于一处了。一起来享受它吧!         目录 1. 简介 2. Java语言的新特性 2.1. Lambda表达式和函数式接口 2.2. 接口的默认方法和静态方法 2.3. 方法引用 2.4. 重复型注解 2.5. 更强大的类型推断 2.6. 扩展的注解支持 3. Java编译器的新特性 3.1. 参数名 4. Java类库的新特性 4.1. Optional 4.2. Streams 4.3. 日期/时间API (JSR 310) 4.4. Nashorn JavaScript引擎 4.5. Base64 4.6. 并行数组 4.7. 并发 5. 新的Java工具类New Java tools 5.1. Nashorn引擎: jjs ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.