Електронні книги
16705
Eлектронна книга

Java 9 Data Structures and Algorithms. A step-by-step guide to data structures and algorithms

Debasish Ray Chawdhuri

Java 9 Data Structures and Algorithms covers classical, functional, and reactive data structures, giving you the ability to understand computational complexity, solve problems, and write efficient code. This book is based on the Zero Bug Bounce milestone of Java 9.We start off with the basics of algorithms and data structures, helping you understand the fundamentals and measure complexity. From here, we introduce you to concepts such as arrays, linked lists, as well as abstract data types such as stacks and queues. Next, we’ll take you through the basics of functional programming while making sure you get used to thinking recursively.We provide plenty of examples along the way to help you understand each concept. You will also get a clear picture of reactive programming, binary searches, sorting, search trees, undirected graphs, and a whole lot more!

16706
Eлектронна книга

Java 9 Dependency Injection. Write loosely coupled code with Spring 5 and Guice

Nilang Patel, Krunal Patel

Dependency Injection (DI) is a design pattern that allows us to remove the hard-coded dependencies and make our application loosely coupled, extendable, and maintainable. We can implement DI to move the dependency resolution from compile-time to runtime. This book will be your one stop guide to write loosely coupled code using the latest features of Java 9 with frameworks such as Spring 5 and Google Guice. We begin by explaining what DI is and teaching you about IoC containers. Then you’ll learn about object compositions and their role in DI. You’ll find out how to build a modular application and learn how to use DI to focus your efforts on the business logic unique to your application and let the framework handle the infrastructure work to put it all together. Moving on, you’ll gain knowledge of Java 9’s new features and modular framework and how DI works in Java 9. Next, we’ll explore Spring and Guice, the popular frameworks for DI. You’ll see how to define injection keys and configure them at the framework-specific level. After that, you’ll find out about the different types of scopes available in both popular frameworks. You’ll see how to manage dependency of cross-cutting concerns while writing applications through aspect-oriented programming.Towards the end, you’ll learn to integrate any third-party library in your DI-enabled application and explore common pitfalls and recommendations to build a solid application with the help of best practices, patterns, and anti-patterns in DI.

16707
Eлектронна книга

Java 9 High Performance. Practical techniques and best practices for optimizing Java applications through concurrency, reactive programming, and more

Mayur Ramgir, Nick Samoylov

Finally, a book that focuses on the practicalities rather than theory of Java application performance tuning. This book will be your one-stop guide to optimize the performance of your Java applications.We will begin by understanding the new features and APIs of Java 9. You will then be taught the practicalities of Java application performance tuning, how to make the best use of garbage collector, and find out how to optimize code with microbenchmarking. Moving ahead, you will be introduced to multithreading and learning about concurrent programming with Java 9 to build highly concurrent and efficient applications. You will learn how to fine tune your Java code for best results. You will discover techniques on how to benchmark performance and reduce various bottlenecks in your applications. We'll also cover best practices of Java programming that will help you improve the quality of your codebase.By the end of the book, you will be armed with the knowledge to build and deploy efficient, scalable, and concurrent applications in Java.

16708
Eлектронна книга

Java 9 Programming Blueprints. Master features like modular programming, Java HTTP 2.0, and REPL by building numerous applications

Jason Lee

Java is a powerful language that has applications in a wide variety of fields. From playing games on your computer to performing banking transactions, Java is at the heart of everything.The book starts by unveiling the new features of Java 9 and quickly walks you through the building blocks that form the basis of writing applications. There are 10 comprehensive projects in the book that will showcase the various features of Java 9. You will learn to build an email filter that separates spam messages from all your inboxes, a social media aggregator app that will help you efficiently track various feeds, and a microservice for a client/server note application, to name a few. The book covers various libraries and frameworks in these projects, and also introduces a few more frameworks that complement and extend the Java SDK.Through the course of building applications, this book will not only help you get to grips with the various features of Java 9, but will also teach you how to design and prototype professional-grade applications with performance and security considerations.

16709
Eлектронна книга

Java 9 Programming By Example. Your guide to software development

