Java

  • submit to reddit

What Can We Learn From a Java HelloWorld Program?

This is the program every Java programmer knows. I want to see what can be learned from this simple program. A simple start may lead to learning more complex...

0 replies - 943 views - 04/22/13 by Ryan Wang in Articles

How to Format Java Code Using Eclipse JDT?

Yo probably format your code often by pressing Ctrl+Shift+F or right clicking Source -> Format. This function is also provide in JDT, so you can also...

0 replies - 1407 views - 04/22/13 by Ryan Wang in Articles

DevBytes: KeyFrame Animations

Learn how to use AnimationDrawable to construct a keyframe animation where each frame is shown for a specified...

0 replies - 283 views - 04/21/13 by Mitch Pronschinske in Articles

Customizing EclipseLink JPA-RS Messages with MOXy

In a previous post I covered how EclipseLink JPA-RS can be used to expose a JPA persistence unit as a RESTful service.  In that example we interacted...

0 replies - 1814 views - 04/21/13 by Blaise Doughan in Articles

Twitter's Finagle for the Asynchronous Programmer

Matt Ho, CTO at LOYAL3, gives us the who-what-when-where-why on Twitter's Finagle. According to Matt, Finagle is an expressive network library for JVM...

0 replies - 1207 views - 04/20/13 by Mitch Pronschinske in Articles

The Delay of Java 8

Twitter lit up yesterday with the news that Oracle had come out and said Java 8 was going to be late . In reading the document, I repeatedly stopped and...

1 replies - 3539 views - 04/20/13 by Rob Williams in Articles

Introducing EclipseLink JPA-RS

In a previous series of posts I covered how to create a JAX-RS service that leveraged JPA for the persistence layer.  EclipseLink contains a component...

1 replies - 3356 views - 04/20/13 by Blaise Doughan in Articles

Puppet Debt

I’ve been playing around with a puppet configuration to run a neo4j server on an Ubuntu VM and one thing that has been quite tricky is getting the...

0 replies - 3204 views - 04/19/13 by Mark Needham in Articles

CometD and Camel in the Enterprise - A Working Example

Full code is available on GitHub All the Java code for the project is available in Github - requires Maven to run. See the README for more details - link...

0 replies - 1566 views - 04/19/13 by Adrian Milne in Articles

Just What Are Spring 3.2 Matrix Variables? - Part 2: The Code

My last blog on Spring's support for Matrix Variables concentrated on explaining what they were and why you'd want to use them. Having sorted out the what...

0 replies - 131 views - 04/19/13 by Roger Hughes in Articles

What Does a Java Array Look Like in Memory?

Arrays in Java store one of two things: either primitive values (int, char, …) or references (a.k.a pointers). When an object is creating by using...

0 replies - 3151 views - 04/19/13 by Ryan Wang in Articles

SiftingAppender: Logging Different Threads to Different Log Files

One novel feature of Logback is SiftingAppender (JavaDoc). In short it's a proxy appender that creates one child appender per each unique value of a given...

0 replies - 61 views - 04/19/13 by Tomasz Nurkiewicz in Articles

DevBytes: Bitmap Scaling

Learn how the use of BitmapOptions affects the resulting size of a loaded bitmap. Sub-sampling can speed up load times and reduce the need for large...

0 replies - 389 views - 04/18/13 by Mitch Pronschinske in Articles

Java 7 Update 21 Security Improvements in Detail

Oracle released three updates to Java yesterday. It is important to note that they contain several security related changes. The majority of those changes...

0 replies - 5427 views - 04/18/13 by Markus Eisele in Articles

Upload on S3 with the jclouds Library

There are several good ways to upload content to an S3 bucket in the Java world – in this article we’ll look at what the jclouds library provides for this...

0 replies - 2557 views - 04/18/13 by Eugen Paraschiv in Articles