Java SE8 for Programmers

Java SE8 for Programmers

2.3 3
by Paul Deitel, Harvey Deitel
     
 

View All Available Formats & Editions

The professional programmer’s Deitel® guide to Java™ SE 7 and SE 8 (Java 8) development with the powerful Java™ platform

¿

Written for programmers with a background in high-level language programming, this book applies the Deitel signature live-code approach to teaching programming and explores the Java™

Overview

The professional programmer’s Deitel® guide to Java™ SE 7 and SE 8 (Java 8) development with the powerful Java™ platform

¿

Written for programmers with a background in high-level language programming, this book applies the Deitel signature live-code approach to teaching programming and explores the Java™ language and Java™ APIs in depth. The book presents¿ concepts in the context of fully tested programs, complete with syntax shading, code highlighting, line-by-line code walkthroughs and program outputs. The book features hundreds of complete Java™ programs with thousands of lines of proven Java™ code, and hundreds of tips that will help you build robust applications.

¿

Start with an introduction to Java™ using an early classes and objects approach, then rapidly move on to more advanced topics, including GUI, graphics, exception handling, lambdas, streams, functional interfaces, object serialization, concurrency, generics, generic collections, JDBC™ and more. You’ll enjoy the Deitels’ classic treatment of object-oriented programming and the object-oriented design ATM case study, including a complete Java™ implementation. When you’re finished, you’ll have everything you need to build industrial-strength object-oriented¿¿ Java™ SE 7 and SE 8 (Java 8) applications.

¿

Practical, Example-Rich Coverage of:

• Java™ SE 7 and SE 8 (Java 8)

• Lambdas, Streams, Functional Interfaces with Default and Static Methods

• Classes, Objects, Encapsulation,¿ Inheritance, Polymorphism, Interfaces

• Swing and JavaFX GUIs; Graphics

• Integrated Exception Handling

• Files, Streams, Object Serialization

• Multithreading and Concurrency for Optimal Multi-Core Performance

• Generics and Generic Collections

• Database (JDBC™, SQL and JavaDB)

• Using the Debugger and the API Docs

• Industrial-Strength, Object-Oriented Design ATM Case Study and more.

¿

Visit www.deitel.com

• Download code examples

• For information on Deitel’s Dive Into® Series programming training courses delivered at organizations worldwide visit www.deitel.com/training or¿ write to deitel@deitel.com

• Join the Deitel social networking communities on Facebook® at¿ facebook.com/DeitelFan,¿ Twitter® @deitel, Google+™ at google.com/+DeitelFan,¿¿ LinkedIn® at bit.ly/DeitelLinkedIn, YouTube™ at¿ youtube.com/user/DeitelTV

• Subscribe to the Deitel® Buzz Online e-mail newsletter at¿ www.deitel.com/newsletter/ subscribe.html

¿

Editorial Reviews

From the Publisher

COMMENTS FROM RECENT EDITIONS REVIEWERS

“This book is amazing if you want to learn how to program in Java SE 8.”

—Jorge Vargas, Yumbling and a Java Champion

“Excellent introduction to functional programming with lambdas and streams.”

—Manfred Riem, Java Champion

“A great overview on how concurrency can help developers; it’s very readable and focuses on leveraging multi-core processors.”

—Johan Vos, LodgON and Java Champion

“Gives programmers the benefit of the wisdom derived from many years of software development experience.”

—Edward F. Gehringer, North Carolina State University

‘‘You’ll be well on your way to becoming a great Java programmer with this book.’’

—Peter Pilgrim, Java Champion, Consultant

‘‘Comprehensive introduction to Java, now in its eighth major iteration. With clear descriptions and useful tips and hints, this is a great book for studying the world’s most popular programming language. Introduces good design practices and methodologies right from the beginning. An excellent starting point for developing high-quality robust Java applications.’’

—Simon Ritter, Oracle Corporation

‘‘Provides a great jump-start on JavaFX, the successor to Swing. A very impressive treatment is given to many JavaFX concepts, from developing a simple application without writing any code, to developing an application that contains a variety of graphical user interface elements.’’

—James L. Weaver, Oracle Java Evangelist and author of Pro JavaFX 2

‘‘Fantastic book and reference. Provides great detail on the latest Java features including lambdas. The code examples make it easy to understand the concepts.’’

—Lance Andersen, Principal Member of the Technical Staff, Oracle Corporation

“Introduces JavaFX, the great new way to develop client applications in Java; I like the use of Scene Builder to create the GUI with drag-and-drop design rather than doing it by hand, which shows the way it should be done.”

—Simon Ritter, Oracle Corporation

