Groovy Recipes
없습니다
도서+교보Only(교보배송)을 함께 15,000원 이상 구매 시 무료배송
15,000원 미만 시 2,500원 배송비 부과
20,000원 미만 시 2,500원 배송비 부과
15,000원 미만 시 2,500원 배송비 부과
1Box 기준 : 도서 10권
알립니다.
- 해외주문도서는 고객님의 요청에 의해 주문하는 '개인 오더' 상품이기 때문에, 단순한 고객변심/착오로 인한 취소, 반품, 교환의 경우 '해외주문 반품/취소 수수료'를 부담하셔야 합니다. 이점 유의하여 주시기 바랍니다.
- 반품/취소 수수료:(1)서양도서-판매정가의 12%, (2)일본도서-판매정가의 7% (반품/취소 수수료는, 수입제반비용(FedEx수송비용, 관세사비, 보세창고료, 내륙 운송비, 통관비 등)과 재고리스크(미판매 리스크, 환차손)에 따른 비용을 포함하며, 서양도서는 판매정가의 12%, 일본도서는 판매정가의 7%가 적용됩니다.)
- 외국도서의 경우 해외제공정보로만 서비스되어 미표기가된 정보가 있을 수 있습니다. 필요한 정보가 있을경우 1:1 문의게시판 을 이용하여 주십시오.
해외주문/바로드림/제휴사주문/업체배송건의 경우 1+1 증정상품이 발송되지 않습니다.
패키지
북카드
'Groovy Recipes' is targeted at the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away. If you need more information, each recipe is explained in plain English.
Scott Davis is the Editor in Chief of aboutGroovy.com. He is also an author and independent consultant. He is passionate about open source solutions and agile development. He has worked on a variety of Java platforms, from JEE to JSE to JME (sometimes all on the same project). He is the co-author of JBoss At Work (O'Reilly), and author of Google Maps API (Pragmatic Bookshelf) and GIS for Web Developers: Adding Where to Your Web Applications (Pragmatic Bookshelf).
Scott Davis is the Editor in Chief of aboutGroovy.com. He isalso an author and independent consultant. He is passionateabout open source solutions and agile development. He hasworked on a variety of Java platforms, from JEE to JSE to JME(sometimes all on the same project).He is the co-author of JBoss At Work (O'Reilly), and author ofGoogle Maps API (Pragmatic Bookshelf) and GIS for WebDevelopers: Adding Where to Your Web Applications(Pragmatic Bookshelf).
Each recipe in "Groovy Recipes" begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly. You'll see how to speed up nearly every aspect of the development process using Groovy. Groovy makes mundane file management tasks like copying and renaming files trivial. Reading and writing XML has never been easier with XmlParsers and XmlBuilders. Breathe new life into Arrays, Maps, and Lists with a number of convenience methods. 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. As an added bonus, this book also covers Grails. You'll be amazed at how quickly you can have a first-class web application up and running from ground zero. Grails includes everything you need in a single zip filea web server (Jetty), a database (HSQLDB), Spring, Hibernate, even a Groovy version of Ant called GANT. We cover everything from getting a basic website in place to advanced features that take you beyond HTML into the world of Web Services: REST, JSON, Atom, Podcasting, and much much more.
Each recipe in Groovy Recipesbegins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly. You'll see how to speed up nearly every aspect of the development process using Groovy. Groovy makes mundane file management tasks like copying and renaming files trivial. Reading and writing XML has never been easier with XmlParsers and XmlBuilders. Breathe new life into Arrays, Maps, and Lists with a number of convenience methods. 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. As an added bonus, this book also covers Grails. You'll be amazed at how quickly you can have a first-class web application up and running from ground zero. Grails includes everything you need in a single zip filea web server (Jetty), a database (HSQLDB), Spring, Hibernate, even a Groovy version of Ant called GANT. We cover everything from getting a basic website in place to advanced features that take you beyond HTML into the world of Web Services: REST, JSON, Atom, Podcasting, and much much more.
Groovy and Grails give you the power of the Java platform together with the flexibility and dynamism of a scripting language. Pick one of the many example projects in this book: at first you'll scratch your head and ask, "where's all the code?" Then you'll smile as you realize that Groovy allows you to write code the way you always thought you should. You will never look at Java the same way again.Groovy Recipesis targeted at the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away. If you need more information, each recipe is explained in plain English.Nearly every aspect of the development process can be sped up using Groovy. Groovy makes mundane file management tasks like copying and renaming files trivial. Reading and writing XML has never been easier with XmlParsers and XmlBuilders. JDBC gets a fresh makeover. Breathe new life into Arrays, Maps, and Lists with a number of convenience methods. Even Ant gets turbo-charged. You can mix Groovy right into your build.xml, or replace it completely with code from an AntBuilder.As an added bonus, this book also covers Grails. You'll be amazed at how quickly you can have a first-class web application up and running from ground zero. Grails includes everything you need in a single zip file, a web server (Jetty), a database (HSQLDB), Spring, Hibernate, Sitemesh, even Ant. If you're looking for Ajax support, Grails ships with leading libraries like Prototype, script.aculo.us, Yahoo UI, and Dojo. We cover everything from getting a basic application up and running to advanced features such as deploying to other webservers and databases, adding a Captcha, integrating with legacy EJB applications, and even adding a Google Map.
Groovy Recipes is targeted at the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away. If you need more information, each recipe is explained in plain English. Nearly every aspect of the development process can be sped up using Groovy. Groovy makes mundane file management tasks like copying and renaming files trivial. Reading and writing XML has never been easier with XmlParsers and XmlBuilders. JDBC gets a fresh makeover. Breathe new life into Arrays, Maps, and Lists with a number of convenience methods. Even Ant gets turbo- charged. You can mix Groovy right into your build.xml, or replace it completely with code from an AntBuilder.
This guide is for the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away and covers everything from getting a basic application up and running to advanced features such as deploying to other webservers and databases.
This guide is for the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away and covers everything from getting a basic application up and running to advanced features such as deploying to other webservers and databases.
"If you're a busy Java professional who needs quick solutions to everyday problems, then Groovy Recipes is for you." "The Groovy language and Grails web framework give you seamless integration with your legacy Java code while adding the flexibility and dynamism of a scripting language. Groovy allows you to write code the way you always thought you should - you'll never look at Java the same way again." "Each recipe in Groovy Recipes begins with a quick-start concise code example followed by in-depth explanation in plain English. These recipes will get you up-to-speed in a Groovy environment quickly."--BOOK JACKET.
작가정보
목차
Preface p. 1 Introduction p. 3 Groovy, the Way Java Should Be p. 5 Stripping Away the Verbosity p. 7 Groovy: The Blue Pill or the Red Pill? p. 8 Road Map p. 10 Acknowledgments p. 11 Getting Started p. 13 Installing Groovy p. 13 Running a Groovy Script (groovy) p. 16 Compiling Groovy (groovyc) p. 17 Running the Groovy Shell (groovysh) p. 17 Running the Groovy Console (groovyConsole) p. 22 Running Groovy on a Web Server (Groovlets) p. 22 Groovy + Eclipse p. 26 Groovy + IntelliJ IDEA p. 27 Groovy + TextMate p. 28 Groovy + [Insert Your IDE or Text Editor Here] p. 29 New to Groovy p. 31 Automatic Imports p. 32 Optional Semicolons p. 32 Optional Parentheses p. 34 Optional Return Statements p. 36 Optional Datatype Declaration (Duck Typing) p. 37 Optional Exception Handling p. 38 Operator Overloading p. 40 Safe Dereferencing (?) p. 42 Autoboxing p. 43 Groovy Truth p. 44 Embedded Quotes p. 46 Heredocs (Triple Quotes) p. 46 GStrings p. 47 List Shortcuts p. 48 Map Shortcuts p. 52 Ranges p. 55 Closures and Blocks p. 57 Java and Groovy Integration p. 59 GroovyBeans (aka POGOs) p. 59 Autogenerated Getters and Setters p. 61 getProperty and SetProperty p. 64 Making Attributes Read-Only p. 65 Constructor Shortcut Syntax p. 66 Optional Parameters/Default Values p. 67 Private Methods p. 68 Calling Groovy from Java p. 69 Calling Java from Groovy p. 71 Interfaces in Groovy and Java p. 71 The Groovy Joint Compiler p. 72 Compiling Your Project with Ant p. 74 Compiling Your Project with Maven p. 75 Groovy from the Command Line p. 77 Running Uncompiled Groovy Scripts p. 77 Shebanging Groovy p. 78 Accepting Command-Line Arguments p. 79 Running a Shell Command p. 80 Using Shell Wildcards in Groovy Scripts p. 81 Running Multiple Shell Commands at Once p. 82 Waiting for a Shell Command to Finish Before Continuing p. 82 Getting System Properties p. 83 Getting Environment Variables p. 85 Evaluating a String p. 86 Calling Another Groovy Script p. 87 Groovy on the Fly (groovy -e) p. 89 Including JARs at the Command Line p. 89 File Tricks p. 91 Listing All Files in a Directory p. 91 Reading the Contents of a File p. 95 Writing Text to a File p. 96 Copying Files p. 99 Using AntBuilder to Copy a File p. 100 Using AntBuilder to Copy a Directory p. 101 Moving/Renaming Files p. 103 Deleting Files p. 103 Creating a ZIP File/Tarball p. 104 Unzipping/Untarring Files p. 105 Parsing XML p. 107 The "I'm in a Hurry" Guide to Parsing XML p. 107 Understanding the Difference Between XmlParser and XmlSlurper p. 108 Parsing XML Documents p. 112 Dealing with XML Attributes p. 112 Getting the Body of an XML Element p. 115 Dealing with Mixed-Case Element Names p. 116 Dealing with Hyphenated Element Names p. 117 Navigating Deeply Nested XML p. 118 Parsing an XML Document with Namespaces p. 123 Populating a GroovyBean from XML p. 125 Writing XML p. 127 The "I'm in a Hurry" Guide to Creating an XML Document p. 127 Creating Mixed-Case Element Names p. 128 Creating Hyphenated Element Names p. 129 Creating Namespaced XML Using MarkupBuilder p. 129 Understanding the Difference Between MarkupBuilder and StreamingMarkupBuilder p. 130 Creating Parts of the XML Document Separately p. 131 Creating Namespaced XML Using StreamingMarkupBuilder p. 133 Printing Out the XML Declaration p. 133 Printing Out Processing Instructions p. 134 Printing Arbitrary Strings (Comments, CDATA) p. 134 Writing StreamingMarkupBuilder Output to a File p. 136 StreamingMarkupBuilder at a Glance p. 136 Creating HTML on the Fly p. 137 Converting CSV to XML p. 139 Converting JDBC ResultSets to XML p. 142 Web Services p. 143 Finding Your Local IP Address and Name p. 143 Finding a Remote IP Address and Domain Name p. 145 Making an HTTP GET Request p. 146 Working with Query Strings p. 150 Making an HTTP POST Request p. 155 Making an HTTP PUT Request p. 158 Making an HTTP DELETE Request p. 160 Making a RESTful Request p. 161 Making a CSV Request p. 163 Making a SOAP Request p. 163 Making an XML-RPC Request p. 165 Parsing Yahoo Search Results as XML p. 167 Parsing an Atom Feed p. 168 Parsing an RSS Feed p. 169 Metaprogramming p. 173 Discovering the Class p. 174 Discovering the Fields of a Class p. 175 Checking for the Existence of a Field p. 177 Discovering the Methods of a Class p. 180 Checking for the Existence of a Method p. 182 Creating a Field Pointer p. 184 Creating a Method Pointer p. 185 Calling Methods That Don't Exist (invokeMethod) p. 185 Creating an Expando p. 186 Adding Methods to a Class Dynamically (Categories) p. 188 Adding Methods to a Class Dynamically (ExpandoMetaClass) p. 190 Working with Grails p. 193 Installing Grails p. 194 Creating Your First Grails App p. 197 Understanding Grails Environments p. 205 Running Grails on a Different Port p. 206 Generating a WAR p. 207 Changing Databases p. 208 Changing the Home Page p. 211 Understanding Controllers and Views p. 212 Dynamic Scaffolding p. 214 Validating Your Data p. 217 Managing Table Relationships p. 220 Mapping Classes to Legacy Databases p. 225 Grails and Web Services p. 227 Returning XML p. 227 Returning JSON p. 229 Returning an Excel Spreadsheet p. 231 Setting Up an Atom Feed p. 233 Setting Up an RSS Feed for Podcasts p. 237 Installing Plug-Ins p. 241 Index p. 243 Table of Contents provided by Ingram. All Rights Reserved.
기본정보
ISBN | 9780978739294 ( 0978739299 ) |
---|---|
발행(출시)일자 | 2008년 05월 01일 |
쪽수 | 249쪽 |
크기 |
193 * 227
* 20
mm
/ 526 g
|
총권수 | 1권 |
언어 | 영어 |
Klover
e교환권은 적립 일로부터 180일 동안 사용 가능합니다.
리워드는 작성 후 다음 날 제공되며, 발송 전 작성 시 발송 완료 후 익일 제공됩니다.
리워드는 리뷰 종류별로 구매한 아이디당 한 상품에 최초 1회 작성 건들에 대해서만 제공됩니다.
판매가 1,000원 미만 도서의 경우 리워드 지급 대상에서 제외됩니다.
일부 타인의 권리를 침해하거나 불편을 끼치는 것을 방지하기 위해 아래에 해당하는 Klover 리뷰는 별도의 통보 없이 삭제될 수 있습니다.
- 도서나 타인에 대해 근거 없이 비방을 하거나 타인의 명예를 훼손할 수 있는 리뷰
- 도서와 무관한 내용의 리뷰
- 인신공격이나 욕설, 비속어, 혐오발언이 개재된 리뷰
- 의성어나 의태어 등 내용의 의미가 없는 리뷰
리뷰는 1인이 중복으로 작성하실 수는 있지만, 평점계산은 가장 최근에 남긴 1건의 리뷰만 반영됩니다.
구매 후 리뷰 작성 시, e교환권 200원 적립
문장수집
e교환권은 적립 일로부터 180일 동안 사용 가능합니다. 리워드는 작성 후 다음 날 제공되며, 발송 전 작성 시 발송 완료 후 익일 제공됩니다.
리워드는 한 상품에 최초 1회만 제공됩니다.
주문취소/반품/절판/품절 시 리워드 대상에서 제외됩니다.
구매 후 리뷰 작성 시, e교환권 100원 적립