Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Java

  • submit to reddit
Martin Thompson05/06/12
1522 views
0 replies

Invoke Interface Optimisations

I'm often asked about the performance differences between Java, C, and C++, and which is better. There are however a few tricks available to managed runtimes that can provide optimisation opportunities not available to statically optimised languages.

Matt Vickery05/06/12
2849 views
0 replies

Spring Integration - Transforming a Header Object to a Payload

Moving objects from the Spring Integration header can be done using several mechanisms. This tutorial will show you a few ways...

Ricardo Zuasti05/05/12
2018 views
0 replies

Give Options, Not Configuration Nightmares

You have probably heard about convention over configuration, especially if you follow Ruby on Rails, the Play Framework or similar projects.

Pierre-hugues C...05/05/12
3185 views
0 replies

Java Thread Deadlock: A Case Study

This article will describe the complete root cause analysis of a recent Java deadlock problem observed from a Weblogic 11g production system running on the IBM JVM 1.6.

Florian Adler05/04/12
1573 views
0 replies

RESTication of Openxava App and Vaadin Client

The purpose of this article is to provide REST interface for Openxava (OX) application. It shows how to integrate the jersey engine into the OX build and extend the JPA2 entities with JAXB and JAXRS annotations

Tom Jefferys05/04/12
3088 views
1 replies

Apache Commons Lang StringUtils

So, thought it'd be good to talk about another Java library that I like. It's been around for a while and is not perhaps the most exciting library, but it is very very useful. I probably make use of it daily.

Matt Vickery05/04/12
3011 views
0 replies

Spring Integration - Payload Storage via Claim-check

The claim-check model offers configurable storage for message payloads. The advantage in using this Enterprise Integration pattern, compared against header enrichment, is that objects don't have to be packed into the header using a Header Enrichment technique.

Mitch Pronschinske05/04/12
7171 views
5 replies

Oracle v. Google - Verdict Will Arrive Monday

Late on Monday, the jury for the Oracle v. Google trial began deliberating on the first phase of the lawsuit - the copyright phase. This decision could have major implications for the software development world so we'll keep you updated on news surrounding the coming decision and let you know when the verdict arrives.

Howard Lewis Ship05/03/12
1646 views
0 replies

Yet More Spock Magic: Mocks

Spock's built-in mock object capabilities are just a dream to use ... unlike other systems I've used, it doesn't get in your way, or force you to think backwards or inside out.

Dinuka Arseculeratne05/03/12
1505 views
0 replies

Setting up JNDI with Jetty (Embedded)

I was running embedded Jetty on my development work-space saving some time on vicious cycle of compiling and deployment. I needed to set up JNDI in order to retrieve a connection pool for my database related activities.

Eric Genesky05/03/12
2715 views
0 replies

Announcing Neo4j 1.8.M01

Lead Cypherologist Andrés Taylor has been cranking out work like Pablo Picasso with an empty museum. He shared some of his thoughts about the new Cypher grammar available in 1.8.M01 . . .

Eric Genesky05/03/12
2346 views
0 replies

Check Out a New Interactive Neo4j Console - Rabbithole

A new Graph REPL using Heroku on Neo4j has been announced over at GitHub. For those of you who don't know, REPL stands for Read-Eval-Print Loop, and refers to a simple interactive top-level programming environment.

Niklas Schlimm05/02/12
3616 views
1 replies

Threading Stories: ThreadLocal in Web Applications

This week I spend reasonable time to eliminate all our ThreadLocal variables in our web applications. The reason was that they created classloader leaks and we coudn't undeploy our applications properly anymore.

Cagdas Basaraner05/02/12
1552 views
0 replies

A Generic Text Comparison Tool Implementation with LCS Approach

Detecting and showing differences of two texts (especially having hundreds or thousands of lines) is a common problem. The trick is to do it efficiently

Peter Lawrey05/02/12
1857 views
0 replies

What is Latency, Throughput and Degree of Concurrency?

In simplest terms, latency is the time per action and throughput is the number of actions per time. The other concept I use is the quantity "in flight" or "degree of concurrency", which is the Concurrency = Throughput * Latency.