Book Description:

This updated edition of Java in a Nutshell not only helps experienced Java programmers get the most out of Java versions 9 through 11, it’s also a learning path for new developers. Chock full of examples that demonstrate how to take complete advantage of modern Java APIs and development best practices, this thoroughly revised book includes new material on Java Concurrency Utilities.

The book’s first section provides a fast-paced, no-fluff introduction to the Java programming language and the core runtime aspects of the Java platform. The second section is a reference to core concepts and APIs that explains how to perform real programming work in the Java environment.

  • Get up to speed on language details, including Java 9-11 changes
  • Learn object-oriented programming, using basic Java syntax
  • Explore generics, enumerations, annotations, and lambda expressions
  • Understand basic techniques used in object-oriented design
  • Examine concurrency and memory, and how they’re intertwined
  • Work with Java collections and handle common data formats
  • Delve into Java’s latest I/O APIs, including asynchronous channels
  • Use Nashorn to execute JavaScript on the Java Virtual Machine
  • Become familiar with development tools in OpenJDK

Book Description:

Tony Gaddis’s accessible, step-by-step presentation helps beginning students understand the important details necessary to become skilled programmers at an introductory level. Gaddis motivates the study of both programming skills and the Java programming language by presenting all the details needed to understand the “how” and the “why”—but never losing sight of the fact that most beginners struggle with this material. His approach is both gradual and highly accessible, ensuring that students understand the logic behind developing high-quality programs.

Book Description:

* The concepts of AOP are presented independently of any particular implementation

* The book covers all 4 major existing tools for AOP: AspectJ, JBoss AOP, AspectWerkz, JAC

* The book covers the implementation of a technical aspect based on the Hibernate object/relational persistence framework, a J2EE application implemented with AspectJ, and applications of AOP in the domains of programming by contracts, program testing, and application management

Concurrency with RxJava, Reactor, and Akka Streams

Book Description:

Get an easy introduction to reactive streams in Java to handle concurrency, data streams, and the propagation of change in today’s applications. This compact book includes in-depth introductions to RxJava, Akka Streams, and Reactor, and integrates the latest related features from Java 9 and 11, as well as reactive streams programming with the Android SDK.

Reactive Streams in Java explains how to manage the exchange of stream data across an asynchronous boundary―passing elements on to another thread or thread-pool―while ensuring that the receiving side is not forced to buffer arbitrary amounts of data which can reduce application efficiency.  After reading and using this book, you’ll be proficient in programming reactive streams for Java in order to optimize application performance, and improve memory management and data exchanges.

What You Will Learn

  • Discover reactive streams and how to use them
  • Work with the latest features in Java 9 and Java 11
  • Apply reactive streams using RxJava
  • Program using Akka Streams
  • Carry out reactive streams programming in Android

Who This Book Is For

Experienced Java programmers.

With Examples in Java, Ruby, and C#

Book Description:

Dependency Injection is an in-depth guide to the current best practices forusing the Dependency Injection pattern-the key concept in Spring and therapidly-growing Google Guice. It explores Dependency Injection, sometimescalled Inversion of Control, in fine detail with numerous practical examples.Developers will learn to apply important techniques, focusing on their strengthsand limitations, with a particular emphasis on pitfalls, corner-cases, and bestpractices.

This book is written for developers and architects who want to understandDependency Injection and successfully leverage popular DI technologies such asSpring, Google Guice, PicoContainer, and many others. The book exploresmany small examples of anchor concepts and unfolds a larger example to showthe big picture.

Written primarily from a Java point-of-view, this book is appropriate for anydeveloper with a working knowledge of object-oriented programming in Java,Ruby, or C#.

Book Description:

In the classic style of Manning’s “In Action” series, NHibernate in Action shows.NET developers how to use the NHibernate Object/Relational Mapping tool.This book is a translation from Java to .NET, as well as an expansion, ofManning’s bestselling Hibernate in Action. All traces of Java have been carefullyreplaced by their .NET equivalents. The book shows how to implementcomplex business objects, and later teaches advanced techniques like cachingand session management. Readers will discover how to implement persistence ina .NET application, and how to configure NHibernate to specify the mappinginformation between business objects and database tables. Readers will also beintroduced to the internal architecture of NHibernate by progressively buildinga complete sample application using Agile methodologies.

