Introduction to 12/13/20111 Prepared by: Vincent Schwarzer, Chih-Hung Hsieh Java Enterprise Application Development.

Slides:



Advertisements
Similar presentations
ASP.NET Intro An introduction to the languages and communication of an ASP.NET system.
Advertisements

Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Introducing Java CSC1401. Course Goals Teaching programming concepts In a “real” language.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
1 Java Basics. 2 Compiling A “compiler” is a program that translates from one language to another Typically from easy-to-read to fast-to-run e.g. from.
Shlomo Hershkop1 Introduction to java Class 1 Fall 2003 Shlomo Hershkop.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Ruby The Gem of new programming languages. An interpreted scripting language.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Trey Mack James Moore Osa Osar-Emokpae
Squirrel Programming Language By Nandini Bhatta CS537 Summer 2008.
Groovy & Grails Jean Barmash CTO, EnergyScoreCards.com
F# Shiva Srivastava David He Peter Bingel. Overview F# (pronounced "F sharp") is a functional and object oriented programming language for the Microsoft.NET.
© 2008 by «Andres Almiray»; made available under the EPL v1.0 | 03/17/2008 Introduction to Groovy.
SMALLTALK Presented by Latasha Gibbs, Natasha Harrison, and Robert G. Lewis “Common languages are tools, Smalltalk is a piece of art.”
Introduction to Java.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Introduction to scripting
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
V Avon High School Tech Club Agenda Old Business –Delete Files New Business –Week 18 Topics: Intro to HTML/CSS: Questions? Summer Work Letter.
Groovy WHAT IS IT? HOW DOES IT WORK? IS IT USEFUL?
Java Virtual Machine Java Virtual Machine A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use.
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
Groovy in 15 minutes… Johannes Carlén Callista Enterprise AB
Programming language A programming language is an artificial language designed to communicate instructions to a machine,languageinstructionsmachine particularly.
A brief introduction to 11ACM 朱旻申. Outline What is Groovy ? Differences between Groovy & Java About closure & Dagger Methods.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
CSCI-383 Object-Oriented Programming & Design Lecture 13.
Java means Coffee Java Coffee Beans The name “JAVA” was taken from a cup of coffee.
This is delicious cookie you must eat. :O~. Problem Domain Designed to be Reliable, high-performance and secure Comfortable and familiar to Java-language.
Grails Mansura Habiba 13 november Introduction What is Grails? Runs on the Java Virtual Machine Used Java like dynamic language Groovy Inspired.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
We will talking about story of JAVA language. By Kristsada Songpartom.
Ruby on Rails Evaluation – Cognitive Dimensions Joshua Sunshine
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
1. An Introduction A Programming Language A Technology Java Development Kit Java API One Language: Three Editions Standard Edition Enterprise Edition.
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
RUBY by Ryan Chase.
CSc 201 Introduction to Java George Wells Room 007, Hamilton Building
Software Development Introduction
Basic Syntax อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา Chapter 2.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
C is a high level language (HLL)
By: Chad Gallati, Melissa Plakyda, Jenny Wilkes References: /a-z_programming_languages_groovy/
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
JAVA TRAINING IN NOIDA. JAVA Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
CMSC 202 Computer Science II for Majors Fall 2010 Introduction Version 9/101.
CodeBeamer Bootcamp 2007 Customizing CodeBeamer features through scripting Aron Gombas Architect, Intland.
Introduction CMSC 202 Fall Instructors Mr. Ryan Bergeron – Lecture Section 01 Tues/Thu 1:00 – 2:15 am, Sondheim 111 – Lecture Section 04 Tues/Thu.
Object Oriented Programming in
Scripting Languages Info derived largely from Programming Language Pragmatics, by Michael Scott.
Introduction Python is an interpreted, object-oriented and high-level programming language, which is different from a compiled one like C/C++/Java. Its.
CS230 Tutorial Week 3.
Exploring JavaScript Ch 14
Special types Objects and operators built into the language but used only in modules: Ellipsis (also “…”): used chiefly in slices in modules like numpy.
מבוא ל Groovy אליהו חלסצ'י תכנות מתקדם תרגול מספר 12
Getting Started ARCS Lab..
Introduction to Programming in Java
Statements, Comments & Simple Arithmetic
EXTENSION AND INTEGRATION
Units with – James tedder
Units with – James tedder
(Computer fundamental Lab)
Introductory Java Programming
Introduction to Computer Science
Groovy.
from Lutz Dietrich and Hans Kluge
INTERFACES Explained By: Sarbjit Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
Presentation transcript:

Introduction to 12/13/20111 Prepared by: Vincent Schwarzer, Chih-Hung Hsieh Java Enterprise Application Development

12/13/20112 Java Enterprise Application Development Structure 1.The history of Groovy 2. What is Groovy? Features & Strengths 4. Groovy vs. Java OOP 3. Groovy Builder 5. Common use cases 6. Short example

12/13/20113 Java Enterprise Application Development The history of Groovy Several versions released between 2004 and 2006 James Strachan started developing Groovy in 2003 Released final version called Groovy 1.0 in 2007

12/13/20114 Java Enterprise Application Development What is Groovy? An agile and dynamic language for the JVM Builds upon the strength of Java Additional power features inspired by languages like Ruby, Python and SmallTalk Almost zero learning curve for Java Developers Seamlessly integrates with all existing Java classes and libraries You can use it anywhere you can use Java

12/13/20115 Java Enterprise Application Development Features & Strengths // old school Java code, but also valid Groovy code System.out.println("Hello, world!"); // idiomatic Groovy println "Hello, world!" // dynamic variable definition def name = “Peter" // GString featuring string interpolation println "Hello, $name" // => "Hello, Peter" // statically typed variable String songName = "Coding in the Name of" println "Now playing - $songName" String multiline = """this is a multiline string. There is not need to embed newline characters in it""" println multiline

12/13/20116 Java Enterprise Application Development Features & Strengths // method definition def greet(name) { println "Hello, $name!" } // method invocation greet “Peter" greet(“Peter“) // a list def beers = [“Becks", “Corona", “Budweiser", “Heineken"] // list access println "My favourite beer is ${beers[1]}“ for (i in beers) { println i } // imports can appear anywhere and support the creation of aliases import static java.util.Calendar.getInstance as now import java.sql.Date as SDate

12/13/20117 Java Enterprise Application Development Groovy Builder one use for builders is the generation of markup:

12/13/20118 Java Enterprise Application Development Groovy Builder Result:

12/13/20119 Java Enterprise Application Development Groovy vs. Java Similar capabilities to Java: Define classes, interfaces, enums, annotations Differences to Java: Classes (and interfaces etc.) public by default Methods public by default Property support within classes (auto-setters/getters)

12/13/ Java Enterprise Application Development Common use cases Web application development scripting Rapid prototyping As a proof on concept Exploratory Programming Test class / method capabilities

12/13/ Java Enterprise Application Development Thank You