ALTERthought Blogs Archives: Java
next page · previous page
3 August 2008
Drools Plugin for Grails Application
I have just released a Grails Plugin for Drools. The plugin details can also be found at http://www.grails.org/Drools+Plugin.
Drools is a business rule management system (BRMS) and an enhanced Rules Engine implementation, ReteOO, based on Charles Forgy’s Rete algorithm tailored for the Java language.
Features
Easy implementation of Drools
Rules can be stored in file or in database
Rules [...]
continue reading... » 0 Comments
31 July 2008
Grails 1.0.3 upgrade issues
Recently, we upgraded our application running in Grails 1.0.1 to 1.0.3. Just to give you an idea, the application is pretty complicated involving multiple data sources, complex hibernate mappings with JPA annotations, legacy system, linking tons of external services etc. We had to overcome few significant hurdles to get our application to run in Grails [...]
continue reading... » 2 Comments
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... » 14 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... » 4 Comments
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 [...]