“I like the DeckOfCards example [in the Arrays and ArrayLists chapter]. The evolving inheritance example is a good approach to motivating inheritance. I like the [polymorphism] employee example. Very thorough and well explained GUI chapter. Thorough strings chapter; I like the clear definitions of regular expressions. Good introduction to collections; Hashtable performance discussion was good. Solid treatment of threading.”

—Dr. Danny Coward, Oracle Corporation

“A great book with a myriad of examples from various application domains.”

—William E. Duncan, Louisiana State University

“Updated to reflect the state of the art in Java technologies; deep and crystal-clear explanations.”

—José Antonio González Seco, Parliament of Andalusia

“Very interesting and entertaining. Good job explaining arrays before the more abstract collections. Guiding the reader to avoid dangerous patterns is equally important as explaining the correct syntax; great work! Excellent introduction to object-oriented concepts; rather than just a theoretical overview, it points the reader to how OO is implemented. Great polymorphism chapter— should help the reader distinguish between abstract classes and Java 8 interfaces with default methods. Good discussion of analyzing stack traces, since exceptions provide useful debugging information. Great job explaining Java2D. Shows how easily files and the filesystem are accessible using Java. Very good introduction to hash tables. Pushing all lambda-related content in a single chapter is hard, but the authors succeeded; I like the way they show how lambda expressions compare to existing code with inner classes; they show that it’s the compiler that does the work. Great introduction to BigInteger and BigDecimal. One of the best explanations of generics I’ve read. Clearly explains collections, and when and how they should be used; it’s important that developers understand this, since choosing a wrong implementation can lead to massive performance penalties or hard-to-understand programs.”

—Johan Vos, LodgON and Java Champion

“An easy-to-read conversational style. Clear code examples propel readers to become proficient in Java.”

—Patty Kraft, San Diego State University

“The [early] introduction of the class concept is clearly presented. I applaud the authors for their topical research and illustrative examples.The clearest explanation of pass-by-value and pass-by-reference that I’ve encountered. A logical progression of inheritance and the rationale for properly implementing encapsulation in a system involving an inheritance hierarchy. The polymorphism and exception-handling discussions are the best I’ve seen. An excellent strings chapter.”

—Ric Heishman, George Mason University

“Of immense value to practitioners of the object-oriented approach. Demystifies inheritance and polymorphism, and illustrates their use in getting elegant, simple and maintainable code. The OO design case study presents the object-oriented approach in a simple manner, from requirements to Java code.”

—Vinod Varma, Astro Infotech Private Limited

“Easy-to-follow examples! OO design techniques are incorporated throughout. The concept of inheritance is built through examples and is very understandable. Great examples of polymorphism and interfaces. I appreciate the coverage of GUI threading issues.“

—Sue McFarland Metzger, Villanova University

“Most major concepts are illustrated by complete, annotated programs. JDBC is explained well.” —Shyamal Mitra, University of Texas at Austin

“A great reference for anyone working with Java. Good introduction to the software engineering process.” —Lance Andersen, Oracle Corporation

“Suitable for new programmers, intermediate-level programmers who want to hone their skills, and expert programmers who need a well organized reference. Event handling and layouts are well explained.”

—Manjeet Rege, Rochester Institute of Technology

“Comprehensive treatment of Java programming, covering both the latest version of the language and Java SE APIs.”

—Dr. Danny Coward, Oracle Corporation

“A nice illustration of how to use Java to generate impressive graphics.”

—Amr Sabry, Indiana University

“The OOD ATM case study puts many concepts from previous chapters together in a plan for a large program, showing the object-oriented design process—the discussion of inheritance and polymorphism is especially good as the authors integrate these into the design.”

—Susan Rodger, Duke University

“The transition from design to implementation is explained powerfully—the reader can easily understand the design issues and how to implement them in Java.”

—S. Sivakumar, Astro Infotech Private Limited

“If you think a 3rd edition is just going to be a repeat then you would not do this book justice. It has the breadth and depth to get a beginning Java programmer started, but at the same time it is a good companion for a more seasoned programmer who wants to get updated to the latest version of Java. Perfect introduction to strings. Good explanation of static vs. non-static methods and variables. Best introduction to Java 2D I’ve seen! The collections framework is well explained. A nice introduction to JavaFX.”

—Manfred Riem, Java Champion

“Clearly describes the use cases for different parts of the Java APIs. The tips and observations are very useful. Clearly explains opportunities and pitfalls in Java. Rather than telling the reader what to do and not do, the rationale behind these opportunities and pitfalls is explained. The new features introduced in Java 8 are well mixed with older functionality.”

—Johan Vos, LodgON and Java Champion

