August 2001
Intermediate to advanced
400 pages
9h 28m
English
This appendix provides working examples of SQLJ being used in three types of common Java deployment scenarios: an applet, a servlet, and a JavaServer Pages (JSP) file. I demonstrate how each of these can contain SQLJ statements. The example files are available for download from this book's web site.
For performance reasons, you may not necessarily want to add SQLJ to these types of Java programs, but I want to show how you can do so. A better approach, from a performance perspective, might be to add your SQLJ statements to Enterprise JavaBeans, as described in Chapter 6.
Read now
Unlock full access