Core Java, Volume 2: Advanced Features (9th Edition) by Cay S. Horstmann, Gary Cornell

By Cay S. Horstmann, Gary Cornell

Absolutely up-to-date to mirror Java SE 7 language alterations, Core Java®, quantity II—Advanced gains, 9th Edition, is the definitive consultant to Java’s strongest positive aspects for firm and computer program development.

Designed for severe programmers, this trustworthy, impartial, no-nonsense educational illuminates complex Java language and library positive factors with completely established code examples. As in prior variants, all code is simple to appreciate and monitors glossy best-practice ideas to the realworld demanding situations confronted through expert developers.

Volume II fast brings you up-to-speed on key Java SE 7 improvements, starting from the recent dossier I/O API to greater concurrency utilities. All code examples are up to date to mirror those improvements. entire descriptions of latest language and platform positive aspects are highlighted and built-in with insightful factors of complex Java programming options. You’ll examine all you must construct strong construction software program with

  • Streams, records, and average expressions
  • XML
  • Networking
  • Database programming facilities
  • JNDI/LDAP listing integration
  • Internationalization
  • Advanced Swing techniques
  • JavaBeans components
  • Web services
  • Advanced platform defense features
  • Annotations
  • Distributed objects
  • Native equipment, and extra

For designated assurance of basic Java SE 7 beneficial properties, together with gadgets, periods, inheritance, interfaces, mirrored image, occasions, exceptions, photographs, Swing, generics, collections, concurrency, and debugging, search for center Java™, quantity I—Fundamentals, 9th version (ISBN-13: 978-0-13-708189-9).

Show description

Read or Download Core Java, Volume 2: Advanced Features (9th Edition) PDF

Best java books

Java 7 Concurrency Cookbook

Over 60 uncomplicated yet highly powerful recipes for gaining knowledge of multithreaded program improvement with Java 7
* grasp all that Java 7 has to provide for concurrent programming
* familiarize yourself with thread administration, the Fork/Join framework, concurrency periods and lots more and plenty extra during this publication and book
* a pragmatic Cookbook full of recipes for reaching crucial Java Concurrency projects

In element

Java is still the worldwide commonplace for constructing a variety of functions and company software program, and the release of Java 7 brings with it fascinating new services for concurrent programming when it comes to the concurrency utilities enhancement. this enables builders to utilize their functions with parallel job functionality. "Java 7 Concurrency Cookbook" covers all components of the Java concurrency API, offering crucial recipes for profiting from the fascinating new capabilities.

On your desktop, you could hearken to tune if you edit a observe rfile and skim your emails, unexpectedly! it's because your working process permits the concurrency of projects, very like the Java platform which bargains numerous sessions to execute concurrent projects within a Java application. "Java 7 Concurrency Cookbook" covers an important beneficial properties of the Java concurrency API, with designated emphasis at the new features of model 7.

With every one model, Java raises the to be had performance to facilitate improvement of concurrent courses. This ebook covers an important and worthwhile mechanisms integrated in model 7 of the Java concurrency API, so that you should be in a position to use them at once on your applications.

"Java 7 Concurrency Cookbook" comprises recipes to assist you in attaining every little thing from the elemental administration of threads and projects, to the hot Fork /Join framework, via synchronization mechanisms among projects, kinds of concurrent initiatives that Java can execute, facts constructions that needs to be utilized in concurrent purposes and the sessions of the library that may be customized.

With the step by step examples during this ebook you’ll manage to practice an important and worthwhile gains of the Java 7 concurrency API.

What will you study from this ebook
* grasp the fundamentals of thread administration and synchronization earlier than diving into greater point concurrency projects
* familiarize yourself with fascinating new concurrency positive factors of Java 7, together with the Phaser type and the Fork/Join Framework
* effectively delegate thread administration to executors
* customise essentially the most invaluable periods of the Java concurrency API with real-world examples
* learn how to use high-level Java utilities to regulate synchronization among threads
* Get a sneak peek at utilizing Eclipse and NetBeans for debugging concurrency code
* keep away from issues of facts inconsistency by way of studying the information constructions you'll want to use in concurrent functions
* make the most of an advantage appendix full of counsel that each programmer should still ponder whilst constructing a concurrent software


"Java 7 Concurrency Cookbook" is a pragmatic Cookbook jam-packed with real-world options. Intermediate–advanced point Java builders will study from task-based recipes to take advantage of Java’s concurrent API to application thread secure solutions.

Making Java Groovy


Making Java Groovy is a pragmatic instruction manual for builders who are looking to combination Groovy into their day by day paintings with Java. It starts off by means of introducing the most important changes among Java and Groovy—and how one can use them for your virtue. Then, it publications you step by step via reasonable improvement demanding situations, from internet purposes to net providers to computer functions, and exhibits how Groovy makes them more straightforward to place into production.

