The Expert's Voice in Java - Kishori Sharan - Beginning Java 8 APIs, Extensions and Libraries


The Expert's Voice in Java - Kishori Sharan - Beginning Java 8 APIs, Extensions and Libraries

Beginning Java 8 APIs, Extensions and Libraries

Год: 2014

Автор: Kishori Sharan

Издательство: Apress

ISBN: 978-1-4302-6662-4

Язык: Английский

Формат: PDF

Качество: Изначально компьютерное (eBook)

Интерактивное оглавление: Да

Серия: The Expert's Voice in Java

Количество страниц: 796

Описание: eginning Java 8 APIs, Extensions and Libraries completes the Apress learning Java journey and is a comprehensive approach to learning the Java programming language extensions and available APIs and libraries, including the new JavaFX APIs.

This book covers the key extensions of the Java programming language such as Swing, JavaFX, network programming, and JDBC. Each topic starts with a discussion of the topic's background. A step-by-step process, with small snippets of Java code, provides easy-to-follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided. This book contains over 130 images and diagrams to help you visualize and better understand the topics. More than 130 complete programs allow you to practice and quickly learn the topics.

The Swing chapters discuss various aspects of working with a GUI, from the very basic concepts of developing a Swing application, to the most advanced topics, such as decorating a Swing component with a JLayer, drag-and-drop features, Synth Skinnable L&F, etc.

The chapter on network programming covers the basics of network technologies first, and then, the advanced topics of network programming, using a Java class library. It covers IPv4 and IPv6, addressing schemes, subnetting, supernetting, multicasting, TCP/IP sockets, UPD sockets, asynchronous socket I/O, etc.

The chapter on JDBC provides the details of connecting and working with databases such as Oracle, SQL Server, MySQL, DB2, Java DB (Apache Derby), Sybase, Adaptive Server Anywhere, etc. It contains a complete discussion on processing a ResultSet and a RowSet. It discusses how to use the RowSetFactory, to obtain a RowSet object of a specific type. Working with Large Objects (LOBs), such as Blob, Clob, and NClob, is covered in detail with Java code examples and database scripts.

What you’ll learn

- How to extend your Java skills beyond the fundamental object oriented concepts and core language features

- How to apply Java Swing for building Java front ends or user interfaces (UIs)

- How to build small Java applications called applets

- How to do Java network programming

- How to connect with databases using JDBC APIs

- How to work with JavaFX, RMI (Remote Method Invocation), and JNI (Java Native Interface)

- How to use scripting in Java, including coverage of the Nashorn engine

About the Author xxi

About the Technical Reviewer xxiii

Acknowledgments xxv

Foreword xxvii

Introduction xxix

Chapter 1: Introduction to Swing 1

Chapter 2: Swing Components 81

Chapter 3: Advanced Swing 195

Chapter 4: Applets 249

Chapter 5: Network Programming 293

Chapter 6: JDBC API 385

Chapter 7: Java Remote Method Invocation 525

Chapter 8: Java Native Interface 549

Chapter 9: Introduction to JavaFX 591

Chapter 10: Scripting in Java 677

Index 759

Опубликовано группой