Tutorials for Hibernate, EJB 2, EJB 3
Struts, JavaServerfaces (JSF)
Tomcat, JBoss, Myeclipse, Eclipse and other

Tutorials and Articles

Sprache / Language

Navigation

Tutorial, Articles and eBooks

Welcome to the most popular page of my website.
You will find a large number of publications on Java and JRuby related technologies.

Where as the tutorials and articles are available for free, the eBooks are not for free.

I appreciate your feedback. Especially, if you found a mistake in an article.

Articles on everything related to the presentation layer of web applications.

The Web Framework Comparison (early 2009)

A large case study explaining the types of web frameworks today and what is the best framework for your requirements. Furthermore a heavy load test measures how fast and if the framework survives the real world

JavaServer Faces (JSF) tutorials

Tutorials about navigation, components, custom converter, ...

Struts Framework tutorials

More than a dozen of articles and tutorials

Servlets

Introduction to Servlet development

Java and JRuby

Articles on general Java and JRuby related things

Debugging and Testing

Unit testing of applications, EJB, Struts

Administration of JBoss and Tomcat

Startup script for Tomcat on Linux, JBoss configuration

Development Tools

Tips and hints on Java and JRuby related development environments, build tools, ...

eBooks and Paper books

eBooks are complete books provides as PDF. The main advantage compared to paper books are continuous updates to the eBook.

Hibernate and Java Persistence by Example

The eBook covers
  • Java Persistence with JBoss
  • Hibernate
  • Hibernate Search

 

Web framework evaluation - comparison - test

Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.

 

Articles covering technologies for the business layer of an application.

Articles on

Spring Framework

EJB 3

EJB 2

Articles on technologies used to build a database or persistence layer for your application.
  • Hibernate
  • Java Persistence with JBoss
  • Java Persistence with Glassfish and Oracle Toplink
A long list of Java stack traces and explanations how to solve the problem.

Table of Content

Web Technologies and Frameworks