“Really good, clear explanation of object-oriented programming fundamentals. Excellent polymorphism chapter. Covers all the essentials of strings. Good to see things like try-with-resources and DirectoryStream being used. Excellent generic collections chapter. Covering lambdas and streams in one chapter is a tough challenge; you’ve done well. Concurrency chapter gives good coverage of numerous aspects.”

—Simon Ritter, Oracle Corporation

“GUI examples are very good. Graphics examples are easy to follow. The JavaFX GUI chapter provides a solid introduction to using the JavaFX Scene Builder, demonstrating how easy it is to create Java-based GUI applications.“

—Lance Andersen, Oracle Corporation

“Nice breadth of coverage of traditional core Java and programming topics as well as newer areas such as lambda expressions and areas becoming more critical such as concurrent programming. Very nice coverage of files, streams, object serialization and generics.”

—Evan Golub, University of Maryland

“The real-world examples can be used with Java SE 7 or 8; great case studies. The inheritance chapter is excellent; examples are gender neutral which is perfect.”

—Khallai Taylor, Triton College and Lonestar College-Kingwood

“Good approach to important concepts like static, accessors and private fields and their validation. [Classes and Objects: A Deeper Look] coverage is very interesting—I like how the book flows. Excellent explanations of Java SE 8 interfaces and exceptions.”

—Jorge Vargas, Yumbling and a Java Champion

Product Details

ISBN-13:
9780133891515
Publisher:
Pearson Education
Publication date:
03/29/2014
Series:
Deitel Developer Series
Sold by:
Barnes & Noble
Format:
NOOK Book
Pages:
1104
File size:
110 MB
Note:
This product may take a few minutes to download.

Meet the Author

Paul Deitel and Harvey Deitel are from Deitel & Associates, Inc., the internationally recognized programming languages authoring and corporate-training organization. Millions of people worldwide have used Deitel books, e-books, LiveLessons video training and online resource centers to master Java™, C++, Android™ app development, iOS® app development, C#, .NET, Visual Basic®,  Visual C++®, C, Internet and web programming, JavaScript®, XML, Perl®,  Python®, PHP and more.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Java SE8 for Programmers 1 out of 5 based on 0 ratings. 1 reviews.
Anonymous More than 1 year ago
Public Enemy Number 1. By &#167&#1108&#1026 (Seth)<p> Isaac Crane, a former agent of the TNS, sulked around the corner. He had watched as a big muscular man had investigated the accident of Kenneth Van Tassel. He watched as another man (Alex Springer), who was also muscular, with short brown hair, and eyes as blue as the sky, and a ta<_>ttoo of a bloody knife on his right bicep, handed a laptop to the man he decided to call Brawny for his muscled arms. Isaac watched watched as Brawneys eybrows scrunched together in concentration, then Brawny got up and jogged to his gr<_>ay van with the other guy following closely behind.<br> Isaac watched till the van rounded the corner and a cop car pulled up next to the wreck. He sprinted forward toward the cop car whipping his pi<_>stol out and sh<_>ot the cop in the head.<p> Ben drovethe van around the corner and got onto the highway driving for a while before he pulled into Ko'Olina, which is where the Di<_>sney resort is along with a bunch of other fancy expensive hotels. He slowed to a stop next to a security guard that stood inside a booth. Ben flashed his ID to the guard and then continued driving.<br> He drove two blocks down the main street befoe turning into the Ihilani's garage, parking between a silver Po<_>rche and a black Co<_>rvette. Ben and Alex got out of the van and got into the elevator. The elevator doors were just closing when a police car pulled into the garage.<p> Isaac drove the car he had taken from the police officer after he had sh<_>ot him. He stalked the gray van making sure not to get too close to it. When the gray van pulled up to the security gate, Isaac slowed the police car down so the people in the van couldnt see him. When the van drove off, Isaac drove up to the guard.<br> "ID please," the guard said in a bored tone.<br> Isaac searched in his backpack that was laying on the seat next to him and found what he was looking for.<br> "Um sir i need some-" thats as far as the guard got before Isaac shot him in the head with his silenced pi<_>stol.<br> Isaac pulled into te garage several seconds after the other two guys did. He parked the police car and walked to the elevator and got in.<br> "Hmm, twelve floors. Which one?" He muttered as he pulled his FPL (Finger Print Light) out and scanned the buttons. "Sixth floor seems to be the most resent i guess ill go with that."<p> Ben and Alex pulled open the door marked 613 just as the elevator opened behind them. Ben locked the door as Alex went to the control panel and typed a simple code consisting of three numbers, 613. Ben looked around at the room which was bare except for a bookshelf, and a sink so rusted it looked red. Alex closed the panel as the bookshelf slid across th wall revealing a hallway leading to the temporary head quarters of TNS.<p> More will be at the next result today. ~&#167&#1108&#1026