Peter Verhas

This book gets you started with essential software development easily and quickly, guiding you through Java’s different facets. By adopting this approach, you can bridge the gap between learning and doing immediately. You will learn the new features of Java 9 quickly and experience a simple and powerful approach to software development. You will be able to use the Java runtime tools, understand the Java environment, and create Java programs. We then cover more simple examples to build your foundation before diving to some complex data structure problems that will solidify your Java 9 skills. With a special focus on modularity and HTTP 2.0, this book will guide you to get employed as a top notch Java developer.By the end of the book, you will have a firm foundation to continue your journey towards becoming a professional Java developer.

16710
Eлектронна книга

Java 9. Przewodnik doświadczonego programisty. Wydanie II

Cay S. Horstmann

Dziś Java jest uważana za starannie zaprojektowany i wciąż rozwijany język, który stanowi standard w wielu potężnych korporacjach z branży IT. W język ten wbudowano funkcje ułatwiające implementację wielu złożonych zadań programistycznych. W nowej wersji Javy znalazło się wiele usprawnień dotyczących najbardziej podstawowych technologii platformy Java. Nowe mechanizmy, na przykład modularyzacja czy nowe podejście do programowania współbieżnego, poprawią efektywność pracy programisty. Jednak opanowanie tak potężnego narzędzia i używanie go na profesjonalnym poziomie stało się prawdziwym wyzwaniem. Ta książka jest kompletnym i zwięzłym kompendium praktycznego wykorzystania Javy. Została pomyślana w taki sposób, aby nauka języka i bibliotek odbywała się możliwie szybko. Omówiono tu bardzo dużo materiału, ale jego uporządkowanie i sposób prezentacji ułatwiają szybki dostęp do danego zagadnienia i łatwe zrozumienie treści. Dzięki temu płynnie nauczysz się wszystkich nowości, od systemu modułów „Project Jigsaw” do wyrażeń lambda czy strumieni. Opanujesz tajniki programowania współbieżnego dzięki potężnym mechanizmom dostępnym w bibliotekach. Docenisz tę książkę, jeśli profesjonalnie piszesz aplikacje w Javie, zwłaszcza jeżeli chcesz tworzyć oprogramowanie działające po stronie serwera lub w systemie Android. Najważniejsze zagadnienia: Modularyzacja, w tym stosowanie modułów zewnętrznych Testowanie kodu za pomocą JShell REPL Wyrażenia lambda i praca z kolekcjami Korzystanie ze Streams API Operacje wejścia-wyjścia, wyrażenia regularne oraz procesy Współbieżność i zadania współpracujące ze sobą Mistrz Javy — to tak dumnie brzmi!

16711
Eлектронна книга

Java 9 Regular Expressions. A hands-on guide to implement zero-length assertions, back-references, quantifiers, and many more

Anubhava Srivastava

Regular expressions are a powerful tool in the programmer's toolbox and allow pattern matching. They are also used for manipulating text and data. This book will provide you with the know-how (and practical examples) to solve real-world problems using regex in Java.You will begin by discovering what regular expressions are and how they work with Java. This easy-to-follow guide is a great place from which to familiarize yourself with the core concepts of regular expressions and to master its implementation with the features of Java 9. You will learn how to match, extract, and transform text by matching specific words, characters, and patterns. You will learn when and where to apply the methods for finding patterns in digits, letters, Unicode characters, and string literals. Going forward, you will learn to use zero-length assertions and lookarounds, parsing the source code, and processing the log files. Finally, you will master tips, tricks, and best practices in regex with Java.

16712
Eлектронна книга

Java 9 with JShell. Introducing the full range of Java 9's new features via JShell

Gaston C. Hillar

The release of Java 9 has brought many subtle and not-so-subtle changes to the way in which Java programmers approach their code. The most important ones are definitely the availability of a REPL, known as JShell, which will make experiments and prototyping much more straightforward than the old IDE-based project-led approach. Another, more subtle change can be seen in the module system, which will lead to more modularized, maintainable code. The techniques to take full advantage of object-oriented code, functional programming and the new modularity features in Java 9 form the main subjects of this book.Each chapter will add to the full picture of Java 9 programming starting out with classes and instances and ending with generics and modularity in Java.

