summer training report on google web toolkit by abhishek kumar srivastava

31
A SUMMER TRAINING REPORT ON GWT (JAVA) WEB APPLICATION DEVELOPMENT VASKOE TECHNOLOGY PRIVATE LIMITED, LUCKNOW Submitted by ABHISHEK KUMAR SRIVASTAVA B.TECH 4 th YEAR (I.T.) VIT, MEERUT ROLL NO:-0828813005

Upload: asrivastava138

Post on 01-Dec-2014

89 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

A

SUMMER TRAINING REPORT

ON

GWT (JAVA) WEB APPLICATION DEVELOPMENT

VASKOE TECHNOLOGY PRIVATE LIMITED,

LUCKNOW

Submitted by

ABHISHEK KUMAR SRIVASTAVA

B.TECH 4th YEAR (I.T.)

VIT, MEERUT

ROLL NO:-0828813005

Page 2: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

ACKNOWLEDGEMENT

It is a great pleasure for me to present this report, which is a comprehensive study about GWT in Vaskoe Technologies Private Limited and the reports generated by it.

Learning on GWT was a big challenge and I had a great experience. It was really fascinating one and it will be a real experiences for me to get success in the corporate life.

I take this opportunity to express my gratitude to all those who helped me in the completion of my dissertation successfully.

I want to thank Mr. AMIT SAINI for his proper guidance and valuable suggestion. I am sure without his guidance and help I would not be able to succeed.

Page 3: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

CERTIFICATE OF ORIGINALITY

This is to certify that the project report entitled”GWT VASKOE TECHNOLOGIES PRIVATE LIMITED and the reports generated by it” submitted to VASKOE TECHNOLOGIES PRIVATE LIMITED in partial fulfillment of the requirement for the award of the degree of the B.Tech 3rd year, original work carried out by me .

This is report or a similar report on the topic has not been submitted for any other examination and does not from part of any other examination and does not form part of any course undergone by me.

Page 4: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

TABLE OF CONTENT:-

Acknowledgement Certificate of originality Introduction of company Objective of the study Area of training GWT(JAVA)WEB APPLICATION

DEVELOPMENT Introduction of GWT History of GWT Development with GWT Components of GWT Features of GWT GWT widgets and panels Developing with GWT Conclusion Bibliography

Page 5: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

VASKOE TECHNOLOGIES PRIVATE LIMITED

Page 6: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 7: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 8: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

ABOUT WAAYOO 

Waayoo's thorough aim is to raise the educational standard by various

practical means. Waayoo conducts workshops provide industrial training and project development assistance. Experienced engineers from different fields have compiled some standard projects for you to learn. You choose a project or want to make one of your own, Waayoo will help you learn and understand various phases of development of your project. You can join courses online or at our centers.

What We Believe?"Knowledge is a power, everyone desires it and we desire to spread it." Keeping this philosophy in mind we conduct industrial training, short term courses and workshops & try to give you the best at lowest possible fee.

"There is no end. There is no beginning. There is only the infinite passion of life." Sometimes you have a passion to do something but due to lack of knowledge, proper guide, and a good team, you are unable to

Page 9: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

achieve your goals. You can team up with us and waayoo will help you to accomplish your tasks.

Our Approach"Tell me and I forget, Show me and I remember, involve me and I understand." Following the learn by doing methodology waayoo gives you a broader view of courses by providing animated presentations on complex topics for better understanding and 24 hour online support for all your problems and queries.

Waayoo is associated with Vaskoe Technologies Private Limited, a leading Embedded Robotics Product Development Company.

Page 10: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

OBJECTIVE OF THE STUDY

Page 11: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

The objectives of the study is to understanding and study the basics of Web Application Development using GWT, Java Enterprise Edition and web site designing using HTML, CSS, JAVASCRIPT and AJAX. During the training period, I was learning the basics of WEB APPLICATION DEVELOPMENT using GWT, JAVA ENTERPRISE EDITION and website designing.

AREA OF TRAINING

Page 12: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

GWT (JAVA) WEB APPLICATION DEVELOPMENT

INTRODUCTION:-Google Web Toolkit (GWT) is an open source set of tools that allows web

developers to create and maintain complex JavaScript end applications in Java. Other than a few native libraries, everything is Java source that can be built on any supported platform with the included GWT Ant build files. It is licensed under the Apache License version 2.0.GWT emphasizes reusable, efficient solutions to recurring Ajax challenges, namely asynchronous remote

procedurecalls,history.Management,bookmarking, internationalization.

Page 13: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

HISTORY OF GWT:-GWT version 1.0 RC 1 (build 1.0.20) was released on May 16, 2006. Google announced GWT at the Java One conference, 2006.

Release history:-

