Java for Programmers

Java for Programmers

2.66 (3 ratings by Goodreads)
By (author) 

List price: US$86.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


For courses in intermediate or advanced Java.

Java for Programmers Intended for students or professionals with previous programming experience, this carefully class-tested book features client and server side Java, and coverage of design patterns and style. The modular organization allows readers and teachers maximum flexibility for learning, reference use, or teaching with tutorial Java language material being discrete from Java Library coverage and usage. The book includes coverage of key intermediate and advanced level topics, such as: Exceptions, Nested classes, threads, networking, design patterns, JDBC networking, JSP, XML, Beans, EJB, EJB Security and AMI. The book also includes optional, advanced, in-depth API and server side Java coverage.
show more

Product details

  • Paperback | 912 pages
  • 177 x 236 x 37mm | 1,291.99g
  • Pearson
  • United States
  • English
  • 0130478695
  • 9780130478696

Table of contents

1. The HTML Model vs. the Java Model.

Objectives. What is Java? The HTTP model versus the Java Model. Summary Exercises.

2. Set-up.

Running Java Under Unix. Running Java Under Windows. IDE Usage. Summary. Exercises.

3. Object-Oriented Design and Documentation.

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.

4 UML: Lingua Franca for Object-Oriented Design.

Introduction to UML. Static and Dynamic Characteristics. User Requirements. Use Case Diagram. Object Diagram. Class Diagram. Collaboration Diagram. Sequence Diagram. Statechart Diagram. Summary. Exercises.

5. Primitive Data Types.

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.

6 Operators.

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.

7. Control Structures.

Relational Operators. Equality Operators. Boolean Operators. Conditional Operator. If. While and do Statements. Switch. For Continue. Break. Return Exercises.

8. Reference Data Types.

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.

9. Static, Abstract and Final Modifiers.

Static Methods. Static Variables. Abstract Classes and Methods. The Final Modifier and Named Constants. Final Classes and Methods. The Singleton Pattern Summary. Exercises.

10. Container Classes and some Data Structures.

Arrays. Vectors. Building a Shopping Cart. A Stack. A List. Summary. Exercises.

11. Bit Operations and Radix Conversion.

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.

12. Important Reference Data Types.

Wrapper Classes. Strings. Replacestring. Stringtokenizers. The Csvparser. The Maze Solver. Summary. Exercises.

13. Exceptions.

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.

14. Reference Organization.

Packages. Imports. Visibility Modifiers. Summary. Exercises.

15. Nested Classes and Interfaces.

The Member Inner Class. The Local Inner Class. The Anonymous Inner Class. The Newsted Static Class. The Nested Interface. This. Summary. Exercises.

16. Threads.

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.

17. Readers and Files.

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.

18. Writers.

Getting a File Name for Output. The Simple Writer. HTML2Links. The Cat Class. Futil MakeTocHtml. Summary. Exercises.

19. Streams.

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.

20. Intro to Swing.

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.

21. Viewing HTML in Swing.

The Html Viewer. The Html Synthesizer. Summary. Exercises.

22. Using the Keyboard.

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.

23. Mouse Input.

The Mouse Controller. Combining Keyboard and Mouse Events. Moving and Scaling Components With the Mouse Component Mover. The Move Label. Summary. Exercises.

24. Reflection.

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.

25. Automatic Synthesis of Message Forwarding Code in Java.

Introduction. Delegation vs. Multiple Inheritance. Related Work. A Real Example. The Delegate Synthesiser. Conclusions. Exercises. Literature Cited.

26. Graphics.

The Graphics Class. The Color Class. The Font Metrics Class. Charts. Images. Summary.

27. Spiral Components.

The Spiral Class. Archimedes' Spiral. Fermats' Spiral Component Class. Exercises.

28. JDBC.

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.

29. Network Programming.

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.

30. Servlets.

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.

31. JSP.

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 . 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.

32. XML

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.

33. More XML Techniques.

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.

34. Bean Properties.

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.

35. Introspection.

History of Introspection. What is Introspection? Bean Info. Simple Bean Info. Naming Convention Introspection Exception. Summary. Exercises.

36. Feature Descriptors.

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.

37. Introduction to Enterprise Java Beans.

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.

38. EJB Container.

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.

39. Session Beans.

Introduction. Stateless Session Beans. Stateful Session Beans. How to Write Session Beans. Summary. Exercises.

40. Session Bean Deployment.

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.

41. Entity Beans.

Introduction. Design Considerations. Structure Of An Entity Bean. Home Interface. Summary. Exercises.

42. EJB Security.

Introduction. Security Guidelines. Security for an Enterprise Application. The EJB Security API. Summary. Exercises.

Literature Cited.


B. Java: The Good, the Bad and the Ugly.

C. Readability.

D. Learning to Use Javadoc.

E. Glossary.
show more

Rating details

3 ratings
2.66 out of 5 stars
5 0% (0)
4 0% (0)
3 67% (2)
2 33% (1)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X