• submit to reddit

Search Expertise - A Necessary Skill in Some Industries

Learn why it's important, especially in an industry like healthcare, to have people who know how to search properly and how important it is to have usable search technology.

0 replies - 483 views - 02/10/12 by Lynda Moulton in Articles

Java 7: A complete invokedynamic example

Another blog entry in my current Java 7 series. This time it's dealing with invokedynamic, a new bytecode instruction on the JVM for method invocation. The invokedynamic instruction allows dynamic linkage between a call site and the receiver of the call. That means you can link the class that is performing a method call to the class (and method) that is receiving the call at run-time. All the other JVM bytecode instructions for method invocation, like invokevirtual, hard-wire the target type information into your compilation, i.e. into your class file. Let's look at an example.

0 replies - 745 views - 02/10/12 by Niklas Schlimm in Articles

Customizing Parameter Names When Binding Spring MVC Command Objects

With http parameter names, there is no way to customize them, which is odd, since this is meta-data, and it should be configurable using annotations. If you need to customize them (for example, for SEO reasons), you can plug some little pieces of code and Spring MVC will let you do it

0 replies - 368 views - 02/10/12 by Bozhidar Bozhanov in Articles

Modeling, with Tools/Without

It‘s totally crazy that in 2012 there are so few good choices for modeling tools. I got encouraged for a minute today when I found a thread on Stack Overflow that included a bunch of products and I found out about SparxSystems‘ System Architect . Got all the way to downloading the trial version when I saw that it was an exe. Yes, folks, Windows only.. in 2012. Unbelievable. Hilarious that these guys are selling tools for doing MDA. Guys, where is your PIM? Oh, yeah, you don‘t have one (clearly). Your codebase is already a PSM (platform-specific model).

0 replies - 641 views - 02/10/12 by Rob Williams in Articles

Tomcat 5.5 and Tomcat 6 connector option enableLookups not defaulting to true

I have been working on an issue where HttpServletRequest.getHostName() always return the IP address, instead of the host name.

0 replies - 426 views - 02/10/12 by Mick Knutson in Articles

Unreachable Catch Block - A Most Unobvious Bug

Earlier today I was working on some HTTP comms code adding a few changes, which are of no consequence here. One of the things that the code did was to read data from a server and, if the read failed, then it re-newed the connection and retried the read. The code ran something like this:

0 replies - 585 views - 02/10/12 by Roger Hughes in Articles

Broad NoSQL Adoption in 2012?

The SQL / NoSQL debate continues with Couchbase releasing the results of an industry-wide survey tracking the potential development of NoSQL in 2012. This article provides some illumination of the Couchbase survey, as well as offering a couple other voices in the SQL / NoSQL debate.

1 replies - 1143 views - 02/09/12 by Eric Genesky in Articles

Search Needs to Help Disprove Patent Trolls

There’s not really a setting in a search engine to make a disproving search versus a finding search. If there was, then many patent trolls would be uttering a long bellow of anguish and going back under the bridges where they were hiding.

0 replies - 1242 views - 02/09/12 by Jason Hull in Articles

Programming Language Popularity by SO and GitHub Cross-Ranking

See what you think of this new methodology for determining language popularity with stats from Stack Overflow, the developer question and answer site, and GitHub, a very popular open source repository.

0 replies - 4481 views - 02/09/12 by John Cook in Articles

Have You Adopted Java 7 Yet?

Java 7 has been available for some time now, and all indications suggest that it has a modest rate of adoption. In this poll, I'd like to find out where the Javalobby community stands with Java 7

2 replies - 4563 views - 02/09/12 by James Sugrue in Uncategorized

Massively Easy Win7 Box Setup From Scratch

Patrick Dubois, the Godfather of DevOps (and a DZone MVB), has created a few open source tools and one of them, VeeWee, is a tool for building boxes for a few...

0 replies - 1982 views - 02/09/12 by Mitchell Pronsc... in Videos

Scala Artifacts Now on Central

Two weeks ago, all Scala projects required a little bit of extra configuration to point to a custom repository for Scala artifacts hosted at scala-tools.org. Today, Scala artifacts are now available directly from Central. The contents of scala-tools.org are now integrated into the Sonatype OSS repository hosting service, and other projects have started to publish artifacts Central.

0 replies - 1155 views - 02/09/12 by Tim O'Brien in Articles

Automatically generating WADL in Spring MVC REST application

Last time we have learnt the basics of WADL. The language itself is not as interesting to write a separate article about it, but the title of this article reveals why we needed that knowledge.

0 replies - 1186 views - 02/09/12 by Tomasz Nurkiewicz in Articles

Some Reporting tricks with class-transformations

Every time I used to see some duplication of code, I used to move that code to a new method. With Tapestry, you begin to think differently. Now every time I see duplication, my first thought is “Can I create a worker for it”. In my current project, I am using a few new ones. So I thought why not share them with you.

0 replies - 892 views - 02/09/12 by Taha Siddiqi in Articles

The depths of Java: API leak exposed through covariance

Java can be very tricky some times, especially in API design. Let’s have a look at a very interesting showcase. jOOQ strongly separates API from implementation. All API is in the org.jooq package, and public. Most implementation is in the org.jooq.impl package and package-private. Only factories and some dedicated base implementations are public. This allows for very powerful package-level encapsulation, exposing mostly only interfaces to jOOQ users.

0 replies - 1456 views - 02/09/12 by Lukas Eder in Articles