Java

  • submit to reddit

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 - 3970 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 - 3801 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 - 2356 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 - 1525 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 - 536 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 - 818 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 - 5695 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...

10 replies - 9910 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 - 1195 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 - 2518 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 - 243 views - 04/17/13 by Mohamed Sanaulla in Articles

Let's Write a Document Style Web Service

You might be aware that there are mainly four different styles of web services we can make use of. They are as follows; Document/LiteralDocument/Literal...

0 replies - 1229 views - 04/16/13 by Dinuka Arseculeratne in Articles

DevBytes: CrossFading Animations

Learn how to use TransitionDrawable to perform a simple cross-fade effect between two drawables in Android applications. Code zip...

0 replies - 374 views - 04/16/13 by Mitch Pronschinske in Articles

Does Defensive Programming Deserve Such a Bad Name?

The other day I went to an hour's talk on erlang, merely as an observer; I know nothing about erlang except that it does sound interesting and that the syntax...

0 replies - 2523 views - 04/16/13 by Roger Hughes in Articles

Heroku Addon News: New "Try" Plan Migration and Request for Feedback

Curator's Note: The content of this article was originally written by Peter Neubauer on the Neo Technology  blog. We’ve been working to improve...

0 replies - 1759 views - 04/16/13 by Andreas Kollegger in Articles