Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Dashboard
Groovy
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>Java developers benefit from using Groovy, but so can you who <strong>don't already know Java</strong>. If you want to access the power of the Java Virtual Machine and Development Kit libraries when programming, but don't want to learn the Java Language, you can <strong>use Groovy instead</strong>. Or maybe you do want to learn Java, but do so the easy way: you can <strong>learn Groovy first</strong>. You'll be productive sooner, and can go on to learn more about Java at your own pace.</p> <p>Much of the documentation on this website at Codehaus is for those who already know Java. These pages are for you who don't, so you can <strong>learn enough of the Groovy basics</strong> to easily use the other documentation on this website. They introduce <strong>Groovy's core classes and syntax</strong> together. All code examples have been tested using Groovy 1.0 or later inside a script. It's aimed at <strong>you who have already programmed before</strong>, just not in Java, maybe in PHP, Perl, or Visual Basic. Do note that although this documentation is correct and detailed, it's still a little raw because it's still being written.</p> <p> <a href="http://groovy.codehaus.org/JN0025-Starting">Getting Started</a> - enough background to dive into the tutorials that follow</p> <p><strong>1. Numeric Processing</strong><br /> <a href="http://groovy.codehaus.org/JN0515-Integers">Integer Math</a> - choose from many types of integers</p> <p> <a href="http://groovy.codehaus.org/JN0525-Decimals">Decimal Math</a> - for high-precision decimal math</p> <p> <a href="http://groovy.codehaus.org/JN0535-Floats">Floating Point Math</a> - for high-speed decimal math</p> <p> <a href="http://groovy.codehaus.org/JN0545-Dates">Dates and Times</a> - enabling complex date manipulations</p> <p><strong>2. Collections</strong><br /> <a href="http://groovy.codehaus.org/JN1015-Collections">Lists and Sets</a> - group various items into a collection</p> <p> <a href="http://groovy.codehaus.org/JN1025-Arrays">Arrays</a> - fixed-size arrays for faster collections</p> <p> <a href="http://groovy.codehaus.org/JN1035-Maps">Maps</a> - assign collected values to keys</p> <p><strong>3. Text Processing</strong><br /> <a href="http://groovy.codehaus.org/JN1515-Characters">Characters</a> - access the full power of Unicode</p> <p> <a href="http://groovy.codehaus.org/JN1525-Strings">Strings</a> - easily handle strings of characters</p> <p> <a href="http://groovy.codehaus.org/JN1535-Patterns">String Pattern Matching</a> - find patterns within strings</p> <p><strong>4. Input and Output</strong><br /> <a href="http://groovy.codehaus.org/JN2015-Files">Files</a> - manipulate the file system easily</p> <p> <a href="http://groovy.codehaus.org/JN2025-Streams">Streams, Readers, and Writers</a> - access data as a flow of information</p> <p><strong>5. Control Structures</strong><br /> <a href="http://groovy.codehaus.org/JN2515-Closures">Blocks, Closures, and Functions</a> - compose programs from many building blocks</p> <p> <a href="http://groovy.codehaus.org/JN2525-Classes">Expandos, Classes, and Categories</a> - encapsulate program complexity</p> <p> <a href="http://groovy.codehaus.org/JN2535-Control">Program Control</a> - various ways to structure program logic</p> <p><strong>6. Data Typing</strong><br /> <a href="http://groovy.codehaus.org/JN3015-Types">Static Typing and Interfaces</a> - put compile-time restrictions in programs</p> <p> <a href="http://groovy.codehaus.org/JN3025-Inheritance">Inheritance</a> - use classes and methods for many purposes</p> <p> <a href="http://groovy.codehaus.org/JN3035-Exceptions">Exceptions</a> - handle exception and error conditions simply</p> <p><strong>7. Meta-Programming</strong><br /> <a href="http://groovy.codehaus.org/JN3515-Interception">Interceptors</a> - intercept method calls</p> <p> <a href="http://groovy.codehaus.org/JN3525-MetaClasses">MetaClasses</a> - add and modify behavior of objects</p> <p> <a href="http://groovy.codehaus.org/JN3535-Reflection">Class Reflection</a> - examine and manipulate objects dynamically <span style="color: rgb(153,153,153);">- <strong>IN PROGRESS</strong></span></p> <p><span style="color: rgb(153,153,153);"><strong>Other Topics Coming</strong><br /> Packages<br /> Multi-Threading<br /> Networking<br /> Internationalization<br /> Annotations<br /> Enums<br /> Builders<br /> Class Loading<br /> Permissions</span></p> <p>To continue learning Groovy, you can now go on to:<br /> <a href="http://java.sun.com">Java</a>, the engine behind Groovy's power and performance<br /> <a href="http://java.sun.com/docs/books/tutorial/uiswing/index.html">Swing</a>, the graphical interface for Java, made easy with Groovy's own <a href="http://groovy.codehaus.org/Swing+Builder">SwingBuilder</a><br /> <a href="http://www.eclipse.org">Eclipse</a>, the free IDE with a <a href="http://groovy.codehaus.org/Eclipse+Plugin">Groovy plugin</a> to make managing your code easy<br /> <a href="http://groovy.codehaus.org/Modules">useful Groovy modules</a>, such as <a href="http://groovy.codehaus.org/Gant">Gant</a>, which extend the Groovy system<br /> <a href="http://www.grails.org">Grails</a>, bringing the power of Groovy to website development and deployment</p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced