What you’ll learn:
- All things Groovy including its ecosystem, basic syntax, its object oriented features, meta programming etc
- The use of the Groovy console and building Groovy applications
- The different features of the Groovy language
Course content
Getting Started with Groovy
- Introduction
- Polyglot Programming
- Why Groovy
- Installation
- Groovy Shell
- Groovy Scripts
- IDEs
Installation and introduction to groovy
- Installing sdkman
- Installing groovy development kit using sdkman
- Understanding the various tools like groovyc, groovy shell and groovy console
- Writing very basic commands on the groovy shell
- How groovy compares to other JVM languages like Java
Working with XML
- Introducing Our Sample Project
- The GPX File Format
- Reading XML Documents
- Writing XML Documents
Variables & Operators
- Defining variables using the ‘def’ keyword
- Dynamic typing
- Explicitly defining data types for a variable
- Arithmetic, relational, logical operators
- Elvis and spaceship operators in groovy
Functions
- Defining functions in groovy
- Function with implicit and explicit returns
- Default arguments in functions
- Closures
- Functional programming in groovy
- Functions that take groovy map as argument
Branching & Looping
- ‘if’ , ‘if-else if-else’ selection statements for branching
- The groovy ‘switch’ statement to achieve branching
- Looping using ‘while’ and ‘for’
- ‘break’ and ‘continue’ statements
Object oriented programming
- Classes and objects
- Difference between instance variables and static variables.
- Instance and static functions
- Constructors
- Groovy bean class
- On demand encapsulation of object attributes in groovy
- Operator overloading in groovy classes
- Composition
- Inheritance
- Abstract classes
- Interfaces
- Traits
- Organizing groovy code in packages
- Default packages imported in groovy code
Collections
- Using the List data type of groovy
- Functional programming on list data structure using groovy closures
- Meta programming on list data structure
- Map data structure in groovy and various operations on a map
Exception handling
- Flow of a program in the event of an exception thrown in the program
- Exception handling using try-catch
- Defining custom exceptions and throwing them
- The finally block
- How groovy exception handling is different from java exception handling
Metaprogramming
- Meta Object protocol (MOP)
- MetaClass
- Adding dynamic methods to build in groovy classes at run time
- Adding dynamic methods in custom groovy classes at run time
Builders
- Introduction to the builder pattern
- Designing domain specific language (DSL) to initialize objects in groovy
- JSON builder
- Object graph builder
- Other builders available in the groovy programming language
Applications of groovy
- Build GUIs using SwingBuilder in groovy
- Build multi screen gui’s
- Connect gui’s to a database using groovy sql package
- Introduction to gradle
- Writing custom gradle scripts in groovy for automating build tasks
Working with REST Services
- Introduction
- Working with the Groovy RESTClient
- Parsing JSON Data with Groovy
- Working with the Groovy ConfigSlurper
Working with Databases Using Groovy
- Introduction
- Creating SQL Connections
- Inserting Data
- Querying and Updating Data
To see the full course content Download now
Course Prerequisites
There are no mandatory prerequisites to fulfil in order to learn Groovy. But it is always helpful for you to have the following knowledge and skills:- It is preferable for you to have exposure to Java or any other object-oriented programming language.
- A little knowledge on databases and SQL will be an added advantage.
Who can attend
- Java developers who want to adopt Grails
- Those who want to automate day to day programming tasks using Groovy
- Java developers looking out for a JVM language that expresses more with less code
- Developers of all levels who have some experience in another language
Number of Hours: 40hrs
Certification
NoneKey features
- One to One Training
- Online Training
- Fastrack & Normal Track
- Resume Modification
- Mock Interviews
- Video Tutorials
- Materials
- Real Time Projects
- Virtual Live Experience
- Preparing for Certification
FAQs
DASVM Technologies offers 300+ IT training courses with 10+ years of Experienced Expert level Trainers.
- One to One Training
- Online Training
- Fastrack & Normal Track
- Resume Modification
- Mock Interviews
- Video Tutorials
- Materials
- Real Time Projects
- Materials
- Preparing for Certification
Call now: +91-99003 49889 and know the exciting offers available for you!
We working and coordinating with the companies exclusively to get placed. We have a placement cell focussing on training and placements in Bangalore. Our placement cell help more than 600+ students per year.
Learn from experts active in their field, not out-of-touch trainers. Leading practitioners who bring current best practices and case studies to sessions that fit into your work schedule. We have a pool of experts and trainers are composed with highly skilled and experienced in supporting you in specific tasks and provide professional support. 24x7 Learning support from mentors and a community of like-minded peers to resolve any conceptual doubts. Our trainers has contributed in the growth of our clients as well as professionals.
All of our highly qualified trainers are industry experts with at least 10-12 years of relevant teaching experience. Each of them has gone through a rigorous selection process which includes profile screening, technical evaluation, and a training demo before they are certified to train for us. We also ensure that only those trainers with a high alumni rating continue to train for us.
No worries. DASVM technologies assure that no one misses single lectures topics. We will reschedule the classes as per your convenience within the stipulated course duration with all such possibilities. If required you can even attend that topic with any other batches.
DASVM Technologies provides many suitable modes of training to the students like:
- Classroom training
- One to One training
- Fast track training
- Live Instructor LED Online training
- Customized training
Yes, the access to the course material will be available for lifetime once you have enrolled into the course.
You will receive DASVM Technologies recognized course completion certification & we will help you to crack global certification with our training.
Yes, DASVM Technologies provides corporate trainings with Course Customization, Learning Analytics, Cloud Labs, Certifications, Real time Projects with 24x7 Support.
Yes, DASVM Technologies provides group discounts for its training programs. Depending on the group size, we offer discounts as per the terms and conditions.
We accept all major kinds of payment options. Cash, Card (Master, Visa, and Maestro, etc), Wallets, Net Banking, Cheques and etc.
DASVM Technologies has a no refund policy. Fees once paid will not be refunded. If the candidate is not able to attend a training batch, he/she is to reschedule for a future batch. Due Date for Balance should be cleared as per date given. If in case trainer got cancelled or unavailable to provide training DASVM will arrange training sessions with other backup trainer.
Your access to the Support Team is for lifetime and will be available 24/7. The team will help you in resolving queries, during and after the course.
Please Contact our course advisor +91-99003 49889. Or you can share your queries through info@dasvmtechnologies.com