Using the Jersey 1.0 client API to update a Twitter status
Jersey 1.0 is an open-source, implementation of JAX-RS, the Java API for RESTful Web Services (JSR-311). Jersey makes it easy to create RESTful web services using Java technology.
Attending Java...
Not so good exception handling at squarespace.com
I use SquareSpace.com for this blog and I am very pleased with the ease of use and service so far. It's also, as far as i know, Java based.
A couple of days back, I got an email warning me that they w...
Using Yahoo Pipes to keep everyone up to date
Yahoo pipes is a tool you can use to aggregate, manipulate, and mashup content from around the web. With the graphical user interface you can drag and drop inputs and operations into a designer, and ...
Getting started with JavaFX (in 30 minutes)
After hearing a lot of buzz about JavaFX, (and the upcoming "designer tool" demoed at Java One, scheduled for Q3/Q4), I decided to get my hands dirty with JavaFX. This is not a tutorial on JavaFX but ...
HttpOnly cookies in the Servlet 3.0 Specification
If a web application is voulnerable to XSS attacks, your cookies can easily get in the wrong hands. One of the more popular targets for XSS attracks is of course your session cookie. In wrong hands th...
About Eclipse and Tekken
Eclipse and TekkenThe keyboard shortcuts in eclipse are a bit like advanced Tekken combat moves, for those who aren't into computer games; Tekken is a very good fighting game for the Sony Play Station...
Working with JSF & MyFaces ; java.lang.IllegalStateException: Client-id : xxx is duplicated in the faces tree.
If you're working with JSF using Myfaces nad Tomahawk, and you are getting a stacktrace like this, you have probably just changed the internal structure of your JSP page. For some strange reason, that...
Poke 53281,0
I recently heard the "Last ninja 2" soundtrack in a breakfast show on a Norwegian radio show. One thing lead to the other, And before I knew anyting of it I had a c64 emulator installed. To my great a...
More on the BEA 8.1 Servlet Filter & RequestDispatcher issue
After doing some more research, it seems that the BEA developers found the Servlet 2.3 specification to be "ambigous", and decided to create an implementation that executes filters on both incoming ht...
The BEA 8.1 Servlet Container implementation is causing problems for Jakarta Struts applications using filters.
I just discovered some strange behavior in a struts based application that uses Hibernate, and a mechanism based on Thread local variables to hold Hibernate Sessions.Servlet filters are a great tool t...