16713
Eлектронна книга

Java and Algorithmic Thinking for the Complete Beginner. From Basics to Advanced Techniques: Master Java and Algorithms for a Robust Programming Foundation

Aristides Bouras

Begin your programming journey with a comprehensive course designed to introduce you to the world of Java and algorithmic thinking. The course starts by laying a solid foundation with an understanding of how computers work and an introduction to integrated development environments. As you advance, you'll delve into essential Java concepts, learning about variables, constants, and basic algorithmic concepts that are crucial for any aspiring programmer.Moving forward, the course offers a deep dive into more complex topics, including handling input and output, using operators, and creating trace tables. You'll get hands-on experience with Visual Studio Code and explore sequence control structures, manipulating numbers, and crafting complex mathematical expressions.In the final stages, the course covers advanced topics such as data structures, subprograms, and object-oriented programming. You'll learn to manipulate one-dimensional and two-dimensional arrays, work with HashMaps, and understand the intricacies of user-defined subprograms. The course concludes with a focus on file management and offers numerous tips and tricks to enhance your programming efficiency. By the end, you'll have a strong foundation in Java programming and algorithmic thinking, well-prepared to tackle more advanced challenges.

16714
Eлектронна книга

Java Coding Problems. Become an expert Java programmer by solving over 250 brand-new, modern, real-world problems - Second Edition

Anghel Leonard

The super-fast evolution of the JDK between versions 12 and 21 has made the learning curve of modern Java steeper, and increased the time needed to learn it. This book will make your learning journey quicker and increase your willingness to try Java’s new features by explaining the correct practices and decisions related to complexity, performance, readability, and more.Java Coding Problems takes you through Java’s latest features but doesn’t always advocate the use of new solutions — instead, it focuses on revealing the trade-offs involved in deciding what the best solution is for a certain problem.There are more than two hundred brand new and carefully selected problems in this second edition, chosen to highlight and cover the core everyday challenges of a Java programmer.Apart from providing a comprehensive compendium of problem solutions based on real-world examples, this book will also give you the confidence to answer questions relating to matching particular streams and methods to various problems.By the end of this book you will have gained a strong understanding of Java’s new features and have the confidence to develop and choose the right solutions to your problems.

16715
Eлектронна книга

Java Coding Problems. Improve your Java Programming skills by solving real-world coding challenges

Anghel Leonard

The super-fast evolution of the JDK between versions 8 and 12 has increased the learning curve of modern Java, therefore has increased the time needed for placing developers in the Plateau of Productivity. Its new features and concepts can be adopted to solve a variety of modern-day problems. This book enables you to adopt an objective approach to common problems by explaining the correct practices and decisions with respect to complexity, performance, readability, and more.Java Coding Problems will help you complete your daily tasks and meet deadlines. You can count on the 300+ applications containing 1,000+ examples in this book to cover the common and fundamental areas of interest: strings, numbers, arrays, collections, data structures, date and time, immutability, type inference, Optional, Java I/O, Java Reflection, functional programming, concurrency and the HTTP Client API. Put your skills on steroids with problems that have been carefully crafted to highlight and cover the core knowledge that is accessed in daily work. In other words (no matter if your task is easy, medium or complex) having this knowledge under your tool belt is a must, not an option.By the end of this book, you will have gained a strong understanding of Java concepts and have the confidence to develop and choose the right solutions to your problems.

16716
Eлектронна книга

Java Concurrency and Parallelism. Master advanced Java techniques for cloud-based applications through concurrency and parallelism

Jay Wang

