-
Enterprise Java
Hibernate locking patterns – How does PESSIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I introduced the OPTIMISTIC_FORCE_INCREMENT Lock Mode and we applied it for propagating a child entity…
Read More » -
Enterprise Java
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…
Read More » -
Core Java
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…
Read More » -
Groovy
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…
Read More » -
Core Java
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,…
Read More » -
Software Development
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…
Read More » -
Core Java
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…
Read More » -
Core Java
Value-Based Classes
In Java 8 some classes got a small note in Javadoc stating they are value-based classes. This includes a link…
Read More » -
企业级Java
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…
Read More »