ALTERthought Blogs

ALTERthought Blogs Archives: Java

· previous page

25 July 2006

Java on Rails? Trails: What it is (and isn’t)

Much to-do has been made recently about Rails, and the productivity gains that are to be had from the infrastructure it provides. Listed among these gains comes a productivity boost that can be had from the embracing of a Domain Driven Development approach, whereby the developer concentrates on the Domain model and the framework (in […]

continue reading... » 6 Comments

20 July 2006

Developing RESTful Web Services in Java

When you think of Web services, SOAP immediately comes to your mind. Not any more! Thanks to REST, there is a simpler way to develop web services. While SOAP is well established with most vendors supporting it, REST is really catching up.
Representational State Transfer (REST) is an architectural style for distributed hypermedia systems. REST relies […]

continue reading... » 2 Comments

29 June 2006

Integrating Spring and the Struts Validator (transparently)

A client recently approached my company looking for specialized training/mentoring on how to introduce the Spring framework into their Struts fronted J2EE applications. One of the topics of particular interest was a desire to use Spring to (somehow) apply the same validation rules that are implemented in the Struts Validator for their UI to […]

continue reading... » 0 Comments

17 April 2006

Use Linux to Recover a Corrupted Windows Drive

This entry was originally posted on an earlier incarnation of this blog. It still seems to have some merit, so I have re-posted it.
So I was the unfortunate victim a harddrive hardware failure. Repeated WindowsXP CHKDSK runs did nothing to fix the problem and I came to the painful realization that I needed a […]

continue reading... » One Comment

2 April 2006

Better jUnit-ing

jUnit has been around for a long time. But there are always better techniques to implement old ways. I have provided below an efficient junit aprroach integrated with DbUnit and Spring with support for transaction and hibernate open session. Significant features are:

Integration with DbUnit: DbUnit puts database into a known state between test runs. Pre-loads […]

continue reading... » 4 Comments

29 March 2006

Java Puzzler: Thine Stack Overfloweth

THE PROBLEM:
A buddy of mine chatted me up over IM the other day with the following, seemingly simple problem:

He has a class that extends the standard Java 1.4 Exception class (BaseException)
Whenever he catches a thrown BaseException, and tries to print the stacktrace (via BaseException.printStackTrace()) he gets a java.lang.StackOverflow error.
If he calls getCause().printStackTrace() everything is […]

continue reading... » 2 Comments

24 March 2006

Better Code Automagically, Part 2: Continuous Integration

This post is the second in a series (part1 here) of discussions around mechanisms for increasing code-quality thru the use of automated tools– the ultimate goal being an increase in overall code-quality and a decrease in manual Q&A time.
Lets first talk about the concept of Continuous Integration itself. The idea is pretty straightforward:
Create an automated […]

continue reading... » 0 Comments

15 March 2006

ALTERthought is hiring: Java Engineer

Java Engineer
-OVERVIEW-
The Java Software Engineer participates as part of a larger team for ALTERthought internal and client-oriented initiatives. He or she helps support ALTERthought’s core value of Technology and Innovation through implementation and refinement of leading and emerging technologies for internal as well as client products/solutions. The Engineer is a well-rounded professional with excellent […]

continue reading... » 0 Comments

14 March 2006

Better Code Automagically, Part 1: FindBugs

This post is intended to be first in a series (maybe) of discussions around mechanisms for increasing code-quality thru the use of automated processes, such as:

Continuous integration build tools (anthill , cruise control, etc.)
Metric and code auditing (CheckStyle, FindBugs, etc. )
Unit test coverage reporting (clover, cobertura)

The grail here is to explore approaches that can […]

continue reading... » 0 Comments

10 March 2006

Choosing a JMS Provider: Harder than it should be

So I am in the process of evaluating several leading commercial JMS (Java Messaging Service) vendors for recommendation to a client. All of the typical things you might expect are in the hunt as part of the criteria:

Adherence to the JMS specification.
Performance and throughput. (I am using SonicMQ’s benchmarking guide as a basis.)
Scalability
Clustering and reliability
Cost

And […]

continue reading... » 9 Comments

· previous page