The Java Workshop



- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 606
- Dostępne formaty:
-
PDFePubMobi
Opis książki: The Java Workshop
Java is a versatile, popular programming language used across a wide range of industries. Learning how to write effective Java code can take your career to the next level, and The Java Workshop will help you do just that. This book is designed to take the pain out of Java coding and teach you everything you need to know to be productive in building real-world software.
The Workshop starts by showing you how to use classes, methods, and the built-in Collections API to manipulate data structures effortlessly. You'll dive right into learning about object-oriented programming by creating classes and interfaces and making use of inheritance and polymorphism. After learning how to handle exceptions, you'll study the modules, packages, and libraries that help you organize your code. As you progress, you'll discover how to connect to external databases and web servers, work with regular expressions, and write unit tests to validate your code. You'll also be introduced to functional programming and see how to implement it using lambda functions.
By the end of this Workshop, you'll be well-versed with key Java concepts and have the knowledge and confidence to tackle your own ambitious projects with Java.
Wybrane bestsellery
-
Ta książka jest kolejnym, zaktualizowanym i uzupełnionym wydaniem kultowego podręcznika dla profesjonalnych programistów Javy. To pierwszy tom, w którym opisano podstawy języka i najważniejsze zagadnienia związane z programowaniem interfejsu użytkownika, a także kolekcje, wyrażenia lambda, techni...(0,00 zł najniższa cena z 30 dni)
83.85 zł
129.00 zł(-35%) -
Znalezienie odpowiedzi na zaprzątające umysł pytania z zakresu automatyzacji zwykle wiąże się ze spędzeniem długich godzin na wertowaniu niespójnej dokumentacji lub przeszukiwaniu forum Atlassian Community, gdzie swoimi problemami (a także autorskimi pomysłami na ich rozwiązanie) dzielą się inni ...
Atlassian Jira Server & Data Center. Programowanie rozwiązań w projektach biznesowych Atlassian Jira Server & Data Center. Programowanie rozwiązań w projektach biznesowych
(0,00 zł najniższa cena z 30 dni)44.85 zł
69.00 zł(-35%) -
Język Java jest konsekwentnie udoskonalany i unowocześniany dzięki zaangażowaniu wielu ludzi. Nowoczesny język Java staje się coraz bardziej wieloparadygmatowy, co oznacza, że stosowanie najlepszych praktyk w coraz większym stopniu determinuje jakość kodu. Obecnie napisanie kodu, który prawidłowo...(0,00 zł najniższa cena z 30 dni)
64.35 zł
99.00 zł(-35%) -
To dwunaste, rozszerzone wydanie znakomitego podręcznika do nauki Javy, w pełni przejrzane, poprawione i zaktualizowane (uwzględnia nowości wprowadzone w Javie SE 9, 10 i 11). Ułatwia zdobycie solidnych podstaw języka i płynne przejście do tworzenia programów służących do rozwiązywania konkretnyc...
Wprowadzenie do Javy. Programowanie i struktury danych. Wydanie XII Wprowadzenie do Javy. Programowanie i struktury danych. Wydanie XII
(0,00 zł najniższa cena z 30 dni)59.90 zł
199.00 zł(-70%) -
Ta książka jest ósmym wydaniem znakomitego podręcznika programowania dla początkujących, starannie zaktualizowanym i uzupełnionym o informacje dotyczące edycji 11. Zawiera podstawową wiedzę o kompilacji i uruchamianiu programu w Javie oraz o słowach kluczowych i istotnych konstrukcjach w tym języ...(0,00 zł najniższa cena z 30 dni)
64.35 zł
99.00 zł(-35%) -
To kolejne, uzupełnione i zaktualizowane wydanie przewodnika po frameworku Spring. Książka jest napisana w zwięzłym, przejrzystym i jasnym stylu, dzięki czemu szybko zrozumiesz zasady pracy ze Springiem i zbudujesz nowoczesną aplikację internetową współpracującą z bazą danych. Pokazano tu technik...(0,00 zł najniższa cena z 30 dni)
57.85 zł
89.00 zł(-35%) -
Ta książka jest jedenastym wydaniem wyczerpującego kompendium programisty Javy, w pełni zaktualizowanym, uzupełnionym o nowości wprowadzone w Java SE 11. Opisuje język kompleksowo: jego składnię, słowa kluczowe oraz najistotniejsze zasady programowania. Zawiera także informacje o najważniejszych ...(0,00 zł najniższa cena z 30 dni)
129.35 zł
199.00 zł(-35%) -
Oto kolejne, przejrzane, zaktualizowane i uzupełnione wydanie znakomitego podręcznika dla zawodowych programistów Javy. Znalazł się tu dokładny opis sposobów tworzenia interfejsu użytkownika, stosowania rozwiązań korporacyjnych, sieciowych i zabezpieczeń, a także nowości wprowadzonych w JDK 11. P...(0,00 zł najniższa cena z 30 dni)
89.40 zł
149.00 zł(-40%) -
What will you learn from this book?Head First Java is a complete learning experience in Java and object-oriented programming. With this book, you'll learn the Java language with a unique method that goes beyond how-to manuals and helps you become a great programmer. Through puzzles, mysteries, an...(0,00 zł najniższa cena z 30 dni)
237.15 zł
279.00 zł(-15%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- Tytuł oryginału:
- The Java Workshop
- ISBN Ebooka:
- 978-18-392-1811-8, 9781839218118
- Data wydania ebooka:
-
2019-10-31
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku Pdf:
- 9.4MB
- Rozmiar pliku ePub:
- 8.0MB
- Rozmiar pliku Mobi:
- 8.0MB
- Kategorie:
Programowanie » Java - Programowanie
Spis treści książki
- Preface
- About the Book
- About the Chapters
- Conventions
- Before You Begin
- Installation of JRE
- Installation of JDK
- Installation of IntelliJ IDEA
- Installing the Code Bundle
- About the Book
- 1. Getting Started
- Introduction
- Writing, Compiling, and Executing Your Hello World Program
- Exercise 1: Creating Your Hello World Program in Java
- Basic Syntax and Naming Conventions
- Printing Out Different Data Types
- Variables and Variable Types
- Exercise 2: Printing Different Types of Data
- Primitive versus Reference Data Types
- Null
- Chars and Strings
- Exercise 3: Declaring Strings
- Doing Some Math
- Exercise 4: Solving a Simple Trigonometry Problem
- Comments Help You to Share Code
- CLI versus GUI
- Exercise 5: Running the Code from the CLI
- Activity 1: Obtaining the Minimum of Two Numbers
- Summary
- 2. Learning the Basics
- Introduction
- Controlling the Flow of Your Programs
- Exercise 1: Creating a Basic if Statement
- Comparison Operators
- Exercise 2: Using Java Comparison Operators
- Nested if Statements
- Exercise 3: Implementing a Nested if Statement
- Branching Two Ways with if and else
- Exercise 4: Using if and else Statements
- Using Complex Conditionals
- Exercise 5: Using Logical Operators to Create Complex Conditionals
- Using Arithmetic Operators in an if Condition
- The Ternary Operator
- Exercise 6: Using the Ternary Operator
- Equality Can Be Tricky
- Exercise 7: Comparing Decimal Values
- Comparing Strings
- Using switch Statements
- Exercise 8: Using switch
- Exercise 9: Allowing Cases to Fall Through
- Using Java 12 Enhanced switch Statements
- Exercise 10: Using Java 12 switch Statements
- Looping and Performing Repetitive Tasks
- Looping with the for Loop
- Exercise 11: Using a Classic for Loop
- Exercise 12: Using an Enhanced for Loop
- Jumping Out of Loops with Break and Continue
- Exercise 13: Using break and continue
- Using the while Loop
- Exercise 14: Using a while Loop
- Using the do-while Loop
- Handling Command-Line Arguments
- Exercise 15: Testing Command-Line Arguments
- Converting Command-Line Arguments
- Exercise 16: Converting String to Integers and Doubles
- Diving Deeper into Variables Immutability
- Comparing Final and Immutable
- Using Static Values
- Using Local Variable Type Inference
- Activity 1: Taking Input and Comparing Ranges
- Summary
- 3. Object-Oriented Programming
- Introduction
- The Anatomy of a Class
- Introduction
- Working with Objects in Java
- Checking the Precedence of a Class with instanceof
- Exercise 1: Creating the WordTool Class
- Activity 1: Adding the Frequency-of-Symbol Calculation to WordTool
- Inheritance in Java
- Overriding and Hiding Methods
- Avoiding Overriding: Final Classes and Methods
- Overloading Methods and Constructors
- Recursion
- Annotations
- Interfaces
- Inner Classes
- Documenting with JavaDoc
- Activity 2: Adding Documentation to WordTool
- Summary
- 4. Collections, Lists and Javas Built-In APIs
- Introduction
- Arrays
- Activity 1: Searching for Multiple Occurrences in an Array
- Sets
- Lists
- Exercise 1: Creating the AnalyzeInput Application
- Maps
- Iterating through Collections
- Exercise 2: Bringing Analytics into the AnalyzeInput Application
- Sorting Collections
- Exercise 3: Sort the Results from the AnalyzeInput Application
- Properties
- Activity 2: Iterating through Large Lists
- Summary
- 5. Exceptions
- Introduction
- A Simple Exception Example
- NullPointerException Have No Fear
- Catching Exceptions
- Exercise 1: Logging Exceptions
- Throws and Throw
- Exercise 2: Breaking the Law (and Fixing It)
- The finally Block
- Activity 1: Designing an Exception Class Logging Data
- Best Practices for Handling Exceptions
- Where Do Exceptions Come from?
- Summary
- 6. Libraries, Packages, and Modules
- Introduction
- Organizing Code into Packages
- Importing Classes
- Exercise 1: Importing Classes
- Fully Qualified Class Names
- Importing All Classes in a Package
- Dealing with Duplicated Names
- Static Imports
- Creating a Package
- Naming Your Package
- Directories and Packages
- Exercise 2: Creating a Package for a Fitness Tracking App
- Building JAR Files
- Exercise 3: Building a JAR File
- Defining the Manifest
- Exercise 4: Building an Executable JAR File
- Build Tools
- Maven
- Exercise 5: Creating a Maven Project
- Exercise 6: Adding Java Sources to the Maven Project
- Exercise 7: Building the Maven Project
- Exercise 8: Creating an Executable JAR with Maven
- Using Gradle
- Exercise 9: Creating a Gradle Project
- Exercise 10: Building an Executable JAR with Gradle
- Using Third-Party Libraries
- Finding the Libraries
- Adding a Project Dependency
- Exercise 11: Adding a Third-Party Library Dependency
- Using the Apache Commons Lang Library
- Exercise 12: Using the Apache Commons Lang Library
- Using Modules
- Creating Modules
- Exercise 13: Creating a Project for a Module
- Exercise 14: Creating a Second Module Using the First One
- Activity 1: Tracking Summer High Temperatures
- Summary
- 7. Databases and JDBC
- Introduction
- Relational Databases
- Relational Database Management Systems
- Installing a Database
- Exercise 1: Running the H2 Database
- Introducing SQL
- Exercise 2: Creating the customer Table
- Inserting Data into a Table
- Exercise 3: Inserting Data
- Retrieving Data
- Relating Tables
- Exercise 4: Creating the email Table
- Selecting Data from Multiple Tables
- Modifying Existing Rows
- Exercise 5: Modifying email Data
- Deleting Data
- JDBCAccessing Databases from Java
- Connecting to Databases
- Querying Data with JDBC
- Exercise 6: Querying Data with JDBC
- Sanitizing User Input
- Using Prepared Statements
- Transactions and Rollback
- Exercise 7: Using Prepared Statements with Transactions
- Simplifying JDBC Programming
- Using Object-Relational Mapping Software
- Database Connection Pooling
- Non-Relational, or NoSQL, Databases
- Activity 1: Track Your Progress
- Summary
- 8. Sockets, Files, and Streams
- Introduction
- Listing Files and Directories
- Separating Directories from Files
- Exercise 1: Listing the Contents of Subdirectories
- Creating and Writing to a File
- Activity 1: Writing the Directory Structure to a File
- Reading an Existing File
- Reading a Properties File
- Exercise 2: Creating a Properties File from the CLI
- What are Streams?
- The Different Streams of the Java Language
- What are Sockets?
- Creating a SocketServer
- Writing Data on and Reading Data from a Socket
- Activity 2: Improving the EchoServer and EchoClient Programs
- Blocking and Non-Blocking Calls
- Summary
- 9. Working with HTTP
- Introduction
- Exploring HTTP
- HTTP Request Methods
- Representational State Transfer
- Request Headers
- Using HttpUrlConnection
- Exercise 1: Creating a HEAD Request
- Reading the Response Data with a GET Request
- Exercise 2: Creating a GET Request
- Dealing with Slow Connections
- Requesting Parameters
- Handling Redirects
- Creating HTTP POST Requests
- Exercise 3: Sending JSON Data with POST Requests
- Parsing HTML Data
- Exercise 4: Using jsoup to Extract Data from HTML
- Delving into the java.net.http Module
- Exercise 5: Getting HTML Contents Using the java.net.http Module
- Activity 1: Using the jsoup Library to Download Files from the Web
- Summary
- 10. Encryption
- Introduction
- Plaintext
- Ciphertext
- Ciphers
- Keys
- Introduction
- Symmetric Key Encryption
- Exercise 1: Encrypting the String Using Advanced Encryption Standard
- Block Ciphers
- Initialization Vectors
- Stream Ciphers
- Asymmetric Key Encryption
- Exercise 2: Encrypting the String Using the RSA Asymmetric Key Encryption
- Encrypting Files
- Exercise 3: Encrypting a File
- Summary
- 11. Processes
- Introduction
- Launching a Process
- Sending Input to a Child Process
- Capturing the Output of a Child Process
- Storing the Output of a Child Process in a File
- Activity 1: Making a Parent Process to Launch a Child Process
- Summary
- 12. Regular Expressions
- Introduction
- Decrypting Regular Expressions
- Character Classes
- Character Sets
- Quantifiers
- Anchors
- Capturing Groups
- Escaped Characters
- Flags
- Exercise 1: Implementing Regular Expressions
- Activity 1: Regular Expressions to Check If the Entrance is Entered in the Desired Format
- Regular Expressions in Java
- Exercise 2: Extracting the Domain Using Pattern Matching
- Exercise 3: Extracting Links Using Pattern Matching
- Summary
- 13. Functional Programming with Lambda Expressions
- Introduction
- Background
- Introduction
- Functional Programming
- Side Effects
- Deterministic Functions
- Pure Functions
- Exercise 1: Writing Pure Functions
- Immutability of State
- Exercise 2: Creating an Immutable Class
- Activity 1: Modifying Immutable Lists
- Immutable Collections
- Exercise 3: Overriding the String Method
- Functional Interfaces
- Lambda Expressions
- Exercise 4: Listing Spare Tires
- Summary
- 14. Recursion
- Introduction
- Delving into Recursion
- Exercise 1: Using Recursion to Overflow the Stack
- Trying Tail Recursion
- Exercise 2: Using Recursion to Calculate Factorials
- Processing an XML Document
- Exercise 3: Creating an XML File
- Introducing the DOM XML API
- Exercise 4: Traversing an XML Document
- Activity 1: Calculating the Fibonacci Sequence
- Summary
- 15. Processing Data with Streams
- Introduction
- Creating Streams
- Parallel Streams
- Encounter Order
- Closing Streams
- Terminal Operations
- Intermediate Operations
- Exercise 1: Using the Stream API
- Activity 1: Applying Discount on the Items
- Using Collectors
- I/O Streams
- Exercise 2: Converting CSV to a List
- Activity 2: Searching for Specifics
- Summary
- 16. Predicates and Other Functional Interfaces
- Introduction
- Predicate Interface
- Exercise 1: Defining a predicate
- Activity 1: Toggling the Sensor States
- Consumer Interface
- Exercise 2: Producing Side Effects
- Function
- Exercise 3: Extracting Data
- Activity 2: Using a Recursive Function
- Activity 3: Using a Lambda Function
- Summary
- 17. Reactive Programming with Java Flow
- Introduction
- Publisher
- SubmissionPublisher
- Subscriber
- Subscription
- Exercise 1: A Simple Application with a Single Publisher and a Single Subscriber
- Processor
- Exercise 2: Using a Processor to Convert a Stream of Strings to Numbers
- Activity 1: Let NumberProcessor Format Values as Integers
- Summary
- 18. Unit Testing
- Introduction
- Getting Started with Unit Tests
- Introducing JUnit
- Writing Unit Tests with JUnit
- Exercise 1: Writing a First Unit Test
- Exercise 2: Writing a Successful Test
- Deciding What to Test
- Writing Parameterized Tests
- Exercise 3: Writing a Parameterized Test
- When Tests Won't WorkDisabling Tests
- Test Setup
- Exercise 4: Using Test Setup and Cleanup Methods
- Mocking
- Testing with Mocks Using Mockito
- Exercise 5: Using Mocks when Testing
- Activity 1: Counting the Words in the String
- Summary
- Appendix
- 1. Getting Started
- Activity 1: Obtaining the Minimum of Two Numbers
- 1. Getting Started
- 2. Learning the Basics
- Activity 1: Taking Input and Comparing Ranges
- 3. Object-Oriented Programming
- Activity 1: Adding the Frequency-of-Symbol Calculation to WordTool
- Activity 2: Adding Documentation to WordTool
- 4. Collections, List, and Java's Built-In APIs
- Activity 1: Searching for Multiple Occurrences in an Array
- Activity 2: Iterating through Large Lists
- 5. Exceptions
- Activity 1: Designing an Exception Class Logging Data
- 6. Libraries, Packages, and Modules
- Activity 1: Tracking Summer High Temperatures
- 7. Databases and JDBC
- Activity 1: Track Your Progress
- 8. Sockets, Files, and Streams
- Activity 1: Writing the Directory Structure to a File
- Activity 2: Improving the EchoServer and EchoClient Programs
- 9. Working with HTTP
- Activity 1: Using the jsoup Library to Download Files from the Web
- 11. Processes
- Activity 1: Making a Parent Process to Launch a Child Process
- 12. Regular Expressions
- Activity 1: Regular Expressions to Check If the Entrance is Entered in the Desired Format
- 13. Functional Programming with Lambda Expressions
- Activity 1: Modifying Immutable Lists
- 14. Recursion
- Activity 1: Calculating the Fibonacci Sequence
- 15. Processing Data with Streams
- Activity 1: Applying Discount on the Items
- Activity 2: Searching for Specifics
- 16. Predicates and Other Functional Interfaces
- Activity 1: Toggling the Sensor States
- Activity 2: Using a Recursive Function
- Activity 3: Using a Lambda Function
- 17. Reactive Programming with Java Flow
- Activity 1: Let NumberProcessor Format Values as Integers
- 18. Unit Testing
- Activity 1: Counting the Words in the String
- What Next?
- The JavaScript Workshop
- The Clojure Workshop
- The Go Workshop
- Please leave a review
- The JavaScript Workshop
Packt Publishing - inne książki
-
Save time and effort when building 3D scenes with this essential guide to creating stunning photorealistic 3D environments in Blender
-
Solve classic computer science problems from fundamental algorithms, such as sorting and searching, to modern algorithms in machine learning and cryptography
40 Algorithms Every Programmer Should Know - Second Edition 40 Algorithms Every Programmer Should Know - Second Edition
-
Use modern Python libraries such as pandas, NumPy, and scikit-learn and popular machine learning and deep learning methods to solve financial modeling problems
-
Get up to speed with Oracle's Autonomous Databases and implementation strategies for any workload or use case, including transactional, data warehousing, and non-relational databases
Oracle Autonomous Database in Enterprise Architecture Oracle Autonomous Database in Enterprise Architecture
-
Design, build, and deploy performant and maintainable web applications using Spring, Spring Boot, and Angular
-
Build CD pipelines following GitOps principles like declarative and immutable changes stored in version control, all continuously reconciled by Argo CD, and minimize the failure of deployments.
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: The Java Workshop David Cuartielles, Andreas Göransson, Eric Foster-Johnson (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.