First JBoss Seam tutorialThis tutorials shows how to setup a application using JBoss Seam, JSF and Facelets. I will show a configuration for Tomcat and the JBoss Application Server. Furthermore, you can learn how to use Maven to define the dependencies.
Date: 28-01-09
JSF - Primeros pasos con JavaServer Faces usando EclipseEste tutorial ayuda a dar los primeros pasos con el absolutamente nuevo framework JavaServer Faces (JSF). Una aplicación de ejemplo (una biblioteca) será creada paso a paso ilustrando los diferentes elementos del framework.
Date: 28-01-09
JSF 2 - evaluation and testDetailed evaluation and test of JSF 2
Date: 10-11-09
Primeros pasos usando struts y eclipseEsta tutorial explicará los primeros pasos usando los struts de Apache como framework para internet y eclipse como ambiente de desarrollo.
Date: 28-01-09
Struts 1 - Examples html:checkbox, html:multibox, html:select, html:option, ....Struts 1 - Examples for html:checkbox, html:multibox, html:select, html:option, html:options, html:optionscollection, html:radio
Date: 06-02-09
Struts 1 - Form Bean Overview TutorialAn overview over different types of form beans provided by Struts.
Date: 28-01-09
Tapestry webframework - evaluation and testDetailed test of the Tapestry 5 web framework
Date: 13-09-09
The Web Framework Evaluation - Comparison - Test - Part 01Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 10-11-09
The Web Framework Evaluation - Part 02Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Part 03Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Part 04Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Part 05Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Part 06Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Part 07Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Part 9 - AppendixVery detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 09-02-09
The Web Framework Evaluation - SummaryVery detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.
Date: 14-08-09
The Web Framework Evaluation - Testing Stripes FrameworkVery detailed article on evaluation and testing of the Java based web framework Stripes.
Date: 23-04-09
Struts ActionForm working exampleShort description and working example of an Struts Action form. Source code is provided.
Date: 12-12-07
What is Struts? Intro to a framework for web applications.Introduction how to develop web application and how you can easily map these requirements with struts. We want to provide you a understandable explanation for the Model-View-Controller Pattern.
Date: 12-12-07
JSF - First Java Server Faces TutorialThis tutorial facilitates the first steps with the quite new framework JavaServer Faces (JSF). Step by step an example application (a library) will be created, which illustrate the different elements of the framework.
Date: 28-01-09
BeanValidatorForm working exampleShort description and working example of an Struts BeanValidatorForm. Source code is provided.
Date: 12-12-07
DynaValidatorActionForm with example applicationThis tutorial explains how to use the form bean DynaValidatorActionForm using a short example application.
Date: 12-12-07
DynaValidatorForm working example tutorialShort description and working example of an Struts DynaValidatorForm. Source code is provided.
Date: 12-12-07
First Struts TutorialFirst Struts Tutorial showing how to create a basic struts application: showing a list, creating, editing and deleting entries.
Date: 12-12-07
First Struts Tutorial (free tools)This tutorial will explain first steps using the web framework Apache Struts and the development environment eclipse. We will create a simple example library application using tools like struts console, JBOSS IDE.
Date: 12-12-07
JSF - JavaServer Faces Navigation TutorialThis tutorial explain the navigation handling in JSF and shows the usage with an small example application. We will show multiple and complex examples for navigation rules. For examples navigation outcomes depending on application logic, actions, static n
Date: 28-01-09
LazyValidatorForm working exampleShort description and working example of an Struts LazyValidatorForm. Source code is provided.
Date: 12-12-07
Struts DynaActionForm working exampleShort description and working example of an Struts DynaActionForm. Source code is provided.
Date: 12-12-07
ValidatorActionForm using an example applicationThis tutorial explains the usage of the Struts form bean ValidatorActionForm using a working example.
Date: 12-12-07
ValidatorForm working exampleShort description and working example of an Struts ValidatorForm. Source code is provided.
Date: 12-12-07
Struts Message ResourcesThis tutorial explains the usage of struts message resources and shows with a working example how you can work with the message resources in JSP and Action Classes
Date: 12-12-07
Struts form validation and error handlingStruts provides options to validate form properties in two major modes, one is Java and the other is XML related. Another feature of Struts is error handling.
Date: 12-12-07
Struts Multi Page FormThis tutorial can help you creating multi page forms with struts. It explains two ways to create a multi page form and shows how you can execute different validations for each step of the multi page form.
Date: 12-12-07
Struts nested iterationsSince the version 1.1 of Struts, the tag library ?nested? is included in Struts. In this tutorial we want to explain what are the features of the new nested tag library and show some little examples how you can use it.
Date: 12-12-07
Struts PagingThis tutorial explain two ways topage through a list in struts. The first way works with normal struts tags and and the second with the really good display tag library.
Date: 12-12-07
JSF - JavaServer Faces - Converter TutorialThis tutorial explains the usage of converters in JSF. It shows how you can use standard converters step by step using an example application.
Date: 06-02-09
JSF - JavaServer Faces - Validation & Error HandlingThis tutorial explains the validation and the error handling in JSF and shows a step by step example application. The tutorials shows the standard validators but also the creation of custom validators.
Date: 28-01-09
Struts Tiles TutorialStruts tiles Tutorial with a small example application. Tiles basics are explained.
Date: 12-12-07
JSF - JavaServer Faces - Developing custom convertersThis tutorial explains how to develop your own converters. It shows the usage of own custom converter tags and overriding standard converter of basic types.
Date: 28-01-09
Integration of Struts and EJBUsing a small library application we show step by step how to integrate Struts and EJB.
Date: 12-12-07
JSF - JavaServer Faces - Message ResourcesThis tutorial explains the internationalization of a web application using JSF message resource bundle.
Date: 06-02-09
Struts Hibernate IntegrationIn this tutorial we will show how Struts and Hibernate can be used together. Though we explain some basic, you should try the introductionary tutorials first when you are a beginner.
Date: 12-12-07
Visual Struts development tutorial using MyEclipseThis tutorial explains the visual Struts development with the integrated struts config design mode of the MyEclipse enterprise workbench. We will show this really nice feature in details.
Date: 12-12-07
Mapping use cases to StrutsThis Tutorial illustrates how to map use cases from application logic to Struts. We will use the Struts config designer of MyEclipse to define the Struts configurations very fast. As sample application, we use a library.
Date: 12-12-07
Struts Dynamic FormsTutorial Dynamic Forms - Creating a input form with multiple lines where the number of lines depends on your business logic. Dynamic forms, struts and the java.lang.IndexOutOfBoundsException and ArrayIndexOutOfBoundsException
Date: 12-12-07
Web project with eclipse, JBOSS application serv and the jboss IDEThis Tutorial explains the creation and deployment of web project to jboss. We use the free eclipse plugin ?JBOSS IDE?.
Date: 28-01-09
First Java Servlets and JSP TutorialWe want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer Pages to display data (presentation) and the servlets as controller and for the the business logic.
Date: 28-01-09

