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

Java

  • submit to reddit
Nicolas Frankel04/30/12
1396 views
0 replies

Integrating Vaadin into Legacy Applications

Embedding Vaadin parts in legacy applications can be done with the ExternalLayout add-on. It let you compose Vaadin components in your legacy application, irrelevant of where your Vaadin div is located.

Pierre-hugues C...04/30/12
2860 views
0 replies

Java Thread CPU Analysis on Windows

This article will provide you with a tutorial on how you can quickly pinpoint the Java Thread contributors to a high CPU problem on the Windows OS.

Steve Chaloner04/29/12
2258 views
0 replies

Writing Modules for Play 2: Get Something Working

In this first part, we’re going to cover the fundamentals of creating and publishing the module, and adding a sample application. The next two parts will go into greater depth on plugins, interceptors, tags and other useful tools.

Tom Jefferys04/29/12
2023 views
0 replies

Google Guava: Bimaps

Next up on my tour of Guava, is the BiMap, another useful collection type. It's pretty simple really, a BiMap is simply a two way map.

Tom Jefferys04/28/12
2556 views
0 replies

Collection Creation and Immutability with Google Guava

I thought I'd take a look at some of the collection creation patterns Guava offers, and also some of the Immutable collection types it offers.

Ben O' Day04/28/12
2881 views
0 replies

Apache ServiceMix Development Environment Setup

Here is a quick guide to setting up a development environment for working on Apache Servicemix projects... You can update some of these versions mentioned in the rundown.

Erich Styger04/27/12
14550 views
6 replies

10 Best Eclipse Shortcuts

Eclipse comes with a great set of helpers built-in. Here is my list of my favorite hotkeys and shortcuts…

Constantin Alin04/27/12
1989 views
0 replies

How to Upload With PrimeFaces 3.2 Under Tomcat 6

A few months ago I wrote the “How to upload with PrimeFaces under Tomcat 6” tip which was using the PrimeFaces 2.2 version. Since then, PrimeFaces has been changed and the current version, 3.2, has a lot of new great features. In this tip, we will explore all these features.

Eric Genesky04/27/12
3532 views
0 replies

Video: Developing with Java and Couchbase Server

Couchbase includes client SDKs for a bunch of languages, and it's built on Apache CouchDB and Memcached.

Mitch Pronschinske04/27/12
3732 views
2 replies

Java SE 7 Update Includes First Delivery of JDK and JavaFX for Mac OS X

The 4th update for Java SE 7 was released today. It's the first Oracle SDK release for Mac OS X and its the first time that JavaFX 2.1 has been bundled with the JDK on Windows and Mac.

Chris Hostetter04/27/12
1886 views
0 replies

Once a Chump, Always a Chump - Try and Stump Me

In spite of my best efforts to be really lazy, Chris Hostetter worked harder in his first Stump The Chump session then he had ever worked prepping+giving any other presentation he'd done in my entire life. It was one of the most stressful, nerve racking, and mentally/physically taxing hours of my life — and it was also hands down one of the most enjoyable experience he's ever had at a tech conference.

Peter Lawrey04/26/12
1802 views
0 replies

yield(), sleep(0), wait(0,1) and parkNanos(1)

On the surface these methods do the same thing in Java; They all wait a sort period of time, but how much that is varies a surprising amount and between platforms.

Constantin Alin04/26/12
1463 views
2 replies

How to Programmatically Access PrimeFaces Tags

This is FYI kind of tip. Recently, I tried to programmatically acess PrimeFaces tags from Java beans. I found two solutions that can be extrapolated to almost all PrimeFaces tags.

Michael Mainguy04/26/12
2426 views
10 replies

Code to the Interface, Even if the Interface is a Class

After spending a considerable amount of time trying to figure out how to refactor some particularly hairly (hairy + gnarly) data access code, I thought I'd share some insight into a popular misconception about what coding to the interface actually means.

Matt Vickery04/26/12
3487 views
0 replies

Spring Integration - Payload Storage via Header Enrichment

It's pretty straight forward to take a message, use an SI header enricher construct and place the message in the header using a SpEL expression - in fact one for the header key name and one for the payload extraction. The following SI flow demonstrates an example of how to do just that.