An Authoritative Guide to Building Microservices, Web and Enterprise Applications, and Best Practices

Book Description:

Quickly and productively develop complex Spring applications and microservices out of the box, with minimal concern over things like configurations. This revised book will show you how to fully leverage the Spring Boot 2 technology and how to apply it to create enterprise ready applications that just work.  It will also cover what’s been added to the new Spring Boot 2 release, including Spring Framework 5 features like WebFlux, Security, Actuator and the new way to expose Metrics through Micrometer framework, and more.

This book is your authoritative hands-on practical guide for increasing your enterprise Java and cloud application productivity while decreasing development time. It’s a no nonsense guide with case studies of increasing complexity throughout the book. The author, a senior solutions architect and Principal Technical instructor with Pivotal, the company behind the Spring Framework, shares his experience, insights and first-hand knowledge about how Spring Boot technology works and best practices.

Pro Spring Boot 2 is an essential book for your Spring learning and reference library.

What You Will Learn

  • Configure and use Spring Boot
  • Use non-functional requirements with Spring Boot Actuator
  • Carry out web development with Spring Boot
  • Persistence with JDBC, JPA and NoSQL Databases
  • Messaging with JMS, RabbitMQ and WebSockets
  • Test and deploy with Spring Boot
  • A quick look at the Spring Cloud projects
  • Microservices and deployment to the Cloud
  • Extend Spring Boot by creating your own Spring Boot Starter and @Enable feature

Who This Book Is For

Experienced Spring and Java developers seeking increased productivity gains and decreased complexity and development time in their applications and software services.

Book Description:

The NetBeans Platform is the world’s only modular Swing application framework, used by very large organizations in mission-critical scenarios, such as at Boeing and Northrop Grumman, as well as in the financial sector and in the oil/gas industry. For these large customers in enterprises who are increasingly interested in Maven and OSGi, the book will have particular relevance.

The Definitive Guide to NetBeans™ Platform 7 is a thorough and authoritative introduction to the open-source NetBeans Platform, covering all its major APIs in detail, with relevant code examples used throughout.

  • Provides a completely updated definitive guide to the NetBeans Platform, using the latest APIs, coding patterns, and methodologies.
  • Focuses strongly on business features in an application, since Oracle’s customers are particularly interested in business-related aspects. For example, how to use OSGi, how to add authentication/security, how to monetize from a modular application.

The original German book on which this title is based was well received. The NetBeans Platform Community has put together this English translation, which covers the latest NetBeans Platform 7 APIs. With an introduction by known NetBeans Platform experts Jaroslav Tulach and Tim Boudreau, this is the most up-to-date book on this topic at the moment.

All NetBeans Platform developers will gain something from this book, because several topics in the book have not been documented anywhere else.

Document Processing for Java SE

Book Description:

Use this guide to master the XML metalanguage and JSON data format along with significant Java APIs for parsing and creating XML and JSON documents from the Java language. New in this edition is coverage of Jackson (a JSON processor for Java) and Oracle’s own Java API for JSON processing (JSON-P), which is a JSON processing API for Java EE that also can be used with Java SE. This new edition of Java XML and JSON also expands coverage of DOM and XSLT to include additional API content and useful examples.

All examples in this book have been tested under Java 11. In some cases, source code has been simplified to use Java 11’s var language feature. The first six chapters focus on XML along with the SAX, DOM, StAX, XPath, and XSLT APIs. The remaining six chapters focus on JSON along with the mJson, GSON, JsonPath, Jackson, and JSON-P APIs. Each chapter ends with select exercises designed to challenge your grasp of the chapter’s content. An appendix provides the answers to these exercises.

What You’ll Learn

  • Master the XML language
  • Create, validate, parse, and transform XML documents
  • Apply Java’s SAX, DOM, StAX, XPath, and XSLT APIs
  • Master the JSON format for serializing and transmitting data
  • Code against third-party APIs such as Jackson, mJson, Gson, JsonPath
  • Master Oracle’s JSON-P API in a Java SE context
Who This Book Is For

Intermediate and advanced Java programmers who are developing applications that must access data stored in XML or JSON documents. The book also targets developers wanting to understand the XML language and JSON data format.