Business Layer

EJB 3 Ant Tutorial with JBossFirst EJB 3 Tutorial explaining Ant and showing how to create a session and entity beans with annotations and JBoss.
Date: 28-08-06
EJB 3 Struts Tutorial with JBossEJB 3 Struts Tutorial create step by step a web application with Struts, JBoss and EBJ 3
Date: 28-08-06
EJB 3 Tutorial with JBossFirst EJB 3 Tutorial showing a session and entity beans with annotations and JBoss.
Date: 28-08-06
Spring DAO with JBDCThis tutorial explains how to implement the design pattern Data Access Objects (DAO) in Spring to access a Database with JDBC. Source code and working example is included.
Date: 28-01-09
EJB 2 - Finder MethodsExtensive Tutorial with lots of examples on creating ejb finder methods. (xDoclet, MyEclipse)
Date: 28-01-09

Database Layer

Hibernate annotation reference (German)
Date: 28-01-09
Hibernate Search with LuceneThe article introduces how to use Lucene full text search together with Hibernate. It gives an outlook on advanced features.
Date: 28-01-09
Performance Tuning Tips for Hibernate and Java PersistenceThis article explains a number of performance tuning tips for Hibernate and Java Persistence with JBoss.
Date: 13-02-09
Java Database DevelopmentIn this article I will explain why you should not develop in java as some people do it with perl or php. I will show you why it is useful to separate dababase and application logic and finally what technologies you may use.
Date: 28-08-06
Struts Hibernate IntegrationIn this tutorial we will show how Struts and Hibernate can be used together. Though we explain some basic, you should try the introductionary tutorials first when you are a beginner.
Date: 11-02-09
EJB 2 - Entity EJB with xDoclet, MyEclipse, JBoss and PostgreSqlCreation and testing of a first Entity Bean using MyEcplise, Jboss, PostgreSQL, MySQL and xDoclet.
Date: 28-01-09
EJB 2 - CMP relationsCreating two EJBs with a CMP managed relation.
Tutorials simple EJB and session fascade are required!
MyEclipse, PostgreSQL, Jboss are used.
Date: 28-01-09
EJB 2 - Complex Container Managed Relations (CMP) with JBossIn this tutorial you find examples to create CMP relations between entity EJBs. You will find nearly all combinations of 1:1 1:n and m:n relations. In addition, we provide an overview on one page for all types of relations.
Date: 28-01-09
EJB 2 - Entity EJB on database viewThis tutorial explain how you create an Entity EJB which shows a database view. The advantage is that you can achieve a very high performance as you can optimize your view query in SQL.
Date: 06-02-09
Session Bean facade to an Entity EJBCreating a Session Bean as facade to an Entity EJB using xDoclet, Jboss, PostgreSQL and MyEclipse
Date: 05-09-07
What is HibernateThis tutorial explains what Hibernate (Solution for Object Relational mapping) is and will show some examples why it is useful to use Hibernate.
Date: 29-08-06
First Hibernate exampleThis tutorial shows a simple example using Hibernate. We will create a simple Java application, showing how Hibernate works. (Eclipse, MySql or PostgreSql)
Date: 11-02-09

