Java for ColdFusion Developers
This is the book for teaching Java programming and web work to ColdFusion developers. Because it builds on what they already know, and contextualizes Java against the ColdFusion language, this book gives them just what they need to understand Java technology, install and run a Java web server, write Java applications, and build and deploy JSPs.
- Paperback | 600 pages
- 178.8 x 235.2 x 26.4mm | 1,011.52g
- 07 Jan 2003
- Pearson Education (US)
- Prentice Hall
- Upper Saddle River, United States
Table of contents
Foreword. Acknowledgments. 1. Introduction. Why Java for ColdFusion Developers? Who This Book Is For. What This Book Is Not. Overview of Book Sections.2. Java Jump Start. The New ColdFusion Architecture. Benefits of Moving to the Java Technology Platform. The Java Platform. Gathering Your Tools. Anatomy of a Simple Java Program. Understanding the API. Exercise 1: Download and Install the SDK. Exercise 2: Using the API Documentation.3. Java Data Structures. Binary Overview. Data Types in ColdFusion. Data Types in Java. Primitive Data Types. Variable Assignment and Initialization. Operators. Overflow. Operator Precedence. Casts and Conversions. Java Standard Classes. What's Next.4. Programming Structures. Wrapper Classes. Strings. Loops. Arrays. Conditional Logic. Example Program: CheckerBoard.java. Example Program: Debt Calculator. Command Line Input. Using Methods: Toward Object-Oriented Programming. Visibility. Composition of the main Method. What's Next?5. Object-Oriented Application Design. Objects. Why Software Projects Fail. Software Development Processes. Case Study: Bookstore. Introduction to OOAD. Use Cases. Creating UML Diagrams. Class Diagrams. User Scenarios and Use-Case Diagrams. Collaboration Diagrams. Sequence Diagrams. Package Diagrams. Encapsulation. Inheritance. Software and Hollywood Movies. What's Next?6. IDEs. Macromedia Editor Changes and Java IDEs. Projects. Dreamweaver MX. Sun ONE Studio 3 (Forte for Java). Jbuilder. IntelliJ IDEA. Putting Your IDE to Work. What's Next.7. Objects and Classes. Packages. Documentation with JavaDoc. Field Defaults and Field Initializers. Polymorphism. Constructors. static Methods. The this Reference. Stack and Heap Memory. Putting Things Together. What's Next.8. Exceptions. Exceptions. What's Next.9. Advanced Object-Oriented Concepts. Inner Classes. Inheritance. Abstract Classes and Abstract Methods. Interfaces. Final. Reflection. What's Next?10. Extending ColdFusion with Java. Configure ColdFusion Server Settings for Java. Using . CFX Custom Tags. Applets. Using Applets with . Working with Browsers and the Java Plugin. Swing and AWT. What's Next?11. Collections and Regular Expressions. Synchronization and . ColdFusion Structures. Collections Overview. General Collections Methods. Collections Interfaces. Collection Classes. Lists. Sets. Maps. Using Regular Expressions. What's Next.12. JDBC. Using JDBC. Metadata. Transactions. Stored Procedures. Example GUI Application: Database Query Viewer. What's Next.13. Servlets and CFMX/ J2EE Integration. Using Java Technology to Create Web Sites. Compare ColdFusion and Java Web Technologies. ColdFusion MX J2EE Capabilities. Java Web Servers. Installing Tomcat. Configuring JSP Web Applications. Creating a Tomcat Web Application Manually. Servlets. A Database-Driven Authentication Servlet. ColdFusion MX and J2EE Integration. Configuring MySQL Database Server. What's Next? 436.14. JavaServer Pages. Overview of JSP. Scripting Elements. Directives. Actions. Model-View-Controller. Implicit Objects. Error Pages. JavaBeans. Sample Bean Application: Writing Dynamic XML. What's Next?15. JSP Custom Tags. Getting Started with Custom Tags. Writing a Simple Custom Tag. Importing a JSP Library in CFMX. Working with the JSTL. The web.xml File. JSP Satellite Developments. What's Next?16. J2EE Case Study: An E-commerce Site. Application Overview. Database. Setup. Root Application Files. Styles. WEB-INF. WEB-INF/classes/com/cybertrails/store. WEB-INF/classes/com/cybertrails/store/beans. WEB-INF/classes/com/cybertrails/store/tags. WEB-INF/classes/com/cybertrails/admin. WEB-INF/lib. WEB-INF/jstl10. What's Next?Appendix A. JSP 1.2 Reference. Comments. Directives. Standard Actions.Appendix B. API Reference. javax.servlet Interfaces, Classes, and Exceptions. JSP API for javax.servlet.jsp and java.servlet.jsp.tagext. javax.servlet. javax.servlet.http Interfaces and Classes.Appendix C. Glossary of Terms. Appendix D. Java Bookmarks. General Java. JSP and Servlets.Appendix E. Quick Reference. Checking Environment Variables. Setting CLASSPATH. Setting JAVA_HOME. Setting the PATH. Checking Current Version. Compiling and Running Programs. Primitive Data Types. Declaring and Initializing Variables. Class Definition. Constructors. Declaring Methods. Calling Methods. Overloading Methods. Overriding Methods. Package. Import. Inheritance. Defining and Implementing an Interface. Exceptions. Creating a .jar File. Creating the Proper Directory Structure for a Web Application. The Simplest Possible web.xml File. Creating a .war File.Index.
About Eben Hewitt
EBEN HEWITT, M.A., is a Macromedia Certified ColdFusion Developer and Web Development Manager at Cybertrails.com. He is a frequent columnist, author of Core ColdFusion 5 (Prentice Hall PTR), and creator of Eben Hewitt's ColdFusion Training Course: A Digital Seminar on CD-ROM (PTG Interactive). Every month, millions of people visit the ColdFusion and Java-based sites he has created.