Book Description:

This book covers the JavaOne award winning JasperReports tool at length. Written by JasperForge’s Teodor Danciu, Founder and Architect JasperReport, this authoritative book:

  • Shows the power that this open source Java reporting tool has and its ability to deliver rich content onto the screen, to the printer, or into PDF, HTML, XLS, CSV and XML files
  • Demonstrates how JasperReports can be used in a variety of Java-enabled applications, including Java EE or web applications, to generate dynamic content
  • Teaches you how to create page-oriented, ready-to-print documents in a simple and flexible manner

Book Description:

This expert-written book covers the open source Apache MyFaces project, which is the most popular implementation of JavaServer Faces, a Web framework put forth by Sun MicroSystems. The text introduces the basics of MyFaces and the JSF Standard and goes beyond fundamentals to provide a thorough understanding of the JSF lifecycle. Readers will learn how to build real-world AJAX components, and how to leverage Oracle ADF Faces components within applications. The book is an ideal reference for professional Java and Web developers looking to develop real world applications as it focuses on practical aspects such as scalability, design, optimization and configurability.

Book Description:

Discover the power of Java™ for developing applications today when you trust the engaging, hands-on approach in Farrell’s JAVA PROGRAMMING, 9E. Even if you’re a first-time programmer, JAVA PROGRAMMING can show you how to quickly start developing useful programs, all while still mastering the basic principles of structured and object-oriented programming. Unique, reader-friendly explanations and meaningful programming exercises emphasize business applications and game creation while useful debugging exercises and contemporary case problems further expand your understanding. Additional digital learning resources within MindTap provide interactive learning tools as well as coding IDE (Integrated Development Environment) labs for practicing and expanding your skills.

Book Description:

* Only source of non-vendor provided documentation on JBoss

* Focuses on JBoss from a J2EE developer’s perspective not a JBoss developer

* Provides step-by-step instructions as well as useful tricks and help on the JBoss feature set

Book Description:

When JUnit was first introduced a decade ago by Kent Beck and Erich Gamma, the Agile movement was in its infancy, “Test Driven Development” was unknown, and unit testing was just starting to move into the typical developer’s vocabulary. Today, most developers acknowledge the benefits of unit testing and rely on the increasingly sophisticated tools now available. The recently released JUnit 4.5 represents the state of the art in unit testing frameworks, and provides significant new features to improve the Java development process.

JUnit in Action, Second Edition is an up-to-date guide to unit testing Java applications (including Java EE applications) using the JUnit framework and its extensions. This book provides techniques for solving real-world problems such as testing AJAX applications, using mocks to achieve testing isolation, in-container testing for Java EE and database applications, and test automation.

Written to help readers exploit JUnit 4.5, the book covers recent innovations such as the new annotations that simplify test writing, improved exception handling, and the new assertion methods. You’ll also discover how to use JUnit extensions to test new application styles and frameworks including Ajax, OSGi, and HTML-based presentation layers.

Using a sample-driven approach, various unit testing strategies are covered, such as how to unit test EJBs, database applications, and web applications. Also addressed are testing strategies using freely available open source frameworks and tools, and how to unit test in isolation with Mock Objects. The book will also bring you up to speed on the latest thinking in TDD, BDD, Continuous Integration, and other practices related to unit testing.

Java Management Extensions

Book Description:

Get ready to plunge into the complete world of Jmx architecture—including the release of Jmx Remoting 1.2! Pro Jmx: Java Management Extensions features cutting-edge examples of Jmx integration with distributed applications, including sequence diagrams and real-world sample code.Author Jeff Hanson takes a top-down approach, starting from the highest level of detail and drilling down. In the process, he presents the Jmx architecture as a pluggable, services-oriented framework, and discusses how Jmx allows you to dynamically add, remove, and modify services at runtime. Hanson also provides in-depth discussions of Jmx notifications, event models, and messages.The book finishes up with real-world examples of Jmx in use, and features discussions of how Jmx is integrated with different management systems and how Jmx is used to expose these systems to the J2Ee environment.

