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

Java

  • submit to reddit
Mitch Pronschinske05/04/12
5824 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.

Jos Dirksen05/07/12
1073 views
0 replies

Protect a REST service using HMAC (Play 2.0)

In this article I'll show you how you can implement this algorithm for a Play 2.0 based REST service. If you use a different technology the steps will be pretty much the same way though.

Blaise Doughan05/06/12
825 views
0 replies

Extending JAXB - Representing Metadata as JSON

Since MOXy has a JAXB model for its mapping document we were able to eat our own dog food, and now MOXy offers a JSON mapping document.

Martin Thompson05/06/12
821 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
1517 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
1562 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
2129 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
1082 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
2306 views
0 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
2121 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.

Howard Lewis Ship05/03/12
1330 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
1124 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
2103 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
1829 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
2930 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.