By Cay S. Horstmann, Gary Cornell

Totally up-to-date to mirror Java SE 7 language alterations, Core Java®, quantity II—Advanced beneficial properties, 9th Edition, is the definitive advisor to Java’s strongest beneficial properties for company and machine software development.

Designed for critical programmers, this trustworthy, independent, no-nonsense instructional illuminates complex Java language and library good points with completely proven code examples. As in past variants, all code is simple to appreciate and screens glossy best-practice strategies to the realworld demanding situations confronted via expert developers.

Volume II fast brings you up-to-speed on key Java SE 7 improvements, starting from the hot dossier I/O API to stronger concurrency utilities. All code examples are up-to-date to mirror those improvements. whole descriptions of latest language and platform good points are highlighted and built-in with insightful factors of complicated Java programming concepts. You’ll research all you want to construct strong construction software program with

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

For specific insurance of basic Java SE 7 gains, together with items, periods, inheritance, interfaces, mirrored image, occasions, exceptions, pics, Swing, generics, collections, concurrency, and debugging, search for middle Java™, quantity I—Fundamentals, 9th version (ISBN-13: 978-0-13-708189-9).

Show description

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

Best java books

Java Performance: The Definitive Guide

Coding and trying out are usually thought of separate parts of workmanship. during this entire consultant, writer and Java specialist Scott Oaks takes the technique that anybody who works with Java can be both adept at knowing how code behaves within the JVM, in addition to the tunings more likely to support its functionality.

Java in a Nutshell (6th Edition)

The newest version of Java in a Nutshell is designed to aid skilled Java programmers get the main out of Java 7 and eight, yet it's additionally a studying direction for brand new builders. Chock choked with examples that display the right way to take entire good thing about sleek Java APIs and improvement most sensible practices, the 1st element of this completely up-to-date ebook presents a fast paced, no-fluff creation to the Java programming language and the middle runtime features of the Java platform.

Invasive Software Composition

During the last 20 years, software program engineering has come some distance from object-based to object-oriented to component-based layout and improvement. Invasive software program composition is a brand new approach that unifies and extends fresh software program engineering strategies like frequent programming, aspect-oriented improvement, structure platforms, or subject-oriented improvement.

Cracking the Java Coding Interview

It's not that i am a recruiter. i'm a software program engineer. And as such, i do know what it really is wish to be requested to whip up magnificent algorithms instant, after which write faultless code on a whiteboard. i do know simply because i have been requested to do an analogous thing--in interviews at Google, Microsoft, Apple, and Amazon, between different businesses.

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

Example text

3 Message Bodies The JMS API defines five message body formats, also called message types, which allow you to send and to receive data in many different forms and provide compatibility with existing messaging formats. 2 describes these message types. String object (for example, the contents of an Extensible Markup Language file). MapMessage A set of name/value pairs, with names as String objects and values as primitive types in the Java programming language. The entries can be accessed sequentially by enumerator or randomly by name.

You can use the setPriority method of the MessageProducer interface to set the priority level for all messages sent by that producer. • You can use the long form of the send or the publish method to set the priority level for a specific message. The third argument sets the priority level. NON_PERSISTENT, 3, 10000); The ten levels of priority range from 0 (lowest) to 9 (highest). If you do not specify a priority level, the default level is 4. A JMS provider tries to deliver higher-priority messages before lower-priority ones but does not have to deliver messages in exact order of priority.

The most reliable way to produce a message is to send a PERSISTENT message within a transaction. JMS messages are PERSISTENT by default. A transaction is a unit of work into which you can group a series of operations, such as message sends and receives, so that the operations either all succeed or all fail. 2 on page 70. The most reliable way to consume a message is to do so within a transaction, either from a nontemporary queue—in the PTP messaging domain—or from a durable subscription—in the pub/sub messaging domain.

Download PDF sample

Rated 4.66 of 5 – based on 21 votes