• submit to reddit
Nicolas Frankel11/01/10
12203 views
11 replies

The OpenSessionInView Antipattern

With such a controversial title, I’m bound to be the target of hate comments. Although provocative, such is not my goal, however, I just want to initiate an educated debate between people that are interested into thinking about the problem. The origin of...

Alexander Radzin10/31/10
3013 views
0 replies

Useful abuse of API

Can API abuse be useful?  Sometimes it can be! Word "abuse" is defined as the improper usage or treatment for a bad purpose (from Wikipedia) Have you ever used a knife as a screw driver?  A screw driver is better but if it is not available a...

Vineet Manohar10/30/10
9861 views
2 replies

Java Expiry Date Header

One of the tricks to creating snappy and fast loading web pages is to set the correct ‘Expiry-date’ header on your web pages and static resources like images, CSS and Javascript files. By setting an expiration date in the future, you can tell the...

Alex Collins10/30/10
6753 views
5 replies

OWASP Exposure - Injections

A series covering the top 10 OWASP vulnerabilities from a Java programmer's perspective. What is OWASP?

Michael Norton10/29/10
3788 views
1 replies

Training Software Professionals

The SlidesHere is the slide deck to my SCNA talk, "Training Software Professionals, Just What the Doctor Ordered". In the past, my slide decks stood on their own. That is, you could thumb through the deck and easily glean all the key points of...

Mitch Pronschinske10/29/10
12158 views
1 replies

Fuse OSS Leaves the Nest

This week Progress Software watched proudly as their FuseSource division declared its ability to stand on its own two feet.  The open source organization, which produces and supports Fuse ESB, Fuse Message Broker, Fuse Mediation Router, and Fuse Services...

Andy Gibson10/29/10
5967 views
0 replies

CDI @Alternative Info

The @Alternative CDI annotation allows you to have multiple matching dependencies for a given injection point. This means you can define beans that provide implementations for the same interface without worrying about ambigious dependency errors. When you...

Alex Ruiz10/29/10
6477 views
2 replies

Unexpected Behavior in JUnit’s ExpectedException

In a previous post, I described my preference of the relative new ExpectedException rule over the more traditional strategies for verifying expected exceptions: the good-old “try-fail-catch” pattern and the “expected” attribute in JUnit’s @Test...

Mitch Pronschinske10/28/10
6918 views
9 replies

Oracle Clarifies its Case, Motions to Strike Google's Letter

Although they haven't shown us the source document yet, some news sites are reporting that Oracle has updated its original complaint in the lawsuit against Google.  Oracle is now saying that Google "directly copied" their copyrighted Java API...

James Sugrue10/28/10
5870 views
10 replies

Oracle Turns Up The Heat Against Google

According to an article on InfoWorld, Oracle have ammended their lawsuit against Google with specific detail. The stand-out quote from this ammendment has to be "in at least several instances, Android computer program code also was directly copied from...

Johan Karlsson10/28/10
10884 views
4 replies

Network Programming Tips for Mobile Developers (iPhone, Android, Java ME etc)

Among the most important things to master for a mobile application developer is network programming. Every mobile application I have developed has involved some kind of network communication. During the year I have learned a thing or two. Read on to get...

Andy Gibson10/28/10
25129 views
8 replies

Binding Dynamic Multi-select Checkboxes with JSF

This tutorial looks at how JSF makes it easy to create a dynamic list of checkboxes that can be used to select values on the server.

Peter Karussell10/28/10
7732 views
0 replies

Feeding Solr With its own Logs

I always looked for a simple way to visualize our log data e.g. from solr. At that time I had in mind a combination of gnuplot and some shellscripts but this session from the lucene revolution changed my idea. (Look here for all videos from lucene...

Dan Dyer10/28/10
6941 views
2 replies

Analysing Android Application Sales

One of the reasons that I’ve chosen to get involved in mobile app development in recent months is because I wanted to experiment with the economics of selling software. The new world of mobile app stores provides an ideal opportunity to do just that. For...

Mitch Pronschinske10/27/10
14946 views
1 replies

The Switch to Gradle: A Good Move for Hibernate?

As developers start to consider migration to the newly released GA version of Maven 3, Hibernate developers will say goodbye to the Apache build manager at version 2.  Steve Ebersole argued strongly for a switch in the...