Author: Jasper
In this nice OnJava article Amir Shevat shows a way to scale an application in a near painless and lightweight manner using the OS MantaRay messaging middleware package. Interesting …
Interesting post by Dino Fancellu on SoftwareReality.com, XSLT is Way Faster Using Java 5, talks about how by replacing Xalan by XSLTC and Crimson by Xerces Sun JDK 5.0 …
During my current project, i encountered jWebUnit, a unittesting framework based on jUnit and HttpUnit. Old news for some, new for me. Since we already had some posts on …
It looks like trying to use Struts’ nested indexed properties in a form with table-layout, with every line (a few formfields) as an editable separate entity, has driven a …
A simple, standard and reusable way of creating toString, equals and hashcode methods in your classes/beans can be found in the jakarta commons.lang package: import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import …
After getting a weird NullPointerException using Transaction.commit() in Hibernate during an insert (eventually calling PreparedStatement.clearParameters() which was the source of the exception), it turned out that the JDBC driver …
A quick’n dirty tutorial-by-example for Hibernate: (Using one table, an Oracle9+ database and Hibernate2) 1) download the Hibernate distribution 2) put these jarfiles in /WEB-INF/lib: hibernate2.jar (hibernate core) cglib-full-2.0.2.jar …
Some links to get started with Hibernate: Quickstart with Tomcat "Hibernate Your Data" – ONJava Quickstart Configuration Properties Hibern8IDE
Years ago, i believe Q4-2000, we made a website that almost from the day it went live had to serve some rather heavy content with 30.000 hits a day. …
For a very extensive comparison between seemingly all the O/R mapping tools known to mankind check this wiki page. Perhaps a relevant observation: despite the zealoting, Toplink, OJB and …
A very good, thoughtprovoking interview on EJB3, lightweight containers and AOP with Bruce Tate (author of Bitter Java, Bitter EJB and his latest, Better, Faster, Lighter Java) can be …
The Eclipse webtools subplatform is live, with two initial code submissions from Lomboz and IBM. More info here. The submission by IBM is looking _really_ good: it’s like a …
For a simple and generic solution to the boring and code-aesthetics ruining routine of catching rare exceptions in your Struts-actions, try a global exceptionhandler.
An interesting article about reducing the amount of code needed to implement a certain objectmodel, using JDK1.5’s generics. “Model-View-Controller (MVC) is a widely used design pattern, especially popular in …
ServletUnit is a thin layer around the HttpUnit framework (reviewed here). An excerpt from the page: “As a testing tool, HttpUnit is primarily designed for “black-box” testing of web …
First of all, although the name suggests otherwise, HttpUnit is NOT a unit-testing framework. What is it then? Well, read this excerpt from the HttpUnit site: “HttpUnit emulates the …
After a promising start, getting me all enthousiastic about the new features described in the “what’s new” document, Eclipse 3.0 got to a grinding halt when i tried to …