Tag Archives: Tutorial

Tutorial: Authentication with Tomcat 6 using JNDI DataSourceRealm

Tutorial: Authentication with Tomcat 6 using JNDI DataSourceRealm

This article is a tutorial about how to implement an authentication mechanism in Apache Tomcat 6 by using a JNDI datasource for looking up users, their passwords and roles. It shows how to prepare Tomcat 6 for using a so called DataSourceRealm and describes how web applications can be secured by a security realm. The [...]

Tutorial/How to: Using Spring’s context with Apache Axis

Tutorial/How to: Using Spring’s context with Apache Axis

The integration of Spring and its context into a JSP (Java Server Pages) based environment like JSP itself or JSF is supported pretty well. But the bridge between Spring and Apache Axis or even other Servlet based frameworks and libraries has often to be build by yourself. This article describes one possible method for integrating [...]

Tutorial: A slide about JCR

Tutorial: A slide about JCR

As I’m just working myself in to JCR and Apache Sling, I recently found a nice tutoring slide about JCR from Carsten Ziegeler.

JCR: Versioning and versionability

JCR: Versioning and versionability

JCR – the Java Content Repository – uses a versioning mechanism to create a history of content’s changes. Versioning means, that a node’s state can be saved for future recovery. Such a saved state is called a version. Saving a state is called checking in. This article is based on JSR-170 (JCR 1.0) and explains, [...]

A memo about JCR’s types and type management

A memo about JCR’s types and type management

JCR, the Java Content Repository, uses typisation for its repository items. This article describes the basic concepts of JCRs typisations, the relationships between nodes and properties and the administration and shapings of those types.

About JCR – Java Content Repository

About JCR – Java Content Repository

JCR, also known as Java Content Repository or Content Repository for Java Technology API, actually consists of two specifications: JSR-170 describing JCR 1.0 and JSR-283 describing JCR 2.0. Both standards are intended to access content repositories in an uniform manner. First, it was developed by Day Software, but then partially given to the Apache Software [...]

The capability to invoke custom validation methods

The capability to invoke custom validation methods

From now on, I offer you my validation framework in version 1.0.0.c. I hope this version will become the final release.