Category: Java
A topic that seems to come up again and again is the issue of reusing BC4J packages across applications and projects. And along the same lines structuring the BC4J …
From Eclipse News: JBoss Joins Eclipse, Releases Application Server 4.0 Open-source firm JBoss recently unveiled the release of Application Server 4.0 and detailed an alliance with the Eclipse Foundation. …
Some time ago I wrote a post on HTML Buttons which are accessable using keyboard shortcuts. (alt-s for a save button for example). In the solution I proposed I …
In Java code you have to use arrays a lot if you want to pass a variable number of arguments to a method. The main method is an excellent …
During the JHeadstart workshop I am teaching this week there as a question: How can I – in a two-column layout – force two adjacent fields to be positioned …
Knowing that I will not be the only one posting on these features in the Java Tiger release here are some observations I made while running some tests. I …
From this thread on The Server Side: HttpUnit 1.6 released. HttpUnit 1.6, the first new production release in over a year, is now available. HttpUnit emulates the relevant portions …
Java and persistence are hot. And continue to be hot. If I read things correctly, Sun – through Linda DeMichiel and Craig Russell Specification Leads, JSR-220 and JSR-243 – …
I have given the meta-data features in the J2SE 5.0 Tiger Release some more thought. Reading – in this order – through the following articles, I rather quickly had …
Craig McClanahan of Struts and JSF fame has started his own Blog. Let us add it to our roll..
All the news etc. starts here: J2SE 5.0 Home For new features see here (new features). and here (release notes). Then there is the article: Java 5.0 in a …
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 …
In this post I will tell you about some of the sessions  notably on Struts support in JDeveloper, Java/JDBC support with Oracle 10g and the Data Guard option of …
During the Amsterdam stage of the Oracle Open World Tour, I had a great opportunity to interview John Wookey Senior Vice President, Applications Development at Oracle Corporation. John is …
In between sessions on Oracle Open World I visited the demogrounds. In one of the booths Duncan Mills was demonstrating Oracles ADF framework in JDeveloper 10g. IMHO the documentation …
Probably many of you have at least a vague notion of what BPEL (Business Process Execution Language) is all about. Now, thanks to a very good presentation by Oracle’s …
XDoclet is a tool that proclaims the DRY (Don’t Repeat Yourself) principle: you code everything in one file once, as opposed to the practice of modern software development, where …
This probably is one of the best books (on Java that is ;)) I’ve read in years. The book addresses the growing complexity Java designers & Developers face these …
Yesterday a presentation was given on unit testing during an Amis (Web) Knowledge Center meeting. The aim was to introduce the JUnit framework and related technologies such as DbUnit …
In HTML it is possible to define an accesskey for a control. For example if you want to have a button which the user can click using the hot-key …
In Hibernate Roundtrip Development, a scenario is presented to generate (Hibernate) POJO objects from a (legacy) database, also known as a bottom-up approach: We applied this strategy to 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 …
Basically, the recipe for using image buttons using the Struts tag library can be found on this page at j2ee.lagnada.com and this excerpt uit Ted Husted’s book Struts in …
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 …
I expected multiple-level nesting with the <logic:iterate> tag in Struts to be difficult, but on the contrary it turned out to be an almost trivial exercise.
Some links to get started with Hibernate: Quickstart with Tomcat "Hibernate Your Data" – ONJava Quickstart Configuration Properties Hibern8IDE
Recently, IBM announced the open-sourcing of their Cloudscape database. a lightweight, Java-based relational database with a footprint of just 2MB. It’s significantly less resource-intensive than enterprise databases like IBM’s …
For my Open Source project, I want to expose a stateless session bean (SLSB) as web service using JBoss 3.2 and Axis 1.1. Now I’m wondering whether to use …
I was working on a Ant build file which includes a doc task generating the Javadoc for our project. Running the task from the command line worked just fine. …
Yesterday we had an excellent meeting on Java persistency frameworks, in particular Toplink. Oracle Consultant and Java expert Peter Ebell presented on his experiences with Toplink on a very …
I found a very interesting document (300 pages) with standards on Java/J2EE guidelines, Technical Paper: Java – J2EE Conventions and Guidelines Release 1.0.2 Stephan Janssen The JCS Team (2004). …
While studying JMS, a friend suggested the JMS Application Architectures article to me, written by Roland Barcia. This article presents and discusses various JMS concepts (such as state versus …
For those who can not wait to try the Struts 1.2.1 beta version in combination with ADF in JDeveloper10g, Duncan Mills has posted a “how to” on OTN. click …
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. …
Since we are comparing O/R tools here, the EJB 3.0 developments shouldn’t be missed either. EJB 3.0 in a nutshell, An overview and critical analysis of the latest EJB …
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 …
An auto-incremet of your primary key field whenever a new record is inserted, is a feature commonly found in many databases (e.g., the auto_increment of MySQL, the identity field …