Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
  • submit to reddit

tools4j-config

I am proud to announce my open-source project tools4j-config; a project that will try to address configuration concerns in Java once and for all.

0 replies - 1066 views - 02/11/12 by Kristoffer Sjögren in Articles

Scala: Converting a scala collection to java.util.List

I’ve been playing around a little with Goose – a library for extracting the main body of text from web pages – and I thought I’d try converting some of the code to be more scala-esque in style.

0 replies - 481 views - 02/11/12 by Mark Needham in Articles

That's Not Agile!

If you work with a bunch of agile minded developer's, you often hear the phrase "That's not Agile!" It's quite humorous to hear, because it comes up all the time.

0 replies - 951 views - 02/11/12 by Nirav Assar in Articles

Lucene 3.6 Gets Query Time Joining

A very handy new feature called 'query time joining' is coming to Lucene sooner than anticipated. While it was confirmed last month that it would be in Lucene 4.0, the most recent news from Apache indicates that it will be included sooner than expected in Lucene 3.6.

0 replies - 718 views - 02/11/12 by Mitchell Pronsc... in News

Resin: We Were Fast Before NginX

Netcraft released its February 2012 Web Server Survey, and Caucho's Resin Application Server has made incredible strides in the last year, gaining 4.2 million hostnames and accounting for 0.77% of the current market share.

0 replies - 1177 views - 02/10/12 by Christopher Smith in Articles

How to Create a Sinatra App Using Glassfish

This is one user's unfamiliar experience of writing Java, and his discovery that native Java classes are easy to use in Jruby. Included is a short tutorial on using Glassfish to create a Sinatra App, as well as a useful, albeit in-depth, link to how to install Glassfish server on an Ubuntu server.

0 replies - 1293 views - 02/10/12 by Gareth Rushgrove in Articles

Transaction configuration with JPA and Spring 3.1

Transaction configuration with Spring 3.1 and JPA; focuses on the Java Spring configuration, in depth on transaction propagation and common JPA pitfalls.

0 replies - 1296 views - 02/10/12 by Eugen Paraschiv 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 - 2080 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 - 877 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).

2 replies - 1552 views - 02/10/12 by Rob Williams in Articles

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 - 1351 views - 02/10/12 by Lynda Moulton 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.

1 replies - 890 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:

4 replies - 1438 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 - 2305 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 - 1640 views - 02/09/12 by Jason Hull in Articles