Java 2 Enterprise Edition (J2EE) is a set of APIs (Application Programming Interfaces) produced by Sun Microsystems that define an architecture for developing Web based, multi-tiered, distributed applications using a set of Java related technologies. The two key APIs within J2EE are: EJB and JSP. This text presents JSP and EJB to the HTML-savvy Java programmer, with a caveat: any Java developer interested in developing multi-tiered distributed applications needs to know something about a range of J2EE (Java 2 Enterprise Edition) APIs. The first section of the book discusses J2EE in-depth, with special emphasis on where JSP and EJB fit in. The second section covers JavaServer Pages, including numerous JSP examples. The book provides the JSPs for the main application developed and dissected, a hotel booking application. The final part covers Enterprise JavaBeans. The bulk of this section is devoted to creating and analysing EJBs to work with the JSPs developed earlier in the book. By the end of the book, the hotel booking application is complete.