• submit to reddit

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 - 630 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 - 674 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 - 850 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 - 1577 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 - 656 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 - 1218 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 - 1092 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 - 716 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:

3 replies - 1103 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 - 1785 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 - 1477 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 - 5129 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

5 replies - 5574 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 - 2174 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 - 1254 views - 02/09/12 by Tim O'Brien in Articles