GWT 1.0 May 17, 2006 GWT 1.1 August 11, 2006 GWT 1.2 November 16, 2006 GWT 1.3 February 5, 2007 GWT 1.4 August 28, 2007 GWT 1.5 August 27, 2008 GWT 1.6 April 07, 2009 GWT 1.7 July 13, 2009 GWT 2.0 December 08, 2009 GWT 2.0.1 February 02, 2010 GWT 2.0.2 February 12, 2010 GWT 2.0.3 February 19, 2010 GWT 2.0.4 July 02, 2010 GWT 2.1.0 October 19, 2010 GWT 2.1.1 December 16, 2010 GWT 2.2.0 February 11, 2011 GWT 2.3.0 May 3, 2011 GWT 2.4.0 September 8, 2011 (Latest)

DEVELOPMENT WITH GWT:-Using GWT, developers can rapidly develop and debug Ajax applications in the Java language using the Java development tools of their choice. When the application is deployed, the GWT cross-compiler translates the Java application to standalone JavaScript files that are optionally obfuscated and deeply optimized.

Page 14: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

GWT does not revolve only around user interface programming; it is a general set of tools for building any sort of high-performance client-side JavaScript functionality. In live presentations, the developers of GWT emphasize that "GWT is not its libraries" and that it only includes a library but is not fundamentally yet another Ajax library. This open-ended philosophy sometimes surprises developers new to GWT who expect it to provide an end-to-end "on rails" application framework. Indeed, many key architectural decisions are left completely to the developer. The GWT mission statement clarifies the philosophical breakdown of GWT's role versus the developer's role. History is an example of such: although GWT manages history tokens as users click Back or Forward in the browser, it does not prescribe how to map history tokens to an application state.

GWT applications can be run in two modes:-

Development mode (formerly Hosted mode): The application is run as Java byte code within the Java Virtual Machine (JVM). This mode is typically used for development, supporting and debugging.

Production mode (formerly Web mode): The application is run as pure JavaScript and HTML, compiled from the Java source. This mode is typically used for deployment.

Several open-source plugins are available for making GWT development easier with other integrated development environment. E.g.- GWT 4NB for NetBeans, Cypal Studio for GWT, Eclipse and Developer etc. The Google Plug-in for Eclipse handles most GWT related tasks in the IDE, including creating projects, invoking the GWT compiler, creating GWT launch configurations, validations, syntax highlighting, etc.

Page 15: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

COMPONENTS OF GWT:- The major GWT components include:-

GWT Java-to-JavaScript Compilero Translates the Java programming language to the JavaScript

programming language.

GWT Development Modeo Allows the developers to run and execute GWT applications

in development mode (the app runs as Java in the JVM without compiling to JavaScript). Prior to 2.0, GWT hosted mode provided a special-purpose "hosted browser" to debug your GWT code. In 2.0, the web page being debugged is viewed within a regular browser. Development mode is supported through the use of a native-code plugin called the Google Web Toolkit Developer Plugin for many popular browsers.

JRE emulation libraryo JavaScript implementations of the commonly used classes in

the Java standard class library (such as most of the java.lang package classes and a subset of the java.util package classes).

GWT Web UI class libraryo A set of custom interfaces and classes for creating widgets.

Page 16: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

FEATURES OF GWT:- Dynamic and reusable UI components: programmers can use pre-

designed classes to implement otherwise time-consuming dynamic behaviors, such as drag-and-drop or sophisticated visual tree structures.

Simple RPC mechanism Browser history management Support for full-featured Java debugging GWT handles some cross-browser issues for the developer. J Unit integration Support for Internationalization and localization The developers can mix handwritten JavaScript in the Java source

code using the JavaScript Native Interface (JSNI). Support for using Google APIs in GWT applications (initially,

support for Google Gears) Open-source The developers can design and develop their application in a pure

object-oriented fashion, since they're using Java (instead of JavaScript).Common JavaScript errors, such as typos and type mismatches, are caught at compile time.

Page 17: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

GWT WIDGETS AND PANELS:-

Page 18: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

Developing with GWT

Code in IDE Preview with “hosted-mode” browser Debug in IDE Compile to JavaScript/Test in “web-mode” Deploy to server

Page 19: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 20: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 21: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 22: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 23: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 24: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 25: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava
Page 26: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

CONCLUSION:-During the training the objectives of the study is to understanding and study the basics of Web Application Development using GWT, Java Enterprise Edition and web site designing using HTML, CSS, JAVASCRIPT and AJAX. During the training period, I was learning the basics of WEB APPLICATION DEVELOPMENT using GWT, JAVA ENTERPRISE EDITION and website designing.

Website-www.abhishek.waayoo.com (Successfully developed and hosted in my Summer Training.

Page 27: Summer Training Report on GOOGLE WEB TOOLKIT by Abhishek Kumar Srivastava

BIALIOGRAPHY:-http://www.google.com

http://www.code.google.com

Google Web Toolkit-Wikipedia.

Google Web Toolkit on Internet.

GWT in Action-Robert Hanson.

GWT in Practice-Charles Collins.

EXT GWT 2.0-Beginner’s Guide.

GWT Application Development (Dec 2010).