ALTERthought Blogs

ALTERthought Blogs Archives: Java

next page ·

1 August 2007

Grails Vs. Rails - the Thrilla in Manila: A Study on Platform Productivity

“Down goes Frazier (Ruby on Rails), down goes Frazier …” If the numbers we are tracking regarding an ongoing Enterprise Groovy/Grails initiative continue to pan out; as a business person, I will have a clear statement in the Rails/Grails debate: “I want all Grails, and I want it all the time.”

Our client is a Fortune […]

continue reading... » 27 Comments

7 June 2007

Revenue on Ruby on Rails …

Okay, so its not the most poetic title, but that’s what you get when Captain Alliteration gets your login and password. For the last 18 months we at ALTERthought have been diving into the deep end of the Ruby on Rails (RoR) pool. The technologies are clearly compelling for a number of reasons that are […]

continue reading... » 9 Comments

13 December 2006

Licence Management for Java Web Applications Using Aspects

This post provides step by setp instruction on implementing license management for Java web applications. I have used open source product TrueLicense for license management and aspects to weave the license verification into the code.
TrueLicense Library Collection(TLC) is a collection of Java packages to securely create, install and verify license for closed source products. TLC […]

continue reading... » One Comment

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

30 May 2006

From Java to Rails: A Newcomer’s Perspective

The past two weeks I’ve been learning, practicing, and sometimes stumbling through the intricacies of Ruby on Rails. I’m a rising junior from North Carolina State University where Java is the end-all be-all language. Going from the more restrictive and conservative world of Java to the liberal world of Rails takes some adjustment.
As a Java […]

continue reading... » 159 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

next page ·