Two Laptop Bag*
The moose likes Groovy and the fly likes Beginner in Groovy and Grails . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Beginner in Groovy and Grails ." Watch "Beginner in Groovy and Grails ." New topic
Author

Beginner in Groovy and Grails .

ruchita mahajan
Ranch Hand

Joined: Jun 16, 2009
Posts: 33
Hi All
I am new to Groovy and Grails.Not getting exactly from where to start.Can anyone suggest me from where to start.

Thanks in advance
Ruchita
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Are you familiar with Groovy language? If not, you have to start learning Groovy. You may not need to be an expert in the language, but well versed with its syntax and language idioms. So you would start learning about groovy from here.
For Grails you can start from here and try out sample applications.


Mohamed Sanaulla | My Blog
ruchita mahajan
Ranch Hand

Joined: Jun 16, 2009
Posts: 33
Yesterday , i read a lot of code snippets n desceptions about the groovy.but now i feel as if i have forgotten everything.
Please explain me how to merege two text files in groovy?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

ruchita mahajan wrote:Yesterday , i read a lot of code snippets n desceptions about the groovy.but now i feel as if i have forgotten everything.
Please explain me how to merege two text files in groovy?

Merging files- Read one file and append the contents to another. You can use the classes in java.io to get this done or if you want to do it groovier you can explore the Groovy File API.
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1621
    
  13

ruchita mahajan wrote:Hi All
I am new to Groovy and Grails.Not getting exactly from where to start.Can anyone suggest me from where to start.

Thanks in advance
Ruchita


Grails:

You could start with Scott Davis's excellent Grails tutorials on the IBM DeveloperWorks site, which will give you a chance to explore different aspects of Grails.

The Definitive Guide To Grails by Graeme Rocher and Jeff Brown is an excellent reference guide to Grails, and there's a new version out in August: The Definitive Guide To Grails 2.

Grails In Action by Glen Smith and Peter Ledbrook is also an excellent and very thorough tutorial guide to Grails.

Groovy:

Dierk Koenig's Groovy In Action is the best book I've seen on Groovy, although it's from 2007. There's a new version coming out later this year.

Venkat Subramaniam's Programming Groovy is pretty good, although not as thorough as the Koenig book.

General:

You could easily start with Grails without learning Groovy first, provide you know a bit of Java and are a quick learner. Working through tutorials etc on Grails will be more fun and will expose you to lots of "groovy" ways of doing things.

But you will soon want to understand more about how Groovy works, and how to write idiomatic Groovy code (instead of simply writing Java with no semi-colons, which is possible but not a great way to use Groovy!). One advantage of learning Groovy is that it's a great tool for scripting with the JVM, as it gives you access to all the Java libraries with the minimum of hassle or code-bloat.





No more Blub for me, thank you, Vicar.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

ruchita mahajan,
Your post was moved to a new topic.
Please UseOneThreadPerQuestion
 
Consider Paul's rocket mass heater.
 
subject: Beginner in Groovy and Grails .
 
Similar Threads
Calling java program from groovy...
Groovy won't replace Java - Why not?
Groovy's performance....
Groovy/Java Integration
Groovy for builds