• submit to reddit
Jakub Holý03/01/12
0 replies

Pitfalls Experienced When Profiling Tomcat Webapps with VisualVM and NetBeans

Profiling a webapp running on Tomcat with VisualVM or NetBeans wasn't as easy as expected. Initially, the NetBeans profiler wasn't able to dynamically connect to the Tomcat instance. VisualVM seemed to require JMX connections without passwords in the Tomcat config.

Mitch Pronschinske02/29/12
0 replies

Reviewing 'Build Your Own EC2' OSS - Cloudstack 3.0

CloudStack is an open source cloud orchestration platform that essentially enables service providers to set up on-demand, elastic cloud computing services that function like Amazon EC2. If you've heard of Rackspace's OpenStack, you could consider CloudStack a direct competitor. Here's a TL;DR list of the main strengths of the updated platform.

Rob Moffat02/29/12
0 replies

Roundtrip Engineering: Remixed

If you've been around the programming block a few times, you've almost certainly come across the concept of Roundtrip Engineering: usually this means drawing a system diagram in a UML editor and then turning this diagram into some executable code in a language of your choice. You may also have found this wanting. This article explores some of the reasons for that, and looks at how it might be possible to move ahead with the concept.

Rob Terpilowski02/29/12
3 replies

Creating a build pipeline using Maven, Jenkins, Subversion and Nexus.

For a while now, we had been operating in the wild west when it comes to building our applications and deploying to production. Builds were typically done straight from the developer’s IDE and manually deployed to one of our app servers. But all that has changed, and here's how...

John Esposito02/29/12
1 replies

Windows 8 Consumer Preview, Visual Studio 11 Beta Now Available

Today's the big beta day! Today Microsoft launched Windows 8 Consumer Preview and Visual Studio 11 Beta. This article summarizes and links many launch resources, intended for both users and developers. I'll include more details on the Visual Studio 11 Beta launch in a later post.

Kief Morris02/29/12
2 replies

Running Multiple Tomcat Instances on One Server

Kief Morris presents a brief step by step guide to running more than one instance of Tomcat on a single machine. It involves four steps: installation, directory creation, port configuration, and startup.

Kelvin Tan02/29/12
0 replies

Book review of Apache Solr 3 Enterprise Search Server

Apache Solr 3 Enterprise Search Server published by Packt Publishing is the only Solr book available at the moment. It's a fairly comprehensive book, and discusses many new Solr 3 features....

Nicolas Frankel02/29/12
0 replies

Use views, not windows in Vaadin

In Vaadin 6, the Window class is used for both main windows - i.e. windows that fill the entire screen, and popup windows aka subwindows. Here are some important tips about the window class in Vaadin...

Mitch Pronschinske02/29/12
3 replies

DZone Meetup Strikes Sofia, Bulgaria!

After 2 hugely successful DZone VIP meetups in Cary, NC (USA) and Colombo, Sri Lanka, a third meetup concluded last month in Sofia, Bulgaria - organized by one of DZone's team members, Jordan Jambazov. See pics and user reflections on the meetup

Peter Lawrey02/29/12
0 replies

How much difference can thread affinity make?

In the past when I have performed performance tests using thread affinity, at best, it didn't appear to make much difference. I recently developed a library to use thread affinity in a more controlled manner, and another library which makes use of threads working together in a tightly coupled manner. The later is important because it appears to me that affinity makes the most difference when you have tightly coupled threads.

Jakub Holý02/29/12
2 replies

Fault Injection into Unit Tests with JBoss Byteman

How do you test error handling in your application? Do you? Is it at all possible to simulate SocketTimeoutException, SQLException? Normally the answer would be that it isn’t possible or very difficult, requiring a complicated setup. Not anymore – with JBoss Byteman you can easily inject whatever code you want, in any place that it is needed. The code is injected before your test runs and unloaded when it finishes.

Dustin Marx02/29/12
0 replies

Java Reflection in Action: Still Relevant After Eight Years

The book Java Reflection in Action was published in 2004, but remains largely applicable eight years later. In this post, I review this book and cover its strengths and its weaknesses. In general, age is the common theme of most of its weaknesses, but I was surprised at how relevant its information still is. The book was written when JDK 1.4 was the commonly used release of Java and J2SE 5 was well on its way (released late September 2004). Given this relative timing, it's obvious that where this book suffers is in coverage of reflection-related features made available after the release of JDK 1.4.

Mitch Pronschinske02/29/12
0 replies

Emerging "Kits" for Java and .NET Interoperability Scenarios

Today JNBridge announced that they're going to release downloadable kits for various interop scenarios on a continuing basis, and they'll even be taking requests from the Java and .NET communities. The kits will include code and documentation, plus users will be able to build or enhance them but some assembly is required.

René Pickhardt02/28/12
0 replies

A Neo4j and GWT System for Creating a Social News Feed

As part of his doctoral research, René Pickhardt treats the Bavarian Wikipedia as a graph. René felt a little disappointed by his performance numbers, and is still trying to optimize the application; but the idea is clever, and his results are intriguing.

Chris Smith02/28/12
0 replies

Hadoop in Practice

Working with simple data formats such as log files is straightforward and supported in MapReduce. In this article based on Chapter 3 of Hadoop in Practice, author Alex Holmes shows you how to work with ubiquitous data serialization formats such as XML and JSON.