AppFuse – To get a J2EE project going…

Lucas Jellema 7

An interesting article on java.net on AppFuse: AppFuse: Start Your J2EE Web Apps by Matt Raible. AppFuse tries to make it as simple as possible to build, test, and deploy your J2EE Web application. It virtually eliminates setup and configuration, which are often the hard parts. Tools like Ant, JUnit, […]

Core J2EE patterns, Abstract Factory: unit testing with Struts

admin

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 implemented with any Object Relational framework. That is were the abstract factory design pattern comes in handy. Suppose we want to […]

Useful Eclipse-related links

admin 8

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 experience, the articles found on IBM’s developersworks are of good quality. Articles for Eclipse users in the Open source projects zone. […]

Struts and Resource Bundle problems

admin 1

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 that the JSP page containing this statement remained blank! Inspection in the Tomcat log files showed that there was a problem […]

A Practical Guide for Integrating EJB and Struts

admin 1

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 each have received plenty of coverage individually, but what about leveraging EJB and Struts together? This tutorial lays out a complete […]

Logging quickstart: Log4j and Jakarta Commons logging

admin 1

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 logging system is addressed transparently via the easy-to-learn commons logging API. Recipe:

MySQL, stored procedures and callable statements

admin 2

The stable 3.x versions of MySQL don’t support stored procedures. Consequently the associated JDBC driver can’t support callable statements. The alpha 4.x versions don’t support stored procedures either, but support for stored procedures (and therefore callable statements) is announced for the development 5.x versions at this time of writing. This […]

On-line Java/J2EE courses!

admin 3

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 Programming with Passion! Web Services Programming with Passion! Distributed Programming using Jini and JavaSpaces Technology XML

Oracle Designer/Oracle SCM Meta Model

Lucas Jellema 7

This post – or rather its comments – contain some investigations into the Designer 9i/10g Meta Model and Meta Meta Model. That is: the tables that contain the definitions for the Designer Model. There are three levels at stake here: Model: the definition of a table as defined by the […]

Logging with J2SDK 1.4 API or Log4J ?

admin

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 logging API is adequate, but it is missing many of the features available in log4j. For instance, log4j already has a […]

Working with Hibernate in Eclipse

admin 4

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), but more importantly, it seemed like a nice introductory article on Hybernate+Eclipse. I did not read it in detail yet, but […]