Monthly Archives: January 2013

git tags are so simple to use

After a session with git and a browser as a means of presenting the results I’ve been so much carried away that I felt a need to demo it. And here it comes – a screencast “git tags are so simple to use”. It’s a very short, 4-minute screencast in which I’m practicing git tags […]

Tools Tagged 1 Comment

Use cases for else with HttpServletRequest.authenticate in Java EE 6?

There are a few security methods added to javax.servlet.http.HttpServletRequest in Java Servlet 3.0 (part of Java EE 6) – login, logout and authenticate. Let’s focus on the latter – HttpServletRequest.html#authenticate(HttpServletResponse response). Have a look at the following servlet and explain how it’s supposed to work and why. package pl.japila.javaee6; import; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; […]

Java EE, WebSphere Leave a comment

About Functional Web Architecture (with Ring and Compojure) by James Reeves

SkillsMatter has published the Functional Web Architecture talk by James Reeves some time ago, but it was only today when I found a few spare cycles to sink into it. I’ve been working with Ring for quite some time yet explaining how handlers/middleware work has never been easy. James speaks about Ring’s handlers and middleware, […]

Languages Tagged Leave a comment

IBM WebSphere Application Server/8.0 when ServletContext#getServerInfo() called in

What would you expect when the following servlet runs on IBM WebSphere Application Server package pl.japila.javaee6; import; import; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/authenticate") public class AuthenticateServlet extends HttpServlet {     private static final long serialVersionUID = 1L;     protected void doGet(HttpServletRequest request, HttpServletResponse response) […]

Java EE, WebSphere Tagged Leave a comment

Single pull request can make a difference in your learning of Clojure

It did for me a few times already. Learning a new programming language involves many techniques to become proficient in its use – reading books, katas, reading others’ source code and finally using the language on a daily basis, hopefully in a commercial project with other geeks who’re already familiar with the concepts and can […]

Languages Tagged 6 Comments