Java 2 Developer Exam Cram 2 is the first Exam Cram to cover both
parts of this exam - the SCJD Programming Exam and the SCJD Essay Exam.
Together, the two SCJD exams measure the ability to develop complex,
production-level applications. The author develops a programming assignment and
maps the objectives for the essay exam. Readers preparing for this exam find the
best-selling Exam Cram 2 series to be the smartest, most efficient way to become
certified. CramSession, the #1 IT Certification website for materials and
resources on certification, gives the Exam Cram 2 series its seal of approval
for quality, and promotes the series on its website. Exam Cram 2 also features
PrepLogic Practice Tests!
Table of Contents
Introduction.
Self-Assessment.
1.
Certification Steps and Submission Grading.
Introduction. Software Project Management.
Download the Assignment. Concept Development.
Planning and Scheduling. Requirements Definition. Functional Design. Detail
Design. Programming. Testing. Installation and Acceptance. Documentation.
Packaging and Submission. Software Maintenance.
Submission Grading. Need to Know More?
2. Preparing Your Environment with J2SE 1.4.
Java Editions and Versions. Java Software
Development Kit. Installation Instructions.
Windows Installation Instructions. Solaris
Installation Instructions. Linux Installation Instructions.
Need to Know More?
3. Objectives and Deliverables.
Objectives.
GUI Design. Database. Networking. Database
Transparency. Design Choices.
Deliverables.
Source Code Files. The database.bin Database
File. Documentation. Deprecated Classes and Other Items.
Need to Know More?
4. Code Clarity.
General Principles. Naming Conventions. Code
Conventions.
Statements.
Code Structure.
Package Organization. File Organization.
Code Comments.
Javadoc.
Need to Know More?
5. Documentation and Javadoc Comments.
Javadoc Comments. The README.TXT File.
README FILE. TABLE OF CONTENTS. 1. Quick Start.
2. Introduction. 3. SDK Version and Platform. 4. Execution Instructions. 5.
Location of Data File. 6. Design Choices Document. 7. File Listing. 8. User
Documentation Web Pages.
Design Choices Document.
Super Bowl Reservation System Table of Contents.
1. Design Decisions. 2. Design Patterns Used.
User Help.
Javadoc Code Comments.
Need to Know More?
6. Application Analysis and Design.
Project Management.
Managing the Software Development Life Cycle.
The Software Management Project Plan.
Systems Analysis.
Requirements. Design.
Document Format. Need to Know More?
7. Database.
Locking Mechanism. Database Factory. The
DatabaseInterface Class. The Database Class. SQL.
The SELECT Statement. The WHERE Clause. The
ORDER BY Clause. The INSERT INTO Statement. The UPDATE Statement. The DELETE
Statement.
Database Vendors. Need to Know More?
8. What's New in J2SE 1.4.
Logging. Java XML Functionality. Assertions.
J2SE Collections.
The LinkedHashMap Class. The IdentityHashMap
Class.
Regular Expressions. Need to Know More?
9. Interfaces and Abstract Classes.
Overview of Interfaces. Abstract Classes.
Interfaces.
Interfaces Versus Abstract Classes. An Interface
Combined with an Abstract Class.
Need to Know More?
10. Threads and Concurrent Programming.
Understanding Threads. Synchronizing Threads.
Scheduling Threads. Need to Know More?
11. Networking with NIO.
Networking Overview. Building a Browser.
Interrogating a URL.
Using the URL Class. Working with Sockets.
Building a Multithreaded Server with Sockets. Building a Multithreaded Web
Server with Sockets. Need to Know More?
12. Remote Method Invocation.
Using RMI.
Building the RMI Application. Define the Value
Object. Define Remote Object Methods. Write the Remote Interface. Write the
Concrete Remote Class. Write the RMI Server. Write the Client That Invokes the
Remote Object. Compile the Classes. Run the RMI Interface Compiler. Run the
Application.
The java.rmi.Naming Class. Need to Know More?
13. The GUI.
The GUI.
Use Explicit Imports. Class Header. Application
Main Method. Class Constructor. Application Initialization. Button Click
Handler. Search Inner Class. Menu Handler.
Need to Know More?
14. The Swing Components and Event Handling.
Swing Overview. Design Pattern Architecture.
Look and Feel. Frames, Windows, and Panes. Dialog Boxes, Pop-Ups, and Choosers.
Layout Managers. Buttons and Labels. Progress Bars and Sliders. Menus and
Toolbars. Lists and Combo Boxes. Text Components. Event Handling. Need to Know
More?
15. The JTable Component.
MVC in the JTable. Creating a Simple JTable.
Table Model. JTable Techniques.
Setting Column Header Tool Tips. Using a
Scrollable JTable Component. Handling Cell Selections. Changing the Name of a
Column. Getting and Setting a Cell Value.
Need to Know More?
16. Design Patterns.
Design Patterns Defined.
Design Pattern Elements.
Patterns in Your Solution.
Decorator. Value Object. Data Access Object.
Business Delegate. Model-View-Controller (MVC). Front Controller.
Need to Know More?
17. Exception Handling.
Errors in Software. Testing. Managing Bugs. The
Throwable Class and Its Subclasses.
Errors. Exceptions. Custom Throwable Subclass.
Handling Errors and Exceptions.
The try-catch-finally Construction.
Exception Chaining. User Messages. Need to Know
More?
18. Packaging, Testing, and Submitting the Assignment Application.
File Structure of Your Project Submission. JAR
File. Building with Ant. Testing.
Cygwin. JUnit. Test Plan.
Submitting the Assignment. Need to Know More?
19. The Essay Exam.
The Exam's Purposes. The Questions. Preparation.
The Sample Essay Exam.
Exam Prep Questions. Answers to the Exam Prep
Questions.
Need to Know More?
Appendix A: UML Glance Card.
UML.
Standard Graphical Diagrams.
Need to Know More?
Appendix B: Documentation Standards.
Requirements Definition. Detail Design. Unit
Testing. Review the Contents Before Submission. Design Choices Document Guide.
Need to Know More?
Appendix C: Code Conventions.
Reasons for Code Conventions. Code Conventions
of Java Programs.
Comments and Formatting.
Convention Preferences.
Names. Indenting.
Need to Know More?
Appendix D: What's on the CD-ROM.
An Exclusive Electronic Version of Text.
Glossary.
Index.