Skip to main content

Simon Brown

 

Articles

JSP custom tags have been adopted by JSP developers as a way of abstracting complex code out of the page and into reusable components. This article introduces TagUnit--an easy-to-use tool that makes it possible to comprehensively test JSP tags.
JSP custom tags have been adopted by JSP developers as a way of abstracting complex code out of the page and into reusable components. This article introduces TagUnit -- an easy-to-use testing tool that makes it possible to comprehensively test JSP tags.

Weblogs

Like Struts, WebWork is a framework that is fairly established within the J2EE webapp space although it's interesting that I've only ever come...

Stripes is a relatively new web application framework that's been built with a couple of things in mind - simplicity and the adoption of new technology. In...

Struts is the grandaddy of Java webapp frameworks so it's fitting that we start our tour here. I think it's probably safe to say that Struts was the first...

For completeness, I wanted to show how the JSP pages from the JSTL version could be written using the...

It's been a while since the last blog entry, but let's continue our look at the webapp frameworks with another model 1 implementation, this time using the JavaServer Pages Standard Tag Library (...

Before we dive into the frameworks, I want to drop back to basics to give some context behind why the frameworks exist and what benefits they provide. For this reason, let's look at a naive model...

Before we kick off our look at webapp frameworks, let's establish the domain model we're working with. It's pretty simple - blogs and blog entries, residing in a package called...

So, to compare webapp frameworks we need an example web application. I've chosen to build a simple blog. Here are the functional requirements.

After posting Comparing webapp frameworks : Introduction yesterday, I got lots of feedback - some good...

Struts, WebWork, Stripes, Spring MVC, Wicket, Tapestry, JSF, etc, or even rolling your own. With so many J2EE web...

Having just come back from holiday, I fired up iTunes hoping to get a new JavaCast that I could listen to on the way to work. If you've not heard of it before, the JavaCast was a podcast...

In Got Servlets?, Greg is asking what we'd like to see in the next major revision of the Java Servlets...

This blog entry should really be titled, "J2SE 5.0 updates, or the lack of them". I've read Graham's blog entry...

I first came across...

I just got bitten by the collections framework. I always thought that the Collections.unmodifiableX() methods returned an unmodifiable copy of the supplied...

A new JSR has been created that proposes to build a JSP Tag Library for Web Services...

A JSP tag library for Web Services is...

It's still relatively early days for J2EE 1.4 in the real world, but compare the number of J2EE 1.4 implementations (6) with the number...

Having briefly looked at Groovy in the past, I don't think I've ever really "got it". Even when I saw the Groovy presentation at JavaOne a couple of...

We've been doing some prototyping over the past week and wanted to put together a simple enterprise application to prove some of the characteristics of JMS message processing via message-driven...

Like many people, I want a way to run some one-time set up and tear down logic and the approach I usually take is to drop some code into a static initializer block in an abstract test case. For...

I've been using Clover for a few months now, but only in the context of my standalone JUnit tests and mainly from within IntelliJ IDEA. Having played with the Clover/Ant integration over the past...

I've been having lots of "fun" over the past days trying to figure out how to get JSP pages to properly display international characters. I've tried HTTP meta tags, JSP page encodings and seemed...

Sam Dalton and I are running a JSIG session about Java development on Mac OS X next month...

We're going festive at this month's London Java Meetup with our Christmas party on Monday, 15th of December.

I’ve been playing around with the various implementations of the security features in Servlet 2.3 compatible web containers. If you’ve ever built secure web applications, you’ll know that there...

Say for example that you want to unit test a Service Locator - a class that looks up data sources,...

I popped down to the JSIG today, the topic of which was Eclipse.