Kategorie
Ebooki
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komputer w biurze
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Multimedialne szkolenia
- Nieruchomości
- Perswazja i NLP
- Podatki
- Polityka społeczna
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Raporty, analizy
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
E-prasa
- Architektura i wnętrza
- Biznes i Ekonomia
- Dom i ogród
- E-Biznes
- Finanse
- Finanse osobiste
- Firma
- Fotografia
- Informatyka
- Kadry i płace
- Komputery, Excel
- Księgowość
- Kultura i literatura
- Naukowe i akademickie
- Ochrona środowiska
- Opiniotwórcze
- Oświata
- Podatki
- Podróże
- Psychologia
- Religia
- Rolnictwo
- Rynek książki i prasy
- Transport i Spedycja
- Zdrowie i uroda
-
Historia
-
Informatyka
- Aplikacje biurowe
- Bazy danych
- Bioinformatyka
- Biznes IT
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronika
- Fotografia cyfrowa
- Grafika komputerowa
- Gry
- Hacking
- Hardware
- IT w ekonomii
- Pakiety naukowe
- Podręczniki szkolne
- Podstawy komputera
- Programowanie
- Programowanie mobilne
- Serwery internetowe
- Sieci komputerowe
- Start-up
- Systemy operacyjne
- Sztuczna inteligencja
- Technologia dla dzieci
- Webmasterstwo
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Biografie i autobiografie
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poemat
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Podręczniki szkolne
-
Popularnonaukowe i akademickie
- Archeologia
- Bibliotekoznawstwo
- Filmoznawstwo
- Filologia
- Filologia polska
- Filozofia
- Finanse i bankowość
- Geografia
- Gospodarka
- Handel. Gospodarka światowa
- Historia i archeologia
- Historia sztuki i architektury
- Kulturoznawstwo
- Lingwistyka
- Literaturoznawstwo
- Logistyka
- Matematyka
- Medycyna
- Nauki humanistyczne
- Pedagogika
- Pomoce naukowe
- Popularnonaukowa
- Pozostałe
- Psychologia
- Socjologia
- Teatrologia
- Teologia
- Teorie i nauki ekonomiczne
- Transport i spedycja
- Wychowanie fizyczne
- Zarządzanie i marketing
-
Poradniki
-
Poradniki do gier
-
Poradniki zawodowe i specjalistyczne
-
Prawo
- BHP
- Historia
- Kodeks drogowy. Prawo jazdy
- Nauki prawne
- Ochrona zdrowia
- Ogólne, kompendium wiedzy
- Podręczniki akademickie
- Pozostałe
- Prawo budowlane i lokalowe
- Prawo cywilne
- Prawo finansowe
- Prawo gospodarcze
- Prawo gospodarcze i handlowe
- Prawo karne
- Prawo karne. Przestępstwa karne. Kryminologia
- Prawo międzynarodowe
- Prawo międzynarodowe i zagraniczne
- Prawo ochrony zdrowia
- Prawo oświatowe
- Prawo podatkowe
- Prawo pracy i ubezpieczeń społecznych
- Prawo publiczne, konstytucyjne i administracyjne
- Prawo rodzinne i opiekuńcze
- Prawo rolne
- Prawo socjalne, prawo pracy
- Prawo Unii Europejskiej
- Przemysł
- Rolne i ochrona środowiska
- Słowniki i encyklopedie
- Zamówienia publiczne
- Zarządzanie
-
Przewodniki i podróże
- Afryka
- Albumy
- Ameryka Południowa
- Ameryka Środkowa i Północna
- Australia, Nowa Zelandia, Oceania
- Austria
- Azja
- Bałkany
- Bliski Wschód
- Bułgaria
- Chiny
- Chorwacja
- Czechy
- Dania
- Egipt
- Estonia
- Europa
- Francja
- Góry
- Grecja
- Hiszpania
- Holandia
- Islandia
- Litwa
- Łotwa
- Mapy, Plany miast, Atlasy
- Miniprzewodniki
- Niemcy
- Norwegia
- Podróże aktywne
- Polska
- Portugalia
- Pozostałe
- Rosja
- Rumunia
- Słowacja
- Słowenia
- Szwajcaria
- Szwecja
- Świat
- Turcja
- Ukraina
- Węgry
- Wielka Brytania
- Włochy
-
Psychologia
- Filozofie życiowe
- Kompetencje psychospołeczne
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
Audiobooki
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Nieruchomości
- Perswazja i NLP
- Podatki
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
Historia
-
Informatyka
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Biografie i autobiografie
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Popularnonaukowe i akademickie
-
Poradniki
-
Poradniki zawodowe i specjalistyczne
-
Prawo
-
Przewodniki i podróże
-
Psychologia
- Filozofie życiowe
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
Kursy video
-
Bazy danych
-
Big Data
-
Biznes, ekonomia i marketing
-
Cyberbezpieczeństwo
-
Data Science
-
DevOps
-
Dla dzieci
-
Elektronika
-
Grafika/Wideo/CAX
-
Gry
-
Microsoft Office
-
Narzędzia programistyczne
-
Programowanie
-
Rozwój osobisty
-
Sieci komputerowe
-
Systemy operacyjne
-
Testowanie oprogramowania
-
Urządzenia mobilne
-
UX/UI
-
Web development
-
Zarządzanie
Podcasty
- Ebooki
- Programowanie
- Techniki programowania
- Groovy 2 Cookbook. Java and Groovy go together like ham and eggs, and this book is a great opportunity to learn how to exploit Groovy 2 to the full. Packed with recipes, both intermediate and advanced, it's a great way to speed up and modernize your programming
Szczegóły ebooka
Zaloguj się, jeśli jesteś zainteresowany treścią pozycji.
Groovy 2 Cookbook. Java and Groovy go together like ham and eggs, and this book is a great opportunity to learn how to exploit Groovy 2 to the full. Packed with recipes, both intermediate and advanced, it's a great way to speed up and modernize your programming
Luciano Fiandesio, Andrey Adamovich, Andrey Adamovich And Luciano Fiandesio
Ebook
Get up to speed with Groovy, a language for the Java Virtual Machine (JVM) that integrates features of both object-oriented and functional programming. This book will show you the powerful features of Groovy 2 applied to real-world scenarios and how the dynamic nature of the language makes it very simple to tackle problems that would otherwise require hours or days of research and implementation.
Groovy 2 Cookbook contains a vast number of recipes covering many facets of today's programming landscape. From language-specific topics such as closures and metaprogramming, to more advanced applications of Groovy flexibility such as DSL and testing techniques, this book gives you quick solutions to everyday problems.
The recipes in this book start from the basics of installing Groovy and running your first scripts and continue with progressively more advanced examples that will help you to take advantage of the language's amazing features.
Packed with hundreds of tried-and-true Groovy recipes, Groovy 2 Cookbook includes code segments covering many specialized APIs to work with files and collections, manipulate XML, work with REST services and JSON, create asynchronous tasks, and more. But Groovy does more than just ease traditional Java development: it brings modern programming features to the Java platform like closures, duck-typing, and metaprogramming.
In this new book, you'll find code examples that you can use in your projects right away along with a discussion about how and why the solution works. Focusing on what's useful and tricky, Groovy 2 Cookbook offers a wealth of useful code for all Java and Groovy programmers, not just advanced practitioners.
Groovy 2 Cookbook contains a vast number of recipes covering many facets of today's programming landscape. From language-specific topics such as closures and metaprogramming, to more advanced applications of Groovy flexibility such as DSL and testing techniques, this book gives you quick solutions to everyday problems.
The recipes in this book start from the basics of installing Groovy and running your first scripts and continue with progressively more advanced examples that will help you to take advantage of the language's amazing features.
Packed with hundreds of tried-and-true Groovy recipes, Groovy 2 Cookbook includes code segments covering many specialized APIs to work with files and collections, manipulate XML, work with REST services and JSON, create asynchronous tasks, and more. But Groovy does more than just ease traditional Java development: it brings modern programming features to the Java platform like closures, duck-typing, and metaprogramming.
In this new book, you'll find code examples that you can use in your projects right away along with a discussion about how and why the solution works. Focusing on what's useful and tricky, Groovy 2 Cookbook offers a wealth of useful code for all Java and Groovy programmers, not just advanced practitioners.
- Groovy 2 Cookbook
- Table of Contents
- Groovy 2 Cookbook
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Preface
- The Groovy language
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Getting Started with Groovy
- Introduction
- Installing Groovy on Windows
- Getting ready
- How to do it
- Theres more...
- Installing Groovy on Linux and OS X
- How to do it...
- How it works...
- There's more...
- See also
- Executing Groovy code from the command line
- How to do it...
- How it works...
- There's more...
- See also
- Using Groovy as a command-line text file editor
- How to do it...
- How it works...
- There's more...
- See also
- Using Groovy to start a server on the command line
- How to do it...
- See also
- Running Groovy with invokedynamic support
- Getting ready
- How to do it...
- There's more...
- See also
- Building Groovy from source
- Getting ready
- How to do it...
- How it works...
- Managing multiple Groovy installations on Linux
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using groovysh to try out Groovy commands
- How to do it...
- How it works...
- There's more...
- Starting groovyConsole to execute Groovy snippets
- How to do it...
- There's more...
- Configuring Groovy in Eclipse
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Configuring Groovy in IntelliJ IDEA
- Getting ready
- How to do it...
- There's more...
- 2. Using Groovy Ecosystem
- Introduction
- Using Java classes from Groovy
- How to do it...
- How it works...
- There's more...
- See also
- Embedding Groovy into Java
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Compiling Groovy code
- Getting ready
- How to do it...
- How it works...
- See also
- Simplifying dependency management with Grape
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Integrating Groovy into the build process using Ant
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Integrating Groovy into the build process using Maven
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Integrating Groovy into the build process using Gradle
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Generating documentation for Groovy code
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Checking Groovy code's quality with CodeNarc
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 3. Using Groovy Language Features
- Introduction
- Searching strings with regular expressions
- Getting ready
- How to do it...
- There's more...
- See also
- Writing less verbose Java Beans with Groovy Beans
- Getting ready
- How to do it...
- How it works...
- There's more...
- Inheriting constructors in Groovy classes
- How to do it...
- How it works...
- Adding the cloning functionality to Groovy Beans
- How to do it...
- How it works...
- There's more...
- Defining code as data in Groovy
- Getting ready
- How to do it...
- There's more...
- Defining data structures as code in Groovy
- Getting ready
- How to do it...
- How it works...
- See also
- Implementing multiple inheritance in Groovy
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Adding a functionality to the existing Java/Groovy classes
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Defining type-checking rules for dynamic code
- Getting ready
- How to do it...
- How it works...
- There's more...
- Adding automatic logging to Groovy classes
- How to do it...
- How it works...
- There's more...
- See also
- 4. Working with Files in Groovy
- Introduction
- Reading from a file
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Reading a text file line by line
- Getting ready
- How to do it...
- There's more...
- See also
- Processing every word in a text file
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Writing to a file
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Replacing tabs with spaces in a text file
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Filtering a text file's content
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Deleting a file or directory
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Walking through a directory recursively
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Searching for files
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Changing file attributes on Windows
- Getting ready
- How to do it...
- How it works...
- There's more...
- Reading data from a ZIP file
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Reading an Excel file
- Getting ready
- How to do it...
- How it works...
- See also
- Extracting data from a PDF
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 5. Working with XML in Groovy
- Introduction
- Reading XML using XmlSlurper
- Getting ready
- How to do it...
- How it works...
- See also
- Reading XML using XmlParser
- How to do it...
- How it works...
- See also
- Reading XML content with namespaces
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Searching in XML with GPath
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Searching in XML with XPath
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Constructing XML content
- How to do it...
- How it works...
- There's more...
- See also
- Modifying XML content
- Getting ready
- How to do it...
- How it works...
- See also
- Sorting XML nodes
- How to do it...
- How it works...
- There's more...
- See also
- Serializing Groovy Beans to XML
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 6. Working with JSON in Groovy
- Introduction
- Parsing JSON messages with JsonSlurper
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Constructing JSON messages with JsonBuilder
- How to do it...
- How it works...
- See also
- Modifying JSON messages
- How to do it...
- How it works...
- See also
- Validating JSON messages
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Converting JSON message to XML
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Converting JSON message to Groovy Bean
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using JSON to configure your scripts
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 7. Working with Databases in Groovy
- Introduction
- Creating a database table
- Getting ready
- How to do it...
- How it works...
- See also
- Connecting to an SQL database
- Getting ready
- How to do it...
- How it works...
- See also
- Querying an SQL database
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Modifying data in an SQL database
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Calling a stored procedure
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Reading BLOB/CLOB from a database
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Building a simple ORM framework
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using Groovy to access Redis
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using Groovy to access MongoDB
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using Groovy to access Apache Cassandra
- Getting ready
- How to do it...
- How it works...
- See also
- 8. Working with Web Services in Groovy
- Introduction
- Downloading content from the Internet
- How to do it...
- How it works...
- There's more...
- See also
- Executing an HTTP GET request
- How to do it...
- How it works...
- There's more...
- See also
- Executing an HTTP POST request
- How to do it...
- How it works...
- There's more...
- See also
- Constructing and modifying complex URLs
- How to do it...
- How it works...
- See also
- Issuing a REST request and parsing a response
- Getting ready
- How to do it...
- How it works...
- See also
- Issuing a SOAP request and parsing a response
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Consuming RSS and Atom feeds
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using basic authentication for web service security
- How to do it...
- How it works...
- See also
- Using OAuth for web service security
- Getting ready
- How to do it...
- How it works...
- See also
- 9. Metaprogramming and DSLs in Groovy
- Introduction
- Querying methods and properties
- Getting ready
- How to do it...
- How it works...
- See also
- Dynamically extending classes with new methods
- How to do it...
- How it works...
- There's more...
- See also
- Overriding methods dynamically
- Getting ready
- How to do it...
- How it works...
- Adding performance logging to methods
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Adding a caching functionality around methods
- Getting ready
- How to do it...
- How it works...
- See also
- Adding transparent imports to a script
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- DSL for executing commands over SSH
- Getting ready
- How to do it...
- How it works...
- See also
- DSL for generating reports from logfiles
- Getting ready
- How to do it...
- How it works...
- There's more...
- 10. Concurrent Programming in Groovy
- Introduction
- Processing collections concurrently
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Downloading files concurrently
- Getting ready
- How to do it...
- How it works...
- See also
- Splitting a large task into smaller parallel jobs
- How to do it...
- How it works...
- See also
- Running tasks in parallel and asynchronously
- Getting ready
- How to do it...
- How it works...
- See also
- Using actors to build message-based concurrency
- How to do it...
- How it works...
- See also
- Using STM to atomically update fields
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using dataflow variables for lazy evaluation
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Index
- Tytuł: Groovy 2 Cookbook. Java and Groovy go together like ham and eggs, and this book is a great opportunity to learn how to exploit Groovy 2 to the full. Packed with recipes, both intermediate and advanced, it's a great way to speed up and modernize your programming
- Autor: Luciano Fiandesio, Andrey Adamovich, Andrey Adamovich And Luciano Fiandesio
- Tytuł oryginału: Groovy 2 Cookbook. Java and Groovy go together like ham and eggs, and this book is a great opportunity to learn how to exploit Groovy 2 to the full. Packed with recipes, both intermediate and advanced, it's a great way to speed up and modernize your programming.
- ISBN: 9781849519373, 9781849519373
- Data wydania: 2013-10-22
- Format: Ebook
- Identyfikator pozycji: e_3cy4
- Wydawca: Packt Publishing