Register your product to gain access to bonus material or receive a coupon.
Lets instructors present object-oriented concepts in a graphical context.
Allows students to assess their understanding of the material.
Shows students how programmers differ from software engineers.
Designed for Java programmers with previous experience, this book provides a clear and concise presentation on all programming aspects of Java. Java expert Doug Lyon shows programmers how to further explore the high-tech Java frontier with comprehensive coverage of advanced Java topics.KEY TOPICS: This tour de force overview of Java's advanced features includes exceptions, nested classes, threads, networking, JDBC networking, JSP, XML, Beans, EJB, EJB Security and RMI. MARKET: For experienced computer programmers and software engineers.
1. The HTML Model vs. the Java Model.
Objectives. What is Java? The HTTP model versus the Java Model. Summary Exercises.
Running Java Under Unix. Running Java Under Windows. IDE Usage. Summary. Exercises.
The Three Kinds of Documentation. The Software Architect. Object-Oriented Design. Procedural Design. Flow Charts. Combining Procedural and Object-Oriented Design. Software Life-Cycle Models. Summary Exercises.
Introduction to UML. Static and Dynamic Characteristics. User Requirements. Use Case Diagram. Object Diagram. Class Diagram. Collaboration Diagram. Sequence Diagram. Statechart Diagram. Summary. Exercises.
The 8 Primitive Data Types in Java. Signed Fixed Point Data Types. Simple Arithmetic Expressions. Elementary Examples of Primitive Data Types. Casting Primitive Data Types. Some Math Methods. Summary. Exercises.
Precedence, Associativity, and Unary/Binary Classification. Highest Order of Precedence.Operators. Increment and Decrement Operators. Arithmetic Operators. Assignment Operators. Modified Backus Naur Form for Operators. Exercises.
Relational Operators. Equality Operators. Boolean Operators. Conditional Operator. If. While and do Statements. Switch. For Continue. Break. Return Exercises.
Class Concepts. Constructors. Getter and Setter Methods. Null. Subclassing and Super. Casting. Instanceof, How do I tell the Type? Interfaces. Data-centered Object Oriented Design. The Fragile Base Class Program. Hoe to Add a File in Java. Summary. Exercises.
Static Methods. Static Variables. Abstract Classes and Methods. The Final Modifier and Named Constants. Final Classes and Methods. The Singleton Pattern Summary. Exercises.
Arrays. Vectors. Building a Shopping Cart. A Stack. A List. Summary. Exercises.
Form of Numbering Systems. Common Computer Numbering Systems. Convertying From Binary, Octal, and Hexadecimal to Decimal. Converting From Decimal to Binary, Octal, and Hexadecimal. Bitwise Operator. Complement Operator. And, Or, XOR Operators. Shift Operators. Summary. Exercises.
Wrapper Classes. Strings. Replacestring. Stringtokenizers. The Csvparser. The Maze Solver. Summary. Exercises.
Generating Your First Exception. Intercepting the Run-time Error. Defining Your Own Exception. Checked and Unchecked Exceptions. The MBNF for the Try Statement. Throw and Throws. Public Safety and Exceptions. Summary. Exercises.
Packages. Imports. Visibility Modifiers. Summary. Exercises.
The Member Inner Class. The Local Inner Class. The Anonymous Inner Class. The Newsted Static Class. The Nested Interface. This. Summary. Exercises.
Concurrency, Multy-tasking, and Multy-Threading. Making a new Thread. Thread States. Synchronized and too Much Beer. Thread Groups. The Thread Manager. Thread Util. The Thread Queue. Running Thousands of Threads. The Poor Mans' Thread. The Job Thread. Summary. Exercises.
ReaderUtils. The Dialog Class. The FileDialog Class. Futil Helper Methods. The File Class. Class Summary. Class Usage. The FilenameFilter. Interface. Class Summary. Class Usage. DirFilter. The FileFilter Class. The WildFilter Class. The Ls Class. Ls getWildNames. Ls wildToConsole. Ls GetDirName. Ls DeleteWildFile. Dir Lister. Reading In a CSV File. The Cat toConsole Method. The DOS Class. Dial D for Dos. Summary. Exercises.
Getting a File Name for Output. The Simple Writer. HTML2Links. The Cat Class. Futil MakeTocHtml. Summary. Exercises.
The File Input Stream Class. The File Output Stream Class. The Data Input Stream Class. The Data Output Stream Class. The Stream Sniffer Class. The Stream Tokenizer. Serialization. Reading and Writing GZIPed Files of Floats. Exercises.
Abstract Window Toolkit (AWT). Basic Swing GUI. Heavy Weight vs. Light Weight. ClosableJFrame. AWT Events. The Run Button. The Grid Layout. The Run Text Field. The Run Check Box. The Run Password Field. The Run List. The Scrollbar and the Slider. The Run Radio. The Button Group and the Flow Layout. The Main Menu Bar and Run Check Box Menu Items. Run Radio Button Menu Item Groups. Panels and Frames and Flow Layout. Border Layout. The Controller Design Pattern. The Mediator Design Pattern. A Word About the Design Process And the Jtabbed Pane. The Screen Class. Summary. Exercises.
The Html Viewer. The Html Synthesizer. Summary. Exercises.
Getting All the Key-event Information. Programming Key Modifiers. Adding Key-events to Touch Tone. Mnemonics and the Run Menu Item. Mnemonic Menus. IO and Functional Programming Summary. Exercises.
The Mouse Controller. Combining Keyboard and Mouse Events. Moving and Scaling Components With the Mouse Component Mover. The Move Label. Summary. Exercises.
Reflect Util Gets Information About and Instance. Printing the Name of a Class. Printing an Array of Objects Println(Object o[]). Methods with N Args? Mutator Methods. Converting a String into a Method. Invoking a Method From a String. A Command Line Interpreter Using Reflection. Reflect Util Java.
Introduction. Delegation vs. Multiple Inheritance. Related Work. A Real Example. The Delegate Synthesiser. Conclusions. Exercises. Literature Cited.
The Graphics Class. The Color Class. The Font Metrics Class. Charts. Images. Summary.
The Spiral Class. Archimedes' Spiral. Fermats' Spiral Component Class. Exercises.
JDBC - What is it? Multi-tier models of computation. The Javasoft Framework. Opening a Connection to a FDBMS. Making an Instance of the SQL Statement. Result Set Meta Data. Data Base Meta Data. Code for the SQL Beam.
The OSI Reference Model. The Client-Server Paradigm. The Dns Class. The Webserver Class and Sockets. The Browser Class and URLs. The Quote Class. The Atomic Clock Class. Object Oriented Services. The Compute Server. Solving the Class Configuration Problem. Sending E-mail Using SMTP. Summary. Exercises.
Setting Up the Servlet Engine. Your First Servlet. Decoding the Echo Environment. Servlet. The Guest Book and 3 Tier Programming. SQL and the Execute Class. Server-side graphics. Get vs. Post and the Request Util Class. Cookiew and Sessions. Exercises.
What is JSP? Why JSP? How do you use JSP? The Cookie Counter, Comments and Page IMPORT. Sniffing out the Header in JSP, Util.jsp and <<jsp:expr>>. Sending Mail from JSP. Multi-media Server Pages (MSP). Charts in MSP. Building a Meta-Search Engine. Building a Fast Off-Line Meta-Search Enging. Building a Shopping Cart With Session Beans. Summary. Exercises.
What is XML? Why USE XML? How Do I Install XML Libraries? How Do I Define My own XML? How Do I install XML Lebraries? How do I Define My Own XML? Xml2Cart. Csv2XML. Displaying XML. Should I convert my RDBMS to XML? The Problems and Limitations of XML. Exercises.
Evolving XML. The SAX and DOM Models. Where JAXP Fits In. What's new in JAXP 1.1? Building a SAX 2.0 Application using JAXP. Building a DOM Level 2 Application Using JAXP. XML Namespaces. XML Schemas. Summary. Exercises.
History of the Problem. The Component. The Bean. The Event. The Properties. The Inverter Gate Example. The Inverter Gate Class. Code for the Inverter Gate Class. The Console Window Output. Explanation of the Console Window. Output. Explanation of the Console Window Display. Summary. Exercises.
History of Introspection. What is Introspection? Bean Info. Simple Bean Info. Naming Convention Introspection Exception. Summary. Exercises.
What Are Feature Descriptor? Feature Descriptor. Bean Descriptor. Event Set Descriptor. Method Descriptor. Parameter Descriptor Methods. Property Descriptor. Indexed Property Descriptor. Bean Info Example. Donsole Output Using Simple Bean Info. Console Output Not Using Simple Bean Info. Summary. Exercise.
EJBs and Server-side Architecture. Requirements for an Enterprise Server-side Architecture. Server-side Architecture Provides Multi-tier, Platform-Independent Applications. Competing Architectures. Resources. Summary. Exercises.
Introduction. Requirements for J2EE-compliant EJB Containers. Programming Restrictions for Enterprise Beans. Access to EJBs is Through Interfaces. Home Interface. Remote Interface. Four Components of an EJB Application. How Interfaces Are Used. EJB Function Call Sequence. EJBApplication Servers. Summary. Exercises.
Introduction. Stateless Session Beans. Stateful Session Beans. How to Write Session Beans. Summary. Exercises.
Introduction. Deploying the EJB. Start Server. Create the Application Add the Application Client. Deploy the Application. Run the Client. Run the EJB in a JSP. Summary. Exercises.
Introduction. Design Considerations. Structure Of An Entity Bean. Home Interface. Summary. Exercises.
Introduction. Security Guidelines. Security for an Enterprise Application. The EJB Security API. Summary. Exercises.