舉報

會員
Groovy 2 Cookbook
最新章節(jié):
Index
ThisbookfollowsaCookbookstyleandispackedwithintermediateandadvancedlevelrecipes.ThisbookisforJavadeveloperswhohaveaninterestindiscoveringnewwaystoquicklygetthejobdoneusinganewlanguagethatsharesmanysimilaritieswithJava.Thebook’srecipesstartsimple,thereforenopreviousGroovyexperienceisrequiredtounderstandthecodeandtheexplanationsaccompanyingtheexamples.
目錄(122章)
倒序
- 封面
- 版權(quán)信息
- 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
推薦閱讀
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程(第2版)
- Facebook Application Development with Graph API Cookbook
- Angular UI Development with PrimeNG
- Java EE框架整合開發(fā)入門到實戰(zhàn):Spring+Spring MVC+MyBatis(微課版)
- PLC編程與調(diào)試技術(shù)(松下系列)
- Visual FoxPro程序設(shè)計
- Python時間序列預(yù)測
- JavaCAPS基礎(chǔ)、應(yīng)用與案例
- ASP.NET開發(fā)與應(yīng)用教程
- Visual Basic程序設(shè)計習(xí)題與上機實踐
- Scratch趣味編程:陪孩子像搭積木一樣學(xué)編程
- Citrix XenServer企業(yè)運維實戰(zhàn)
- Scala編程(第5版)
- Mastering Embedded Linux Programming
- 計算機系統(tǒng)解密:從理解計算機到編寫高效代碼
- Python Natural Language Processing
- 快速搞定Spring Boot+Vue全棧開發(fā)
- QlikView for Finance
- Python樹莓派編程
- 商業(yè)銀行經(jīng)營管理(第2版)
- 深入理解Go語言
- Mastering Apache Spark
- Go語言學(xué)習(xí)指南:慣例模式與編程實踐
- 新一代垃圾回收器ZGC設(shè)計與實現(xiàn)
- Robot Operating System Cookbook
- Vagrant開發(fā)運維實戰(zhàn)
- MATLAB從基礎(chǔ)到精通
- Learning Underscore.js
- 前端開發(fā)必知必會:從工程核心到前沿實戰(zhàn)
- Java修煉指南:高頻源碼解析