Other stuff, Java and JRuby

Debugging from JSP and Java ApplicationsThis tutorial gives you an overview of how to use the debugging feature of eclipse to debug your web or Java projects.
Date: 28-01-09
Friendly Java Date APIIntroduces a library which provides a nice API to deal with Java Date
Date: 13-02-09
Java and JRuby working togetherI collected a number of issues and their solutions when working with JRuby
Date: 09-02-09
Java security in web applicationThis article gives an overview about different attack mechanisms against Java web applications and J2EE applications. It introduces available security concepts in Java like JAAS and Sandbox security. Furthermore, security related design patterns.
Date: 06-03-07
Jboss as windows serviceInstallation of Jboss as windows service on windows 2000 and windows XP
Date: 28-01-09
JQuery JSON Autocomplete libraryA library for input field autocompletion using JQuery and JSON
Date: 02-09-09
Log4j tutorial with Tomcat examplesThis tutorial explains how to set up log4j with email, files and stdout. It compares XML to properties configuration files, shows how to change LogLevels for a running application. Furthermore, we explain best practices on logging and exception handling.
Date: 06-03-07
Open Source Robin Hood LicenseA license suitable for open source developers and friendly people.
Date: 13-02-09
Tips and tricks for eclipse and the plugin MyEclipseIn this Tutorial we present tips and trick for the development enviroment eclipse and the extension MyEclipse.
Date: 28-08-06
Tomcat startup script for LinuxDetailled description on how to write a complete but simple startup script for Linux
Date: 28-01-09
Java EncyclopaediaFirst pages of an encyclopaedia including javas common abbreviations and technolgies. We try to explain short and easily to understand the terms of the java world.
Date: 28-08-06
Eclipse Junit testing tutorialThis tutorial gives you an overview of the features of JUnit and shows a little example how you can write tests for your Java application using eclipse.
Date: 28-01-09
MyEclipse CSS editorThis paper describes the new and improved editors of MyEclipse for CSS files.
Date: 29-08-06
MyEclipse JavaScript editorThis paper describes the new and improved editors of MyEclipse for JavaScript and CSS files.
Date: 29-08-06
Junit Testing with Struts (StrutsTestCases extension)This tutorial gives you an overview about the StrutsTestCases extension of JUnit and example how you can use it to test your Struts application.
Date: 06-02-09
Junit Testing Enterprise Java Beans (EJB)This tutorial will demonstrate how to use Junit to unit test Enterprise JavaBeans.
Date: 28-01-09
News 
Devoxx 2009 Presentation (Nov. 18, 2009)
Window Id Browser Extension (Blog) (Nov. 13, 2009)
JSF 2 evaluation and test (Blog) (Nov. 10, 2009)
Devoxx presentation on Choosing Web Frameworks (Blog) (Sep. 17, 2009)
JQuery JSON autocomplete library (Blog) (Sep. 01, 2009)
Better Java application packaging - JSR 277 Java Module System (Blog) (Aug. 21, 2009)
Performance Tuning Tips for Hibernate and Java Persistence (Jan. 27, 2009)
Hibernate / Java Persistence eBook update (Jan. 27, 2009)
Hibernate Search with Lucene (Jan. 12, 2009)
Notes from the Devoxx Conference (Dec. 16, 2008)
Copyright (c) 2004-2009 by Sebastian Hennebrueder, laliluna.de Impressum