If you’re a software developer, architect, or systems engineer, exploring Java’s concurrency utilities and synchronization in the cloud, this book is an essential resource. Tech visionary Jay Wang, with over three decades of experience transforming industry giants, brings unparalleled expertise to guide you through Java’s concurrency and parallel processing in cloud computing.This comprehensive book starts by establishing the foundational concepts of concurrency and parallelism, vital for cloud-native development, and gives you a complete overview, highlighting challenges and best practices. Wang expertly demonstrates Java’s role in big data, machine learning, microservices, and serverless computing, shedding light on how Java’s tools are effectively utilized in these domains. Complete with practical examples and insights, this book bridges theory with real-world applications, ensuring a holistic understanding of Java in cloud-based scenarios. You’ll navigate advanced topics, such as synchronizing Java’s concurrency with cloud auto-scaling and GPU computing, and be equipped with the skills and foresight to tackle upcoming trends in cloud technology.This book serves as your roadmap to innovation and excellence in Java cloud applications, giving you in-depth knowledge and hands-on practice for mastering Java in the cloud era.

16717
Eлектронна книга

Java. Ćwiczenia praktyczne. Wydanie III

Marcin Lis

Obudź się! Czas na Javę! Poznaj podstawowe zasady programowania Dowiedz się, jak tworzyć aplikacje i aplety Opanuj podstawy tworzenia programów z graficznym interfejsem Java, jeden z najpopularniejszych dziś obiektowych języków programowania, ma całe mnóstwo zalet. Jest funkcjonalna, świetnie skonstruowana i łatwa do zastosowania przy programowaniu różnego typu urządzeń. Te cechy sprawiają, że wielu programistów nie wyobraża sobie codziennej pracy bez używania tego języka - przy tworzeniu apletów na strony WWW, programów działających w telefonach komórkowych czy rozbudowanych aplikacji dla komputerów osobistych i serwerów. Java na dobre zadomowiła się w globalnej sieci, więc najwyższy czas poznać chociaż jej podstawy! Z książką "Java. Ćwiczenia praktyczne " nie będzie to wcale takie trudne. Znajdziesz tu najważniejsze informacje o tym języku i niezbędnych narzędziach, omówienie zmiennych, operatorów i funkcji oraz wyjaśnienie zastosowania tablic. Dowiesz się, na czym polega programowanie obiektowe, do czego służą obiekty i klasy, jak zapewnić obsługę błędów i wyjątków oraz jak wykonywać operacje wejścia-wyjścia. Nauczysz się odróżniać aplet od aplikacji, zapewnisz interakcję programu z użytkownikiem i stworzysz aplikacje z interfejsem graficznym. Każde z tych zagadnień będziesz mógł od razu przećwiczyć, a ćwiczenia te zagwarantują Ci dogłębne, praktyczne zrozumienie działania poszczególnych fragmentów kodu. Programowanie w Javie Zmienne, operatory i instrukcje Tablice Obiekty i klasy Obsługa błędów i wyjątki Operacje wejścia-wyjścia Aplety Interakcja z użytkownikiem Aplikacje z interfejsem graficznym Grafika i komponenty Java - na pewno Ci się spodoba!

16718
Eлектронна книга

Java. Ćwiczenia praktyczne. Wydanie IV

Marcin Lis

Realizuj sny na Javie! Pakiet JDK i początki programowania, czyli jak szybko stworzyć działający program Obiektowość w akcji, czyli na czym polega największa zaleta Javy Uniwersalna składnia, czyli jak najlepiej wykorzystać przenośność tego języka Za co lubimy Javę? Oto jej najważniejsze zalety — prosta, funkcjonalna składnia, bezproblemowe przenoszenie programów między różnymi platformami i obiektowość. Jeśli chcesz zostać programistą albo choćby zorientować się w możliwościach programowania aplikacji, serwisów internetowych i urządzeń domowego użytku, koniecznie naucz się Javy. Ta książka ułatwi Ci poznanie jej najlepszych cech! To już czwarte wydanie książki o Javie z cenionej serii „Ćwiczenia praktyczne”. Znajdziesz tu najważniejsze zasady programowania oraz podstawy projektowania aplikacji z interfejsem graficznym. Dowiesz się, jak tworzyć aplety i jak stosować operacje wejścia–wyjścia. Poznasz wszystkie konstrukcje języka niezbędne do samodzielnego napisania programu i opanujesz je perfekcyjnie dzięki proponowanym ćwiczeniom. Poznawanie Javy zacznij od tej książki! Instalacja JDK i pierwszy program Zmienne, operatory i instrukcje Tablice, obiekty i klasy Obsługa błędów i wyjątki Aplety na stronach WWW Interakcja z użytkownikiem Aplikacje z interfejsem graficznym Grafika i komponenty Zakochaj się w Javie!

