Tag Archive
admin agile ant bea classpath hell coding standards common sense design doh eclipse economics ejb Hibernate humour ide IE intellij ioc Java javaworld junit language design learning management maven meh nytimes opinion patterns personal Politics refactoring Ruby struts suncorp tdd testing testng unit testing usa web app web design weblogic weblogic workshop wotif
Jersey – a review
We’ve been getting more interested in using RESTful web services and AJAX based applications recently. One of the tools we’ve been using with that is Jersey – the JAX-RS (JSR-331) reference implementation. I’ve been using it in anger for about a month now, and thought I’d write up some thoughts I had about it.
Gotcha with Struts/WebLogic and forwarding multi-part requests
Turns out that, with Struts 1.1. at least, this can be a bad thing to do. Why? You lose the parameters on the request.
Follow-up on IoC with Struts
Don Brown made a very good point about a gotcha with the IoC technique I demonstrated with Struts: it’s potentially not threadsafe.
Roll-Your-Own IoC with Struts
IoC, aka dependency injection, is the current trend. The idea is simple: create your normal class, and rather than going and fetching things you might want (like datasources, factories, and so on), get them given to you instead. This greatly facilitates things like unit testing, because you’ve got a lot less dependencies to set up.
Struts [...]
Why some web frameworks don’t distinguish between GET and POST
Daniel Hinojosa asks What the hell ever happened to doGet() and doPost()
Web Application Design Principle #1
There’s a fundamental design principle with web-based applications that constantly amazes me people forget. It’s a simple one, too.
Web applications are inherently stateless