• submit to reddit
Peter Lawrey01/20/12
0 replies

Generic class names to avoid

Java (Oracle Java update 2) has many classes with the same generic name. To avoid further confusion, I suggest avoiding these names if you can. Most repeated The following class names are repeated, 19 Handler, 16 Messages, 13 Util, ...

Peter Karussell01/20/12
2 replies

Ugly but most efficient setSize for ArrayList

private static final Field sizeField; static { try { sizeField = ArrayList.class.getDeclaredField("size"); sizeField.setAccessible(true); } catch (Exception ex) { throw new RuntimeException(ex); } } //...

Dustin Marx01/20/12
0 replies

Comparing Heap Dumps with NetBeans 7.1

One of the "new and noteworthy" features of NetBeans 7.1 is the ability to compare two heap dumps. Specifically, the easy-to-use feature allows one to quickly ascertain the difference in number of each class's instances between two dump files....

Juhani Lehtimaki01/20/12
1 replies

Best Design Tools for Android

Which are the best tools for designing for Android? I have my favorites but I'd really love to hear about tools you use and your experiences with them. Please leave a comment! To kick of the conversation I'll present my favorite design tools. Both of...

Kai Wähner01/19/12
0 replies

Which Integration Framework Should You Use – Spring Integration, Mule ESB or Apache Camel?

Data exchanges between companies are increasing a lot. The number of applications that must be integrated is increasing, too. The interfaces use different technologies, protocols and data formats. Nevertheless, the integration of these applications must be...

Toni Epple01/19/12
0 replies

Java Performance Tuning with Java Champion Kirk Pepperdine in Munich…

Eppleton is happy to announce 2012 two new training dates for Kirk Pepperdine's excellent performance tuning course at Eppleton in Munich:19.-22. June 20124.-7. December 2012 About the course:

James Sugrue01/19/12
1 replies

Appcelerator Expand Into Europe: Does This Prove the Freemium Model Works?

Since I started out on mobile app development, I've been a big fan of Appcelerator. Just today they've announced an expansion into Europe, as well as adding to their management team. Appcelerator have shown themselves to be one of the shining examples of how...

Patrick Debois01/19/12
0 replies

Monitoring Wonderland Survey - Moving up the stack Application and User metrics

While all the previously described metric systems have easy protocols, they tend to stay in Sysadmin/Operations land. But you should not stop there. There is a lot more to track than CPU,Memory and Disk metrics. This blogpost is about metrics up the stack:...

Tony Russell-rose01/19/12
0 replies

Designing Search (Part 1): Search Box Design

This is the first installment in a series of tutorials on creating the right search utility for your use case.  In this part, you will learn how to make the right decisions when picking a design for your search box.

Max De Marzi01/19/12
0 replies

Neo4j on Heroku - Part 3

This is the third and final installment of the Neo4j on Heroku tutorial.  After reading this, you should be ready to go out there and start hacking on Neo4j and then deploying your apps to Heroku.

Niklas Schlimm01/19/12
0 replies

Java 7: How to write really fast Java code

When I first wrote this blog my intention was to introduce you to a class ThreadLocalRandom which is new in Java 7 to generate random numbers. I have analyzed the performance of ThreadLocalRandom in a series of micro-benchmarks to find out how it performs in...

Trisha Gee01/19/12
2 replies

Christmas decorations teach me a lesson about troubleshooting

And now, after an absence of several weeks, you get to see how long it takes me to write some of these posts.

Peter Lawrey01/19/12
12 replies

String.valueOf(int) vs "" + int

There are a number of reasons I  prefer either  int i = ... String s = "" + i; String s = String.valueOf(i); These include simplicityclarityefficiencyperformance Personally I prefer efficiency for the developer as the performance difference...

Mark Needham01/19/12
0 replies

Learning Android: Freezing the UI with a BroadcastReceiver

As I mentioned in a previous post I recently wrote some code in my Android app to inform a BroadcastReceiver whenever a service processed a tweet with a link in it but in implementing this I managed to freeze the UI every time that happened.

Dustin Marx01/19/12
3 replies

Pair Class Coming to Java via JavaFX?

The pair class is familiar to those of us who have used C++ for any considerable length of time. Although there has been talk of adding it to Java as a standard part of the SDK, it is a somewhat controversial topic.