John Topley's Weblog
Java Category Article ArchiveIf you've missed an article then follow the links below to view the articles within the category. Saturday, 12 March 2005SitePoint have published what is the first of hopefully many articles that I'll be writing for them. Apache Ant De-Mystified is a brief prelude to a revised version of the Jakarta Struts De-Mystified series, the first four parts of which have already been on this site. Sunday, 21 November 2004Jakarta Struts De-Mystified On Tomcat I've been working on modifying the Web Forum application so that it runs on the open-source Jakarta Tomcat web container, instead of the proprietary Oracle OC4J application server. Saturday, 16 October 2004Jakarta Struts De-Mystified Part 4 Last time we wrote most of the JSP to display the list of topics and I introduced some of the Struts custom tags for looking up message resources, conditional processing and collection iteration. Without further delay, let's write the code that makes each topic subject a hyperlink. Sunday, 03 October 2004Jakarta Struts De-Mystified Part 3 I've decided to make a couple of changes to this series. First off, I've had requests to make the full source code for the Web Forum application available for download. Initially I didn't want to do this because I only wanted the relevant code to be associated with each installment. I've changed my mind because it's going to save me a lot of time if I don't have to strip out code every time I write an article. Secondly, I've decided to split the series up into much shorter, bite-size chunks. Saturday, 17 July 2004Jakarta Struts De-Mystified Part 2 Last time I introduced this series of articles and the Web Forum application, and I explained what would and would not be covered. This time I'm going to cover the data and business object layers, and we'll roll our sleeves up and cut some code. Wednesday, 23 June 2004Jakarta Struts De-Mystified Part 1 Just over a year ago I started to learn how to use the Jakarta Struts J2EE web application framework. During this journey it became apparent to me that there were some aspects of Struts that I found confusing at first, and that many other developers were going through the same difficulties. This series of articles is an attempt to address this problem. Monday, 07 June 2004JDeveloper, Apache And MIME Types I've just got to the bottom of a fairly obscure problem that occurs when using Mozilla Firefox to access a web application developed using Oracle JDeveloper. The JSPs in my application link to an external stylesheet, but the pages weren't styled when viewed using a Gecko-based browser, such as Firefox. However, they were fine when using Internet Explorer or Opera. Saturday, 15 May 2004Javadoc Not Backwards-Compatible Although occupationally I currently write code for J2EE 1.3, the other week I needed to install the J2SE 1.4 JDK and this led me to discover an interesting difference in the Javadoc documentation program between the two versions. Thursday, 08 April 2004Yesterday I spent more time than I would have liked trying to track down a problem with a custom JSP tag library that I was developing. I'd added some attributes to the TLD file and packaged the custom tag as a JAR file ready for use by my test web application. Sunday, 07 March 2004One of the things that has struck me whilst learning J2EE is the fact that there's a symbiotic relationship between J2EE and the world of open-source software. There's a bewildering choice of open-source software available to the enterprise Java developer, encompassing everything from application servers to string libraries and anything you can think of in-between. Wednesday, 07 January 2004Do the best programmers know how to Keep It Simple, Stupid? Is simplicity in itself a desirable goal? I didn't used to subscribe to the idea that simple was always best. I thought that sometimes complexity was the only answer. Saturday, 20 December 2003“You should never go back” they said, and they were right. They probably weren't thinking about the problems of web application development when they said it though. Friday, 05 December 2003There seems to be a lot of confusion amongst Java programmers as to what consitutes a default constructor, a no-argument constructor and what the difference is between them. Thursday, 28 August 2003My development efforts were halted today by a frustrating but interesting few hours spent trying to track down and fix a bug in the UI for the Java framework we're developing. Thursday, 07 August 2003The latest edition to my J2EE armoury is Apache Ant, which I've spent the past few days investigating. For those who don't know, Ant—which stands for Another Neat Tool—is a Java automated build tool. Tuesday, 05 August 2003There's been some discussion recently about Mailinator, a web application that provides instant, disposable e-mail addresses. Apart from being struck by what a brilliantly simple and useful idea this is (and wondering why I didn't think of it!), I was also interested to notice that Mailinator is a Jakarta Struts application. Monday, 21 July 2003I've just returned from a week-long RAD workshop where I was involved in the initial development of a Java framework for internal use within the organisation I work for. The workshop was a first for me and a first for my employer. |
![]() |


