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.
The eBook covers
Java Persistence with JBoss
Hibernate
Hibernate Search
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 tutorial This 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-09JSF - Primeros pasos con JavaServer Faces usando Eclipse Este 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-09JSF 2 - evaluation and test Detailed evaluation and test of JSF 2Date: 10-11-09Primeros pasos usando struts y eclipse Esta tutorial explicará los primeros pasos usando los struts de Apache como framework para internet y eclipse como ambiente de desarrollo.Date: 28-01-09Struts 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:radioDate: 06-02-09Struts 1 - Form Bean Overview Tutorial An overview over different types of form beans provided by Struts.Date: 28-01-09Tapestry webframework - evaluation and test Detailed test of the Tapestry 5 web frameworkDate: 13-09-09The Web Framework Evaluation - Comparison - Test - Part 01 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 10-11-09The Web Framework Evaluation - Part 02 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Part 03 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Part 04 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Part 05 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Part 06 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Part 07 Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Part 9 - Appendix Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 09-02-09The Web Framework Evaluation - Summary Very detailed article on evaluation and testing of web framework. On more than 40 pages, a wide choice of technologies is covered.Date: 14-08-09The Web Framework Evaluation - Testing Stripes Framework Very detailed article on evaluation and testing of the Java based web framework Stripes.Date: 23-04-09Struts ActionForm working example Short description and working example of an Struts Action form. Source code is provided.Date: 12-12-07What 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-07JSF - First Java Server Faces Tutorial This 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-09BeanValidatorForm working example Short description and working example of an Struts BeanValidatorForm. Source code is provided.Date: 12-12-07DynaValidatorActionForm with example application This tutorial explains how to use the form bean DynaValidatorActionForm using a short example application.Date: 12-12-07DynaValidatorForm working example tutorial Short description and working example of an Struts DynaValidatorForm. Source code is provided.Date: 12-12-07First Struts Tutorial First Struts Tutorial showing how to create a basic struts application: showing a list, creating, editing and deleting entries.Date: 12-12-07First 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-07JSF - JavaServer Faces Navigation Tutorial This 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 nDate: 28-01-09LazyValidatorForm working example Short description and working example of an Struts LazyValidatorForm. Source code is provided.Date: 12-12-07Struts DynaActionForm working example Short description and working example of an Struts DynaActionForm. Source code is provided.Date: 12-12-07ValidatorActionForm using an example application This tutorial explains the usage of the Struts form bean ValidatorActionForm using a working example.Date: 12-12-07ValidatorForm working example Short description and working example of an Struts ValidatorForm. Source code is provided.Date: 12-12-07Struts Message Resources This 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 ClassesDate: 12-12-07Struts form validation and error handling Struts 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-07Struts Multi Page Form This 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-07Struts nested iterations Since 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-07Struts Paging This 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-07JSF - JavaServer Faces - Converter Tutorial This 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-09JSF - JavaServer Faces - Validation & Error Handling This 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-09Struts Tiles Tutorial Struts tiles Tutorial with a small example application. Tiles basics are explained.Date: 12-12-07JSF - JavaServer Faces - Developing custom converters This 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-09Integration of Struts and EJB Using a small library application we show step by step how to integrate Struts and EJB.Date: 12-12-07JSF - JavaServer Faces - Message Resources This tutorial explains the internationalization of a web application using JSF message resource bundle.Date: 06-02-09Struts Hibernate Integration In 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-07Visual Struts development tutorial using MyEclipse This 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-07Mapping use cases to Struts This 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-07Struts Dynamic Forms Tutorial 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 ArrayIndexOutOfBoundsExceptionDate: 12-12-07Web project with eclipse, JBOSS application serv and the jboss IDE This Tutorial explains the creation and deployment of web project to jboss. We use the free eclipse plugin ?JBOSS IDE?.Date: 28-01-09First Java Servlets and JSP Tutorial We 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 JBoss First EJB 3 Tutorial explaining Ant and showing how to create a session and entity beans with annotations and JBoss.Date: 28-08-06EJB 3 Struts Tutorial with JBoss EJB 3 Struts Tutorial create step by step a web application with Struts, JBoss and EBJ 3Date: 28-08-06EJB 3 Tutorial with JBoss First EJB 3 Tutorial showing a session and entity beans with annotations and JBoss.Date: 28-08-06Spring DAO with JBDC This 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-09EJB 2 - Finder Methods Extensive 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-09Hibernate Search with Lucene The article introduces how to use Lucene full text search together with Hibernate. It gives an outlook on advanced features.Date: 28-01-09Performance Tuning Tips for Hibernate and Java Persistence This article explains a number of performance tuning tips for Hibernate and Java Persistence with JBoss.Date: 13-02-09Java Database Development In 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-06Struts Hibernate Integration In 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-09EJB 2 - Entity EJB with xDoclet, MyEclipse, JBoss and PostgreSql Creation and testing of a first Entity Bean using MyEcplise, Jboss, PostgreSQL, MySQL and xDoclet.Date: 28-01-09EJB 2 - CMP relations Creating two EJBs with a CMP managed relation. Tutorials simple EJB and session fascade are required! MyEclipse, PostgreSQL, Jboss are used.Date: 28-01-09EJB 2 - Complex Container Managed Relations (CMP) with JBoss In 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-09EJB 2 - Entity EJB on database view This 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-09Session Bean facade to an Entity EJB Creating a Session Bean as facade to an Entity EJB using xDoclet, Jboss, PostgreSQL and MyEclipseDate: 05-09-07What is Hibernate This 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-06First Hibernate example This 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 Applications This tutorial gives you an overview of how to use the debugging feature of eclipse to debug your web or Java projects.Date: 28-01-09Friendly Java Date API Introduces a library which provides a nice API to deal with Java DateDate: 13-02-09Java and JRuby working together I collected a number of issues and their solutions when working with JRubyDate: 09-02-09Java security in web application This 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-07Jboss as windows service Installation of Jboss as windows service on windows 2000 and windows XPDate: 28-01-09JQuery JSON Autocomplete library A library for input field autocompletion using JQuery and JSONDate: 02-09-09Log4j tutorial with Tomcat examples This 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-07Open Source Robin Hood License A license suitable for open source developers and friendly people.Date: 13-02-09Tips and tricks for eclipse and the plugin MyEclipse In this Tutorial we present tips and trick for the development enviroment eclipse and the extension MyEclipse.Date: 28-08-06Tomcat startup script for Linux Detailled description on how to write a complete but simple startup script for LinuxDate: 28-01-09Java Encyclopaedia First 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-06Eclipse Junit testing tutorial This 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-09MyEclipse CSS editor This paper describes the new and improved editors of MyEclipse for CSS files.Date: 29-08-06MyEclipse JavaScript editor This paper describes the new and improved editors of MyEclipse for JavaScript and CSS files.Date: 29-08-06Junit 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-09Junit 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)