{ Apache - Click By, By, Anupam Mundale. Anupam Mundale. Viraj Kulkarni. Viraj Kulkarni.

Slides:



Advertisements
Similar presentations
Castafiore platform Consists or intend to consist of 1.Advanced Web framework 2.Advanced Graph database 3.Designer studio (something like visual basic)
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Web MVC-2: Apache Struts Rimon Mikhaiel
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Eclipse Web Tools Platform.
Hello Vaadin! CS 3130 Summer 2015.
Views Dwight Deugo Nesa Matic
Web programming for project students Dr Jim Briggs.
Building and Deploying a Simple Web Application. Tomcat and JSP Tomcat is an application server, commonly used to host JSP applications Applications are.
Create a New Application and Project Open the Create Application dialog. Enter the application name of your choice and the directory. Select No Template.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Julien Thibault / Phil Brewster / Kristina Doing-Harris
Java Servlets and JSP.
WebSphere Studio Portal Toolkit Overview April/2003 Reginaldo Barosa.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
Lecture 2 - Struts ENTERPRISE JAVA. 2 Contents  Servlet Deployment  Servlet Filters  Model View Controllers  Struts  Dependency Injection.
Spring Roo CS476 Aleksey Bukin Peter Lew. What is Roo? Productivity tool Allows for easy creation of Enterprise Java applications Runs alongside existing.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
WebWork in Action An introduction to WebWork Patrick A. Lightbody.
JavaServer Faces: The Fundamentals Compiled from Sun TechDays workshops (JSF Basics, Web-Tier Codecamp: JavaServer Faces, Java Studio Creator; IBM RAD)
Pittsburgh Java User Group– Dec Java PureFaces: A JSF Framework Extension.
Learning Alfresco Forms Service By Examples
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
JBoss Developer Studio. JBoss Developer Studio provides a certified open source development environment that includes and integrates: Eclipse Eclipse.
® IBM Software Group © 2006 IBM Corporation Kick-start your Java Apps: Free Software, fast development Eclipse IDE, WASCE, DB2 Express-C.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Java Servlets CS-422. Application Mapping Your servlet application will be mapped to a directory structure: –“myapp” maps to some directory C:/docs/apps/myapp.
Developing Axis based Web Services using Eclipse 3.3 Saurabh Mittal Feb 28, 2008.
AN OVERVIEW OF SERVLET TECHNOLOGY SERVER SETUP AND CONFIGURATION WEB APPLICATION STRUCTURE BASIC SERVLET EXAMPLE Java Servlets - Compiled By Nitin Pai.
The PLASTIC Model to WSDL transformation tool UDA.
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
Web Applications - Basics. Introduction to Web Web features Clent/Server HyperText Transfer Protocol HyperText Markup Language URL addresses Web server.
JBoss Developer Studio BIRT Plugin. BIRT - Business Intelligence and Reporting Tools. BIRT plugin for JBoss Developer Studio is an Eclipse-based open.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Java Servlets example using NetBeans 6. Pre-requirements: Install Java JDK 1.6 Install NetBeans IDE 6 (we will use version NetBeans IDE update 16)
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Introduction to Web Dimitar Nenchev Ivan Nakov
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
JSF Framework Java Server Faces Presented by Songkran Totiya (6/10/2014)
A New Approach to Java Clients Robert Buffone Chief Architect Nexaweb Technologies By
Chính phủ điện tử TS. Phạm Văn Tính Khoa CNTT, ĐH Nông Lâm TP.HCM
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Presentation Title Subtitle DSpace UI Prototype 7 Spring, Angular.js, and the DSpace REST API.
Chapter 3 Servlet Basics. Contents A.Installing Eclipse WTP and configuring Tomcat B.Prime Number Problem C.Multiplication Table Problem.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
© 2009 by IBM; made available under the EPL v1.0 | Feb 1, 2009 Seneca 2009 Tim deBoer Gorkem Ercan Extend WTP Server Tools.
2 Copyright © 2004, Oracle. All rights reserved. ADF Development Process.
Google App Engine using Java 1. Outline Getting started Guestbook example Todo example Simplified Madlib 2.
1 Web Programming with Servlets & JSPs WEB APPLICATIONS – AN OVERVIEW.
Google App Engine using Java 1. Outline Getting started Guestbook example Todo example Simplified Madlib 2.
Labs: Create, deploy and test a simple web service
Introducing IBM Rational Software Architect
APACHE TOMCAT WEB SERVER
CS3220 Web and Internet Programming RESTful Web Service
Google Web Toolkit Tutorial
Unit 6-Chapter 2 Struts.
Introduction to Struts
Java Web Application Framework
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Create a Portlet Project in RAD
JavaServer Faces: The Fundamentals
Working with Libraries
Presentation transcript:

{ Apache - Click By, By, Anupam Mundale. Anupam Mundale. Viraj Kulkarni. Viraj Kulkarni.

JEE Web Application Framework JEE Web Application Framework Method to build Web Applications without MVC and JSP’s. Method to build Web Applications without MVC and JSP’s. Java Language support Java Language support Uses HTML templates and POJO’s. Uses HTML templates and POJO’s. Apache Velocity Engine to support HTML templates Apache Velocity Engine to support HTML templates Built on Java servlet API Built on Java servlet API Open source Project (Apache license 2.0) Open source Project (Apache license 2.0) Simple, easy to use, good performance and scalability Simple, easy to use, good performance and scalability Competing Frameworks – JSF, Tapestry, WebObjects and Apache Wicket Competing Frameworks – JSF, Tapestry, WebObjects and Apache Wicket Introduction

1) Install Click and add required JAR files to the Project and deploy. 2) Click IDE Click IDE is an eclipse plugin for developing Click Web Applications. Click IDE is an eclipse plugin for developing Click Web Applications. Click IDE Dependency – Eclipse 3.5.x and WTP 3.1.x Click IDE Dependency – Eclipse 3.5.x and WTP 3.1.x Unzip clickide-x.x.x.x.zip and put 2 folders (plugins/ and features/) into your ECLIPSE_HOME. 3) Click IDE Features Fast switching between Page classes and templates Project creation wizard Click page creation wizard Visual editor for the Click configuration file Velocity template editor Spring Framework and Apache Cayenne Integration Integrated Click documentation Click – Project Environment and Click IDE

