舉報

會員
Groovy 2 Cookbook
最新章節:
Index
ThisbookfollowsaCookbookstyleandispackedwithintermediateandadvancedlevelrecipes.ThisbookisforJavadeveloperswhohaveaninterestindiscoveringnewwaystoquicklygetthejobdoneusinganewlanguagethatsharesmanysimilaritieswithJava.Thebook’srecipesstartsimple,thereforenopreviousGroovyexperienceisrequiredtounderstandthecodeandtheexplanationsaccompanyingtheexamples.
最新章節
- Index
- Using dataflow variables for lazy evaluation
- Using STM to atomically update fields
- Using actors to build message-based concurrency
- Running tasks in parallel and asynchronously
- Splitting a large task into smaller parallel jobs
品牌:中圖公司
上架時間:2021-07-23 15:04:05
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Index 更新時間:2021-07-23 15:57:40
- Using dataflow variables for lazy evaluation
- Using STM to atomically update fields
- Using actors to build message-based concurrency
- Running tasks in parallel and asynchronously
- Splitting a large task into smaller parallel jobs
- Downloading files concurrently
- Processing collections concurrently
- Introduction
- Chapter 10. Concurrent Programming in Groovy
- DSL for generating reports from logfiles
- DSL for executing commands over SSH
- Adding transparent imports to a script
- Adding a caching functionality around methods
- Adding performance logging to methods
- Overriding methods dynamically
- Dynamically extending classes with new methods
- Querying methods and properties
- Introduction
- Chapter 9. Metaprogramming and DSLs in Groovy
- Using OAuth for web service security
- Using basic authentication for web service security
- Consuming RSS and Atom feeds
- Issuing a SOAP request and parsing a response
- Issuing a REST request and parsing a response
- Constructing and modifying complex URLs
- Executing an HTTP POST request
- Executing an HTTP GET request
- Downloading content from the Internet
- Introduction
- Chapter 8. Working with Web Services in Groovy
- Using Groovy to access Apache Cassandra
- Using Groovy to access MongoDB
- Using Groovy to access Redis
- Building a simple ORM framework
- Reading BLOB/CLOB from a database
- Calling a stored procedure
- Modifying data in an SQL database
- Querying an SQL database
- Connecting to an SQL database
- Creating a database table
- Introduction
- Chapter 7. Working with Databases in Groovy
- Using JSON to configure your scripts
- Converting JSON message to Groovy Bean
- Converting JSON message to XML
- Validating JSON messages
- Modifying JSON messages
- Constructing JSON messages with JsonBuilder
- Parsing JSON messages with JsonSlurper
- Introduction
- Chapter 6. Working with JSON in Groovy
- Serializing Groovy Beans to XML
- Sorting XML nodes
- Modifying XML content
- Constructing XML content
- Searching in XML with XPath
- Searching in XML with GPath
- Reading XML content with namespaces
- Reading XML using XmlParser
- Reading XML using XmlSlurper
- Introduction
- Chapter 5. Working with XML in Groovy
- Extracting data from a PDF
- Reading an Excel file
- Reading data from a ZIP file
- Changing file attributes on Windows
- Searching for files
- Walking through a directory recursively
- Deleting a file or directory
- Filtering a text file's content
- Replacing tabs with spaces in a text file
- Writing to a file
- Processing every word in a text file
- Reading a text file line by line
- Reading from a file
- Introduction
- Chapter 4. Working with Files in Groovy
- Adding automatic logging to Groovy classes
- Defining type-checking rules for dynamic code
- Adding a functionality to the existing Java/Groovy classes
- Implementing multiple inheritance in Groovy
- Defining data structures as code in Groovy
- Defining code as data in Groovy
- Adding the cloning functionality to Groovy Beans
- Inheriting constructors in Groovy classes
- Writing less verbose Java Beans with Groovy Beans
- Searching strings with regular expressions
- Introduction
- Chapter 3. Using Groovy Language Features
- Checking Groovy code's quality with CodeNarc
- Generating documentation for Groovy code
- Integrating Groovy into the build process using Gradle
- Integrating Groovy into the build process using Maven
- Integrating Groovy into the build process using Ant
- Simplifying dependency management with Grape
- Compiling Groovy code
- Embedding Groovy into Java
- Using Java classes from Groovy
- Introduction
- Chapter 2. Using Groovy Ecosystem
- Configuring Groovy in IntelliJ IDEA
- Configuring Groovy in Eclipse
- Starting groovyConsole to execute Groovy snippets
- Using groovysh to try out Groovy commands
- Managing multiple Groovy installations on Linux
- Building Groovy from source
- Running Groovy with invokedynamic support
- Using Groovy to start a server on the command line
- Using Groovy as a command-line text file editor
- Executing Groovy code from the command line
- Installing Groovy on Linux and OS X
- Installing Groovy on Windows
- Introduction
- Chapter 1. Getting Started with Groovy
- Preface
- www.PacktPub.com
- About the Reviewers
- About the Authors
- Credits
- 版權信息
- 封面
- 封面
- 版權信息
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
- Chapter 1. Getting Started with Groovy
- Introduction
- Installing Groovy on Windows
- Installing Groovy on Linux and OS X
- Executing Groovy code from the command line
- Using Groovy as a command-line text file editor
- Using Groovy to start a server on the command line
- Running Groovy with invokedynamic support
- Building Groovy from source
- Managing multiple Groovy installations on Linux
- Using groovysh to try out Groovy commands
- Starting groovyConsole to execute Groovy snippets
- Configuring Groovy in Eclipse
- Configuring Groovy in IntelliJ IDEA
- Chapter 2. Using Groovy Ecosystem
- Introduction
- Using Java classes from Groovy
- Embedding Groovy into Java
- Compiling Groovy code
- Simplifying dependency management with Grape
- Integrating Groovy into the build process using Ant
- Integrating Groovy into the build process using Maven
- Integrating Groovy into the build process using Gradle
- Generating documentation for Groovy code
- Checking Groovy code's quality with CodeNarc
- Chapter 3. Using Groovy Language Features
- Introduction
- Searching strings with regular expressions
- Writing less verbose Java Beans with Groovy Beans
- Inheriting constructors in Groovy classes
- Adding the cloning functionality to Groovy Beans
- Defining code as data in Groovy
- Defining data structures as code in Groovy
- Implementing multiple inheritance in Groovy
- Adding a functionality to the existing Java/Groovy classes
- Defining type-checking rules for dynamic code
- Adding automatic logging to Groovy classes
- Chapter 4. Working with Files in Groovy
- Introduction
- Reading from a file
- Reading a text file line by line
- Processing every word in a text file
- Writing to a file
- Replacing tabs with spaces in a text file
- Filtering a text file's content
- Deleting a file or directory
- Walking through a directory recursively
- Searching for files
- Changing file attributes on Windows
- Reading data from a ZIP file
- Reading an Excel file
- Extracting data from a PDF
- Chapter 5. Working with XML in Groovy
- Introduction
- Reading XML using XmlSlurper
- Reading XML using XmlParser
- Reading XML content with namespaces
- Searching in XML with GPath
- Searching in XML with XPath
- Constructing XML content
- Modifying XML content
- Sorting XML nodes
- Serializing Groovy Beans to XML
- Chapter 6. Working with JSON in Groovy
- Introduction
- Parsing JSON messages with JsonSlurper
- Constructing JSON messages with JsonBuilder
- Modifying JSON messages
- Validating JSON messages
- Converting JSON message to XML
- Converting JSON message to Groovy Bean
- Using JSON to configure your scripts
- Chapter 7. Working with Databases in Groovy
- Introduction
- Creating a database table
- Connecting to an SQL database
- Querying an SQL database
- Modifying data in an SQL database
- Calling a stored procedure
- Reading BLOB/CLOB from a database
- Building a simple ORM framework
- Using Groovy to access Redis
- Using Groovy to access MongoDB
- Using Groovy to access Apache Cassandra
- Chapter 8. Working with Web Services in Groovy
- Introduction
- Downloading content from the Internet
- Executing an HTTP GET request
- Executing an HTTP POST request
- Constructing and modifying complex URLs
- Issuing a REST request and parsing a response
- Issuing a SOAP request and parsing a response
- Consuming RSS and Atom feeds
- Using basic authentication for web service security
- Using OAuth for web service security
- Chapter 9. Metaprogramming and DSLs in Groovy
- Introduction
- Querying methods and properties
- Dynamically extending classes with new methods
- Overriding methods dynamically
- Adding performance logging to methods
- Adding a caching functionality around methods
- Adding transparent imports to a script
- DSL for executing commands over SSH
- DSL for generating reports from logfiles
- Chapter 10. Concurrent Programming in Groovy
- Introduction
- Processing collections concurrently
- Downloading files concurrently
- Splitting a large task into smaller parallel jobs
- Running tasks in parallel and asynchronously
- Using actors to build message-based concurrency
- Using STM to atomically update fields
- Using dataflow variables for lazy evaluation
- Index 更新時間:2021-07-23 15:57:40