7. To be continued...
We have provided enough information in this document to get started with Java web programming. Some topics have only been touched upon and deserve further exploration:
- XML (eXtended Markup Language), CSS (Cascading Style Sheets), and XSL (eXtended Stylesheet Language)
We have touched on these topics, but much remains to be done. Together, they deserve a separate handout.
- JavaScript
We’ve used a few JavaScript scripts here and there that are executed by the browser, without ever going into detail about them. For example, we never went into detail about the JavaScript language. Due to lack of space and time. This language alone could also require a book of its own. We have included three significant JavaScript examples in the appendix, again without explaining them. Nevertheless, they are understandable simply by reading their comments and can serve as examples.
- JavaBeans, JSP Tags
We have shown how we can separate Java code and HTML code in a web application. The Java code is grouped into one or more servlets, and the HTML code into one or more JSP pages. However, in our examples, there were often a few lines of Java code remaining in the JSP pages. We can improve this by using components called JavaBeans and predefined JSP tags—or tags you create yourself ( —in the JSP pages. This aspect of JSP pages is not essential (we managed just fine without it in our realistic examples) but is nevertheless useful to know.
- Enterprise Java Beans (EJB)
EJBs are components provided by the containers in which servlets and JSP pages run. They provide "system" services that spare the developer from lengthy and difficult development work. The services provided by EJBs can cover the following areas: transactions, security, database connection pooling, ...
All these topics, not covered here, are excellently covered in the book "J2EE Programming" published by WROX and distributed by Eyrolles.