16719
Eлектронна книга

Java. Ćwiczenia zaawansowane. Wydanie II

Marcin Lis

Mistrzostwo w Javie w zasięgu Twoich rąk! Na czym polegają programowanie współbieżne i obsługa pracy wątków? Jak zapewnić właściwą komunikację sieciową z użyciem protokołu wymiany danych? Co zrobić, by współpraca z relacyjnymi bazami danych czy obsługa zapytań SQL przebiegały idealnie? Rzadko zdarza się, by jeden język programowania był w stanie zaspokoić niemal wszystkie potrzeby obsługi bardzo różnych urządzeń i systemów operacyjnych bez konieczności żmudnego dostosowywania. Java znakomicie spełnia te wymagania i właśnie dlatego każdy programista - nawet taki, który używa w swojej pracy innych języków programowania - powinien poznać ją bardzo dokładnie. A najłatwiejszym i najbardziej efektywnym sposobem poszerzenia wiedzy w dziedzinie programowania jest przećwiczenie rozmaitych przypadków konkretnych zastosowań danego języka. Jeśli zetknąłeś się już kiedyś z Javą, dobrze znasz jej podstawy, lecz zależy Ci na opanowaniu szerszego spektrum możliwości, powinieneś koniecznie sięgnąć po książkę "Java. Ćwiczenia zaawansowane. Wydanie II". Znajdziesz tu zestaw niemal stu ćwiczeń pomagających zrozumieć takie zagadnienia, jak programowanie współbieżne i obsługa wątków, budowanie aplikacji wielowątkowych z interfejsem graficznym, nawiązywanie połączeń sieciowych, komunikacja sieciowa z użyciem protokołu wymiany danych, serwery wielowątkowe, współpraca z relacyjnymi bazami danych czy obsługa zapytań SQL. Nauczysz się uruchamiać, przerywać i synchronizować wątki oraz poznasz sposób działania gniazd w Javie i gniazd serwerowych. Dowiesz się więcej o przesyłaniu danych w sieci, serwerach wielowątkowych i sterowaniu serwerem z konsoli. Zobaczysz, jak powinno wyglądać budowanie aplikacji sieciowych z interfejsem graficznym w Javie oraz o czym koniecznie trzeba pamiętać. Ponadto jasne staną się dla Ciebie wszystkie tajniki komunikacji z bazą danych oraz sposób obsługi zapytań w SQL. Programowanie współbieżne Synchronizacja wątków Programowanie sieciowe Transmisja danych w modelu klient-serwer Aplikacje sieciowe z interfejsem graficznym Współpraca z bazami danych Błyskawicznie opanuj nowe umiejętności i zaimponuj klientom!

16720
Eлектронна книга

Java Data Analysis. Data mining, big data analysis, NoSQL, and data visualization

John R. Hubbard

Data analysis is a process of inspecting, cleansing, transforming, and modeling data with the aim of discovering useful information. Java is one of the most popular languages to perform your data analysis tasks.This book will help you learn the tools and techniques in Java to conduct data analysis without any hassle. After getting a quick overview of what data science is and the steps involved in the process, you’ll learn the statistical data analysis techniques and implement them using the popular Java APIs and libraries. Through practical examples, you will also learn the machine learning concepts such as classification and regression. In the process, you’ll familiarize yourself with tools such as Rapidminer and WEKA and see how these Java-based tools can be used effectively for analysis. You will also learn how to analyze text and other types of multimedia. Learn to work with relational, NoSQL, and time-series data. This book will also show you how you can utilize different Java-based libraries to create insightful and easy to understand plots and graphs.By the end of this book, you will have a solid understanding of the various data analysis techniques, and how to implement them using Java.