Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Kishori Sharan

Rating No ratings yet

Beginning 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 topics 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

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical, example-driven tour of the Java 8 libraries that sit beyond core syntax—Swing, JavaFX, networking, JDBC, RMI, JNI, and Nashorn scripting—for developers who already know the language and now need to build real desktop, database, and network applications. 【Book Arc】 - **Opening (~0%–12%)**: Frames the book as the third volume in a three-book Java series and states its scope: Java extensions and APIs rather than core language fundamentals. - **Early (~13%–31%)**: Moves into the Swing material, starting from basic GUI concepts and component usage before advancing to richer Swing topics. - **Middle (~38%–63%)**: Continues through advanced Swing, applets, and then network programming—covering network fundamentals plus Java socket-level APIs. - **Late (~69%–88%)**: Shifts to database and systems integration: JDBC for connecting to and querying relational databases, followed by RMI and JNI. - **Ending (~94%–100%)**: Closes with JavaFX and scripting in Java (Nashorn), plus guidance on how different readers—beginners, intermediate developers, certification candidates, students—should approach the chapters. 【Key Takeaways】 - **This is a libraries-and-extensions book, not a language primer** (Opening): It assumes you already know Java fundamentals and focuses on APIs you use to build applications. Read the two companion volumes first if you are new to Java. - **Swing is treated as a full GUI stack** (Early): The chapters progress from basic Swing application structure and components to advanced topics such as decorating components with JLayer, drag-and-drop, and Synth skinnable look-and-feel. - **Network programming starts with concepts, then code** (Middle): The book explains networking basics—IPv4/IPv6, addressing, subnetting, supernetting, multicasting—before moving to TCP/IP sockets, UDP sockets, and asynchronous socket I/O. - **JDBC coverage is broad across databases** (Late): It shows how to connect to and work with Oracle, SQL Server, MySQL, DB2, Java DB (Apache Derby), Sybase, and Adaptive Server Anywhere. - **ResultSet and RowSet processing get detailed treatment** (Late): The JDBC material includes working with ResultSet, RowSet, RowSetFactory, and large objects such as Blob, Clob, and NClob, with code examples and database scripts. - **RMI and JNI extend Java beyond a single process or runtime** (Late): Remote Method Invocation and the Java Native Interface are covered as ways to integrate Java with remote objects and native code. - **JavaFX and Nashorn scripting represent the newer Java 8 surface** (Ending): JavaFX is introduced as the modern UI toolkit, and the Nashorn script engine added in Java 8 is covered in depth. - **Learning is reinforced by complete runnable programs** (Throughout): The book emphasizes step-by-step snippets followed by full programs, with many diagrams to make abstract APIs easier to visualize. 【Reading Tips】 - **Skim the front matter and chapter map first**: The table of contents gives you a clear menu; intermediate readers can jump directly to the API area they need. - **Deep-read the chapters that match your project**: Swing/JavaFX for desktop UI work, networking for socket-level development, JDBC for database-backed applications. - **Type and run the complete programs**: The book is designed around ready-to-run examples; passive reading will not build the same fluency. - **Treat networking and JDBC as the densest sections**: They combine conceptual background with API detail, so budget extra time and keep reference material nearby. - **Use the certification/student guidance selectively**: The introduction notes that certification candidates should read broadly, while students can focus only on syllabus-relevant chapters. 【Coverage Limits】 The excerpts provide the book’s scope, chapter list, and introductory guidance, but do not include detailed chapter content. Specific code examples, API explanations, and advanced techniques are therefore summarized at the topic level rather than at the level of individual classes or methods.
Excerpt 1
red 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...
View in text
Page 2
e Bookmarks and Contents at a Glance links to access them.
View in text
Page 2
Bookmarks and Contents at a Glance links to access them.
View in text
Page 2
kmarks and Contents at a Glance links to access them.
View in text
Excerpt 5
rks and Contents at a Glance links to access them. v Contents at a Glance About the Author xxi About the Technical Reviewer xxiii Acknowledgments xxv Forewor...
View in text
Page 4
vely, without having to read many books on the same subject. I wrote this book with the plan that it would be a comprehensive one-stop reference for everyone...
View in text
Page 5
a student, do not need to read the entire book page by page. How to Use This Book This book is the beginning, not the end, of gaining knowledge of the Java p...
View in text
Tags
AI categories
JavaProgramming LanguageSoftware
ISBN: 1430266619
Publisher: Apress
Publish Year: 2014
Language: English
Pages: 808
File Format: PDF
File Size: 9.2 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…