About this Book

You don't desire the whole strength of Java whilst you're writing a construct script, an easy method application, or a light-weight internet app—but that's the place Groovy shines brightest. This based JVM-based dynamic language extends and simplifies Java so that you can pay attention to the duty to hand rather than coping with minute info and pointless complexity.

Making Java Groov is a pragmatic advisor for builders who are looking to reap the benefits of Groovy of their paintings with Java. It starts off by means of introducing the most important changes among Java and Groovy and the way to take advantage of them in your virtue. Then, you'll specialise in the events you face each day, like eating and developing RESTful net companies, operating with databases, and utilizing the Spring framework. You'll additionally discover the good Groovy instruments for construct strategies, trying out, and deployment and how one can write Groovy-based domain-specific languages that simplify Java development.

Written for builders conversant in Java. No Groovy event required.

Purchase of the print ebook encompasses a loose booklet in PDF, Kindle, and ePub codecs from Manning Publications.

What's Inside
• more uncomplicated Java
• Closures, developers, and metaprogramming
• Gradle for builds, Spock for checking out
• Groovy frameworks like Grails and Griffon

About the Author

Ken Kousen is an autonomous advisor and coach focusing on Spring, Hibernate, Groovy, and Grails.

Table of Contents
<ol><h5>PART 1: in control WITH GROOVY</h5> • Why upload Groovy to Java?
• Groovy via instance
• Code-level integration
• utilizing Groovy positive factors in Java
<h5>PART 2: GROOVY TOOLS</h5> • construct methods
• checking out Groovy and Java initiatives
<h5>PART three: GROOVY within the genuine WORLD</h5> • The Spring framework
• Database entry
• RESTful internet prone
• development and checking out internet applications

Beginning Java Programming: The Object-Oriented Approach

A complete Java consultant, with samples, workouts, case reports, and step by step instructionBeginning Java Programming: the article orientated technique is an easy source for buying begun with one of many world's so much enduringly renowned programming languages. in line with sessions taught through the authors, the publication begins with the fundamentals and steadily builds into extra complex strategies.

Cocoon 2 Programming: Web Publishing with XML and Java

Due to the tireless efforts of open-source builders, Cocoon has speedy won visibility because the preeminent XML-based net publishing framework. regrettably, its documentation continues to be an important shortcoming. if you are new to Cocoon, gaining a feeling of precisely what you are able to do with it may be tricky, and truly getting began will be even tougher.

Extra info for Core Java, Volume 2: Advanced Features (9th Edition)

Example text

Chapter 2. Grammars This chapter describes the context-free grammars used in this specification to define the lexical and syntactic structure of a program. 1. Context-Free Grammars A context-free grammar consists of a number of productions. Each production has an abstract symbol called a nonterminal as its left-hand side, and a sequence of one or more nonterminal and terminal symbols as its right-hand side. For each grammar, the terminal symbols are drawn from a specified alphabet. Starting from a sentence consisting of a single distinguished nonterminal, called the goal symbol, a given context-free grammar specifies a language, namely, the set of possible sequences of terminal symbols that can result from repeatedly replacing any nonterminal in the sequence with a right-hand side of a production for which the nonterminal is the left-hand side.

The members of the JSR 133 Expert Group were Hans Boehm, Doug Lea, Tim Lindholm (co-chair), Bill Pugh (co-chair), Martin Trotter, and Jerry Schwarz. The primary technical authors of the memory model are Sarita Adve, Jeremy Manson, and Bill Pugh. The Java memory model chapter in this book is in fact almost entirely their work, with only editorial revisions. Joseph Bowbeer, David Holmes, Victor Luchangco, and Jan-Willem Maessen made significant contributions as well. Key sections dealing with finalization in Chapter 12 owe much to this work as well, and especially to Doug Lea.

Stroustrup, Bjarne. The C++ Progamming Language, 2nd ed. Addison-Wesley, Reading, Massachusetts, 1991, reprinted with corrections January 1994, ISBN 0-201-53992-6. Unicode Consortium, The. 0. Mountain View, CA, 2011, ISBN 978-1-936213-01-6. Chapter 2. Grammars This chapter describes the context-free grammars used in this specification to define the lexical and syntactic structure of a program. 1. Context-Free Grammars A context-free grammar consists of a number of productions. Each production has an abstract symbol called a nonterminal as its left-hand side, and a sequence of one or more nonterminal and terminal symbols as its right-hand side.

Download PDF sample

Rated 4.84 of 5 – based on 31 votes