Archive for the ‘Java’ Category




Java Web Services: Getting Started

Tuesday, March 9, 2010 21:49 1 Comment

Introduction
When it came time for me to tackle my first web service implementation I ran into a lot of problems. Here I will write a series of articles to address the questions and problems I encountered in hopes of helping you get started in developing web services faster than I did. The following example will show [...]

This was posted under category: JBoss, JEE, Java Tags: , , , , , ,

Java tip: How to read files quickly | Nadeau Software

Wednesday, November 25, 2009 13:10 No Comments

Here’s a good article comparing the performance of various File I/O implementations.  I was particularly interested in the performance difference between the BufferedInputStream and the FileChannel.
Java tip: How to read files quickly | Nadeau Software

This was posted under category: Java Tags: , , , , ,

Use final

Tuesday, October 27, 2009 21:19 2 Comments

The final keyword is one that I find is under utilized. Use final in your projects as a means of defensive programming. If you are unfamiliar with this keyword here is a great article on its usage.
Renaud Waldura’s The Final Word On the final Keyword .

This was posted under category: Java Tags: , ,

The EJB Specification, Concurrency, and Batch Processing

Sunday, March 1, 2009 12:54 1 Comment

The EJB specification does not leave much room for implementing concurrent processing within the EJB container. This poses a problem to developers who need to implement solutions for processing long running batch processes as part of the business logic of an application. The EJB specification states the following:
The enterprise bean must not attempt to manage [...]

This was posted under category: JBoss, JEE, Java Tags: , , , , , , , ,

Enforce Data Integrity With Check Constraints

Sunday, November 23, 2008 10:25 No Comments

I came across some code the other day that simply horrified me. I was looking at a table that had a field name which implied it stored a boolean value (e.g. IS_LAUGHABLE). The field type is defined as a char(1), allows NULL values and defined no default value. Looking at the data in the column [...]

This was posted under category: Database, Java Tags: , , ,

Java vs. .NET: Job Market and Salary Survey

Saturday, November 22, 2008 20:27 3 Comments

A salary comparison between J2EE and .NET Architect/Lead and Developer roles in the San Francisco Bay Area.

This was posted under category: Career, Java Tags: , , ,

Web Services on JBoss

Wednesday, October 29, 2008 21:26 7 Comments

I’ve been working on a project which requires developing some web service endpoints. This is the first time I’ve had to develop Java web services and I came across a couple of issues which slowed me down. I am using JBoss 4.0.5.GA which comes packaged with JBossWS 1.0.3.SP1. I started out by going through the [...]

This was posted under category: JBoss, Java Tags: , , , ,