• submit to reddit
Jens Schauder07/26/11
4 replies

Clean Code with Swing and Scala

I guess everybody who knows Java and Swing also knows the Swing Tutorial. It is a great source of information if you want to learn Swing. It is also a major catastrophy when it comes to structuring code. The problem is: Lots of people miss critical...

Peter Lawrey07/26/11
2 replies

Java Secret: Are static blocks interpreted?

An interesting comment was raised by @Vyadh - Are static blocks interpreted or does the JIT play a part?

Nick Watts07/26/11
1 replies

Java Decompiler and its Missing Documentation

If you ever need a good decompiler for Java, there are plenty around. Nonetheless, I found one that integrates smoothly with Eclipse, which I’m guessing is not as common.

Rafał Kuć07/26/11
6 replies

Solr and Autocomplete (Part 1)

Almost everyone has seen how the autocomplete feature looks like. No wonder, then, Solr provides mechanisms by which we can build such functionality. In today’s entry I will show you how you can add autocomplete mechanism using faceting.

Trisha Gee07/25/11
2 replies

My Experiences with Android Development

Because I was missing coding, and because my friend and I had an awesome phone app idea at the weekend, I thought I'd try my hand at developing an Android application this week. I want to give a quick overview of my preliminary thoughts on getting started...

Chas Emerick07/25/11
2 replies

Scala isn’t complicated; it’s clever

I’ve been away from Scala for a long while now — a little more than three years.  v2.7.1 was the last rev I used significantly, if memory serves.  I enjoyed my time with it, but it just wasn’t the best fit for me. Anyway, I’ve learned that...

Jens Schauder07/25/11
6 replies

The Cost of Testing or You don’t Know what You are Missing

Twice this week people challenged my belief in automated testing and Test Driven Development. The argument that was brought forward was simply: Unit tests are too expensive. I actually believe the opposite is true. Let me tell you about a little dialog...

Nick Watts07/25/11
1 replies

Session and Clustered Java Web Apps

Session can be a headache to work with in Java web applications. For that reason, most developers now use MVC frameworks, such as Java Server Faces, that hide the use of session and allow you to work with simple Java beans and configuration instead. But,...

Peter Lawrey07/25/11
8 replies

Java: What is the limit to the number of threads you can create?

I have seen a number of tests where a JVM has 10K threads. However, what happens if you go beyond this? My recommendation is to consider having more servers once your total reaches 10K. You can get a decent server for $2K and a powerful one for $10K.

Mitch Pronschinske07/25/11
0 replies

Reza Rahman on Resin 4, CDISource, and JEE 7 and 8

Caucho's Community Outreach Advocate and Senior Software Engineer stopped by our studio on his way to talks at the Research Triangle JUG and the...

Mats Lindh07/25/11
0 replies

Solr, Memory Usage and Dynamic Fields

One of the many great things about Solr is that it allows you to add dynamic fields – you can define a certain pattern that a field will have to follow, but it can then use any field name that matches the pattern. We’ve been using one such dynamic...

Gareth Rushgrove07/25/11
1 replies

Jenkins Build Pipeline Example

The idea of a build pipeline for web application deployment appears to have picked up lots of interest from the excellent Continuous Delivery book. Inspired by that, some nice folks have build an excellent plugin for Jenkins unsurprisingly called the Build...

John Whish07/25/11
0 replies

Secondary Level Caching in ColdFusion ORM

I've been doing some performance improvements to a site by making use of the ORM Secondary Level Caching that is built into ColdFusion 9. Interacting with databases is a common bottleneck in applications so you want to reduce the amount of queries you need...

Constantin Alin07/25/11
0 replies

How to Customize the Growl PrimeFaces Component

I believe that every JSF fan has heard about PrimeFaces, the open source component suite for Java Server Faces (PrimeFaces). From my point of view, it is a real pleasure to explore PrimeFaces components and to get play with their capabilities. Recently, I...

Jens Schauder07/25/11
0 replies

Rules in JUnit 4.9 (beta 3)

Some time ago David Saff announced a beta release of JUnit 4.9. So I guess it is a good point in time to look into what is new in this version.