Table of Contents

  1. Introducing Jmx
  2. The Three-Level Model: Instrumentation and Mbeans
  3. The Three-Level Model: Agents
  4. Mbean Servers
  5. Distributed Management System Design
  6. The Three-Level Model and Distributed Services
  7. Jmx Connectors
  8. Remote Lookup
  9. Jmx Clients
  10. Security
  11. Jmx in the Industry
  12. A Summary of Jmx

Book Description:

* This book is the 4th edition of a proven bestselling title

* Provides both a reference to the J2EE APIs plus best practices and design guidelines for using them appropriately.

Takes an 80:20 approach so as not to be too overarching, but will still be comprehensive and in-depth in its coverage of what is most important and useful to know

From Novice to Professional

Book Description:

After reading this book, you’ll be able to do a whole lot more. –Dirk Schreckmann, JavaRanch Sheriff and Journal Editor

Let Beginning JSP 2 be your guide as you begin using JSP. This comprehensive guide starts by steering you through your first JSP application. It reviews HTML, and provides you with a useful overview of JSP. You’ll then be ready to start learning one of the core techniques in JSP: pulling data from a database and working with that data.

When you’ve mastered this technique, you’ll be ready to branch out powerfully into other JSP topics: variables, scope, flow control, and code reuse for productive time management. Finally, the book shows you how you can use JSP with XML and gives you a taste of some advanced topics, including using Struts and the Model View Controller.

This book’s step-by-step examples explain the techniques behind the code. The authors include realistic scenarios wherever possible to build your knowledge and confidence in JSP. After reading this book, you’ll have the knowledge and skills to enter the web development and Java development industries. All you need to begin this journey is a basic understanding of HTML and Java.

Book Description:

Concurrent programming has become a required discipline for all programmers. Multi-core processors and the increasing demand for maximum performance and scalability in mission-critical applications have renewed interest in functional languages like Erlang that are designed to handle concurrent programming. Erlang, and the OTP platform, make it possible to deliver more robust applications that satisfy rigorous uptime and performance requirements.

Erlang and OTP in Action teaches you to apply Erlang’s message passing model for concurrent programming–a completely different way of tackling the problem of parallel programming from the more common multi-threaded approach. This book walks you through the practical considerations and steps of building systems in Erlang and integrating them with real-world C/C++, Java, and .NET applications. Unlike other books on the market, Erlang and OTP in Action offers a comprehensive view of how concurrency relates to SOA and web technologies.

This hands-on guide is perfect for readers just learning Erlang or for those who want to apply their theoretical knowledge of this powerful language. You’ll delve into the Erlang language and OTP runtime by building several progressively more interesting real-world distributed applications. Once you are competent in the fundamentals of Erlang, the book takes you on a deep dive into the process of designing complex software systems in Erlang.

Designing, Developing, and Deploying

Book Description:

Understand the key challenges and solutions around building microservices in the enterprise application environment. This book provides a comprehensive understanding of microservices architectural principles and how to use microservices in real-world scenarios.

Architectural challenges using microservices with service integration and API management are presented and you learn how to eliminate the use of centralized integration products such as the enterprise service bus (ESB) through the use of composite/integration microservices. Concepts in the book are supported with use cases, and emphasis is put on the reality that most of you are implementing in a “brownfield” environment in which you must implement microservices alongside legacy applications with minimal disruption to your business.

Microservices for the Enterprise covers state-of-the-art techniques around microservices messaging, service development and description, service discovery, governance, and data management technologies and guides you through the microservices design process. Also included is the importance of organizing services as core versus atomic, composite versus integration, and API versus edge, and how such organization helps to eliminate the use of a central ESB and expose services through an API gateway.
What You’ll Learn

  • Design and develop microservices architectures with confidence
  • Put into practice the most modern techniques around messaging technologies
  • Apply the Service Mesh pattern to overcome inter-service communication challenges
  • Apply battle-tested microservices security patterns to address real-world scenarios
  • Handle API management, decentralized data management, and observability
Who This Book Is For

Developers and DevOps engineers responsible for implementing applications around a microservices architecture, and architects and analysts who are designing such systems

With examples in Java

Book Description:

Microservices Patterns teaches enterprise developers and architects how to build applications with the microservice architecture. Rather than simply advocating for the use the microservice architecture, this clearly-written guide takes a balanced, pragmatic approach, exploring both the benefits and drawbacks.