Java

  • submit to reddit

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 - 95 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 - 516 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 - 6939 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 - 2807 views - 04/18/13 by Eugen Paraschiv in Articles

On Java 8's Introduction of Optional

I had recently discovered the JDK 8′s addition of the Optional type. The Optional type is a way to avoid NullPointerException, as API consumers that get...

5 replies - 3723 views - 04/18/13 by Lukas Eder in Articles

Low GC Coding: Efficient Listeners (Exercise)

Overview There are many ways to implement a listener pattern depending on the assumptions you want to make. This is an exercise to get you thinking...

6 replies - 3433 views - 04/18/13 by Peter Lawrey in Articles

Java EE 7 Maven Archetype

For those of us doing Java EE development with Maven (which by my own account as a former consultant is pretty...

0 replies - 2186 views - 04/18/13 by Reza Rahman in Articles

JDK 8 Javadoc Tweaked For Methods Listings

Since it's beginning, Javadoc output has been largely static HTML with navigation links and simple stylesheet styling of its appearance. Java SE 7 saw the...

0 replies - 1428 views - 04/18/13 by Dustin Marx in Articles

DevBytes: Bitmap Allocation

Learn how to speed up bitmap loading and reduce garbage collection in Android by reusing existing bitmaps.Code zip filehttp://developer.android.com/shareabl...

0 replies - 480 views - 04/17/13 by Mitch Pronschinske in Articles

Another Look at Application Integration with SwitchYard

In the not too distant past, application integration was widely considered to be a post-deployment consideration. Development teams implemented business logic...

0 replies - 735 views - 04/17/13 by Mitch Pronschinske in Articles

HotSpot GC Thread CPU footprint on Linux

  The following question will test your knowledge on garbage collection and high CPU troubleshooting for Java applications running on Linux OS....

0 replies - 5360 views - 04/17/13 by Pierre - Hugues... in Articles

Java Optional Objects

In this post I present several examples of the new Optional objects in Java 8 and I make comparisons with similar approaches in other programming...

9 replies - 9096 views - 04/17/13 by Edwin Dalorzo in Articles

Developing Java EE 6 Applications With TomEE and NetBeans

I’ve found that one of the most productive ways of developing Java EE applications is by using NetBeans and the TomEE application...

0 replies - 1055 views - 04/17/13 by David Salter in Articles

Find the Android Design Community

A few years ago an Android designer was a mythical creature comparable to unicorns and flying spaghetti monsters. But the world has changed. Google...

0 replies - 2383 views - 04/17/13 by Juhani Lehtimaki in Articles

Arrays.sort versus Arrays.parallelSort

We all have used Arrays.sort  to sort objects and primitive arrays. This API used merge sort OR Tim Sort underneath to sort the contents as shown...

0 replies - 212 views - 04/17/13 by Mohamed Sanaulla in Articles