Groovy Recipes: Greasing the Wheels of Java (häftad)
Fler böcker inom
Häftad (Paperback)
Antal sidor
Steinberg, Daniel H. (ed.)
227 x 192 x 23 mm
500 g
Antal komponenter
Groovy Recipes: Greasing the Wheels of Java (häftad)

Groovy Recipes: Greasing the Wheels of Java

Häftad Engelska, 2008-03-01


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 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.

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,, 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.
Visa hela texten


Har du läst boken? Sätt ditt betyg »

Bloggat om Groovy Recipes: Greasing the Wheels of Java

Övrig information

Scott Davis is a senior software engineer with DigitalGlobe, a satellite imaging company. His role in the company is technical evangelist: educating developers in geographic technologies and making complex topics accessible to non-technical end users. Scott is a frequent presenter at national conferences and local user groups. He was the president of the Denver Java Users Group in 2003 when it was voted one of the top-ten JUGs in North America. Venkat Subramaniam is the founder of Agile Developer, Inc., and has been working with .NET since its pre-release Beta 2. He has used it extensively on commercial projects for his clients and has offered several courses on developing applications using .NET. He has trained and mentored more than 3,000 software developers in the United States, Canada, and Europe. He speaks frequently at software development conferences.Venkat is also an adjunct professor for the practice of computer science at University of Houston and teaches at Rice University's School for Continuing Studies. He holds a B.S. in computer engineering, an M.S. in electrical engineering, and a Ph.D. in computer science. He is the recipient of the 2004 UH Computer Science Department Teaching Excellence award. He is the author of the books .NET Gotchas, Practices of an Agile Developer. and Groovy Recipes (Pragmatic Bookshelf.)




  • Getting Started

  • New to Groovy

  • Java and Groovy Integration

  • Groovy from the Command Line

  • File Tricks

  • Parsing XML

  • Writing XML

  • Web Services

  • Metaprogramming

  • Working with Grails

  • Grails and Web Services