Category: Java
How do I enable logging under JBoss?
As a (promised) follow-up on the uni-direcional CMP/CMR example in EJB CMP/CMR example with JBoss+Xdoclet, we present a many-to-many (m:n) relationship example here, albeit in much less detail. For …
Yesterday we (Hans, Harm, Rob, Wiene and myself) had a session with the Oracle JHeadstart team (Steven and Peter) where they demonstrated the upcoming ADF JHeadstart release. We also …
In this post I’ll first discuss how to implement a unidirectional one-to-one relationship with EJBs, JBoss and Xdoclet in abstracto, using two tables called table1 and table2. Thereafter I’ll …
This post describes some of my recent experiences in using JSP and JSTL. For many probably highly trivial.
For a good “non-religious” argumentation on the advantages, drawbacks and points for improvement of EJBs, see this post by Nick Minutello.
In this post I want to give some pointers to/an overview of technologies for developing server side software in general, as well as one in particular: Attribute Oriented Programming, …
An interesting article appeared on OTN today: ANT 1.6 for Taskwriters. This article will show you that Ant 1.6 has also changed internally and how you can take advantage …
Any non-trivial EJB-based application should incorporate the session facade design pattern, since the overhead to implement it is negligible and the benefits are great, as can be read on …
During development of your Struts-based web tier, you want to be able to test your page flow, action forms and validation independent of your persistency layer, which may be …
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.
This post describes how to import a (non-Eclipse) based project from CVS into Eclipse.
In Nancy Chen Junhua’s article on Developing Struts with Easy Struts for Eclipse she has some interesting pointers to documents on “Eclipse Aided Development” on IBM’s developerworks. In my …
Working my way through the first chapter of Jakarta Struts Live book, I could not get my own application working, failing at the <bean:message key="welcome.databaseSelection"/> The annoying thing was …
Playing with EJBs at home and programming with Struts at work recently, I wondered how you would integrate those, preferrably with the Eclipse environment: EJB and the Struts framework …
This post describes a list of JHeadstart Application Generator enhancements and also provides a progress report on the implementation of the features mentioned
Jakarta Commons logging is a wrapper around Log4j (Log4jLogger), the Java native logging system(Jdk14Logger) and the built-in fall-back logger SimpleLog. Depending on which one is on the classpath, that …
On Sang Shin’s J2EE Programming with Passion! page, you can find many good (introductory) courses on J2EE (and related topics). Courses taught include J2EE Programming with Passion! Advanced J2EE …
Developing CMP entity beans with JBoss 3.2.4, Eclipse and the Lomboz plug-in, I encountered the following anomalies:
According to this article: After examining the standard logging API, my opinion is to stick with the log4j package if you are looking for a robust logging implementation. The …
In my search for an XML plug-in for Eclipse, I stumbled upon the following article: Working with Hibernate in Eclipse It contains a reference to such a plug-in (XMLBuddy), …
Automated Quality Audit or Standards Enforcement There is a number of tools available for automated standards checking. These tools parse Java source code and determine which standards have been …
Yesterday I started research into the current state of affairs with regard to coding standards for J2EE development. We are looking for an up to date set of low …
The Lomboz 3.0rc2 release works perfectly together with Eclipse 3.0. You can download it here (lomboz.3rc2.zip). Please make sure to download the accompanying Eclipse Modelling Framework (EMF) plug-in too …
The Apache Struts web application framework is is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and XML, as well as various Jakarta Commons …
Recentely I noticed that MySQL 3.x lacks support of callable statements via the JDBC API. The good news is that the Hypersonic DB (ships standard with JBoss) does support …
Want to see what’s residing in your database from Eclipse? Get the QuantumDB plug-in, and create a DB connection using a driver suitable for your database. From then easy …
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 …
On Tuesday we had a very good session with the Knowledge Center for Web & Java on ANT, the Jakarta “make”-tool. We started with the usual roundup of everyones …
Oracle Data Cartridge is a technology component, part of the Oracle RDBMS (ever since the 8i release), that allows developers to extend the functionality of the database. One area …
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 …
Currently, plugins for the 3.0 release of Eclipse are only sparsely available. However, I already discoverd two interesting ones: a subversion Eclipse plugin (CVS support is already present in …
Eclipse 3.0 is available for download from the 25th of June. I downloaded and installed it. It looks great and has some great new features, among others integration with …
If you have just installed the MySQL RPMs and wonder what to do next, check out Getting Started with MySQL. This is a wonderful concise to-the-point comprehensible “getting started”, …
With Eclipse 2.1.3 using the SysDeo plugin for Tomcat (I’m using Tomcat 4.1.30) I am not able to un/redeploy an application: the old code isn’t replaced by the new. …
You can access a database with Ant. This can be useful when you want to create a database and fill it with some default data at the start/deployment of …