1. Excluding Pages From Authentication

    Java's Servlet spec allows web applications to delegate authentication and authorization to the servlet container, a mechanism known as container-based security. A lot of people use it for in-house applications or web services because it's simple and containers like Tomcat already provide several authentication backends to choose from. There's one …

    read more
  2. Enabling JMX Access on Tomcat

    I think every Java application in production should enable JMX access. Without JMX, there's little chance to debug JVM-level problems, especially those related to out of memory errors. Even if your application doesn't export its own MBeans for monitoring, you can still take advantage of those that come out of …

    read more
  3. Apache 2.2 and Digest Authentication

    A few weeks ago I wanted to enable digest authentication on an Apache 2.2 web server. I got basic authentication working within minutes, but I didn't want to send plain text passwords over the web, so how difficult could it be?

    I followed some tutorial on the net but …

    read more
  4. Saving Session Data in Web Applications

    There are many ways to store session data in web applications. They all differ in scalability, failover capabilities, and complexity. I'll give you a quick rundown on the major themes.

    Session Data on the Client

    You can often implement simple personalization features or workflows by storing state on the client …

    read more
  5. Professional Deployment and Operation of Web Applications

    There are millions of web applications on the Internet that are under constant development. Paying software developers to work on bug fixes and new features is quite expensive already, but what's often neglected is the cost for deployment and operation. Well-run organizations invest in their deployment and runtime infrastructure and …

    read more
  6. Why Do We Build Web Applications?

    Creating a good user interface is no trivial task, no matter if it's running as a desktop application or inside a browser. When it comes to accessing server-side resources (a common thing in the corporate world) web applications seem to be the first choice nowadays. You have complete control over …

    read more

social