Org.apache.click.page – Base Class Org.apache.click.page – Base Class - It contains methods and allow to handle events. - It contains methods and allow to handle events. - You can override in-built methods to provide custom - You can override in-built methods to provide custom functions. functions. Control Components – setEventListner () Control Components – setEventListner () - Example :– - Example :– Submit submitButton = new Submit("Submit Me", this, "onClick"); Submit submitButton = new Submit("Submit Me", this, "onClick"); When the button is clicked, the event is dispatched to your custom Page class’s onClick() Apache Click uses the Apache Velocity templating engine Page Templates are matched automatically with the classes that extend Page in your application using some default mapping rules Click Basics

1) Create Application Select New > Other from the Eclipse menu. From Select a Wizard, choose Web / Dynamic Web Project and click Next. Type a name for Project Name (for example, MyFirstClick). Select a Target Runtime, such as Apache Tomcat ) Import Click Libraries Click File > Import. Select General / File System from the list and click Next. Browse to the directory in which you expanded the Apache Click files and select the dist directory. From the list of files, select the click-{version}.jar and click-{version}- extras.jar files (see Figure 2). Make sure the WebContent/WEB-INF/lib folder is selected in the Into folder Create Web Application using Eclipse and import Click Libraries

ClickServlet Now that you have the JAR files in your WEB-INF directory, modify the Web application's web.xml file to include the ClickServlet, which is the single servlet used by Apache Click to dispatch events. Create Sample Application

com.example.myfirstclick.pages Now create a package into which your page classes will go (for example, com.example.myfirstclick.pages). After you create the package, create a new file called click.xml in your Web project's WEB-INF folder. Put the name of the package you just created in the click.xml file. Now that your project is set up, you are ready to start writing classes that extend the Apache Click classes. Continued….

org.apache.click.Page Create the new class in the package you created by selecting File > New > Other and selecting Java / Class. Make sure to enter org.apache.click.Page as the Superclass Create the new HTML page—called welcome.html Continued..

You can deploy the application by exporting the files as a Web Archive (WAR) to the Tomcat webapps folder. Steps to perform in Eclipse to deploy the app – - Click on the project and select File > Export. - Select Web / WAR file and click Next. -In the Destination field, browse to the Tomcat webapps folder. -Make sure Overwrite existing files is selected and click Finish. Running the Sample App

Very easy to learn Component and Page Oriented design Event base programming model Stateless (with support for light-weight stateful components) Server-side Ajax support Exceptional performance Automatic form rendering and client/server side validation Supports Velocity, JSP or FreeMarker page rendering Supports Java 1.5 and up Conclusion

a-apacheclick/ a-apacheclick/ a-apacheclick/ a-apacheclick/References

Thank You !!!