Java Web Application Framework

Slides:



Advertisements
Similar presentations
MWD1001 Website Production Using JavaScript with Forms.
Advertisements

Servers- Apache Tomcat Server Server-side scripts- Java Server Pages Java Server Pages - Xue Bai.
Apache Struts Technology
Web Applications Development Using Coldbox Platform Eddie Johnston.
IBM WebSphere Portal © 2008 IBM Corporation 1 Deliver an Irresistible User Experience  Provides an interactive user experience  No programming needed,
Struts1 Apache Struts Dr Jim Briggs. Struts2 What is Struts? Struts is an open source framework for building Java web applications Supports MVC/Model.
Struts Basics SSE USTC Qing Ding. Agenda What is and Why Struts? Struts architecture – Controller: Focus of this presentation – Model – View Struts tag.
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
{ Apache - Click By, By, Anupam Mundale. Anupam Mundale. Viraj Kulkarni. Viraj Kulkarni.
Apache Struts Technology A MVC Framework for Java Web Applications.
TimeTracker 2, Take 1  Servlets Web Interface (jsp) Servlet (business logic and processing) App Engine Datastore Form Submit R/W.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
Introduction to Java web programming Dr Jim Briggs JWP intro1.
Intro to Spring CJUG - January What is Spring? “The Spring framework provides central transaction control of various objects.” This means that any.
Struts 2.0 an Overview ( )
Struts. Agenda Preface Struts and its components An example The architecture required for Struts Applications.
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.
JavaServer Faces: The Fundamentals Compiled from Sun TechDays workshops (JSF Basics, Web-Tier Codecamp: JavaServer Faces, Java Studio Creator; IBM RAD)
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Java Server Faces Çağatay Çivici Apache MyFaces Team Member
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
JDeveloper 10g and JavaServer Faces: High-Performance UIs on the Web Avrom Roy-Faderman Senior Programmer May, 2006.
JavaServer Faces Jeff Schmitt October 5, Introduction to JSF Presents a standard framework for building presentation tiers for web applications.
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
Standalone Java Application vs. Java Web Application
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Introduction to Web Dimitar Nenchev Ivan Nakov
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Java Web Development with NetBeans IDE -- Kai Qian Chapter 5 JavaServer Faces (JSF) Technology.
JAVA SERVER FACES ADITI RAJORIYA UNI – ar2630. POINTS TO BE DISSCUSED WHAT IS JSF? WHY JSF? ARCHITECTURE JSF VERSIONS UI COMPONENTS JSF STRUCTURE AND.
JSF Framework Java Server Faces Presented by Songkran Totiya (6/10/2014)
Service Side Ajax Richard Schmidt gmail. Com Metservice.
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Model View Controller MVC Web Software Architecture.
Apache Struts. J2EE Web Application using MVC design pattern Why MVC? Separate components = easier maintenance – Model component holds object data – View.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Spring MVC Essentials Getting started.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
By Jonathan Smith. Road Map Introduction Company Information Project Overview Java Web Design and Development Summary Relation to IUP Acknowledgments.
Apache Struts Technology A MVC Framework for Java Web Applications.
Struts 2 Development. Topics  Roles in Struts Development  Control Flow  Actions  Struts 2 Views and Target  Struts 2 Custom Tags  Validation 
Java Server Pages Can web pages be created specially for each user?
COMP9321 Web Application Engineering Semester 2, 2016
Design Patterns: Model View Controller
Apache Wicket Component Based Web Development Framework.
Haritha Dasari Josue Balandrano Coronel -
Unit 6-Chapter 2 Struts.
Microsoft Office Illustrated
Design and Maintenance of Web Applications in J2EE
Intro to Spring CJUG - January 2013.
Introduction to Struts
ISE 390 Dynamic Web Development
REST.
Java Servlet Ziad A. Al-Sharif.
Distributed System Using Java 2 Enterprise Edition (J2EE)
Modern web applications
The Model Layer What is Model?
AJAX Impact on Telecom It’s not just for web sites anymore.
JavaServer Faces: The Fundamentals
Modern web applications
Struts BY: Tejashri Udavant..
Presentation transcript:

Java Web Application Framework Apache Wicket Java Web Application Framework

What is Wicket? Web Application Framework Component-Component-based Framework Wicket 1.4 is Java 1.5+ compliant

Where does Wicket fit?

Request / Response JSP Request / Response

Model 2 (MVC) Struts, Spring MVC, Stripes

Advantages of R/R Rendering views is generally quite fast Development can leverage existing tag libraries Recruiting developers may be easier Modern implementations have good support for DI and IoC frameworks

Disadvantages of R/R Controller implementations must explicitly consider multiple concurrent users and threads Controllers generally work literally in terms ofHTTP requests and responses Controllers often explicitly manage state Not strictly Object Oriented The programming model is skewed

The Impedance Mismatch The Programming Model Programming in Java - do we regularly focus on how the JVM manages object instances and variables? Generally, website development requires an understanding of the HTTP protocol. IE: manually managing state within and across requests forces front end handlers to be protocol specific.

What if ... ? What if we considered a page ... a Page? What if we considered a button ... a Button? And upon clicking a button, handled an onClick event? What if web-development resembled Swing or event-driven development? What kind of framework could possibly enable this?!

Enter ... Wicket Component-based framework Instead of creating a controller, servlet or action class ... create a Page Place components on said Page and define how each component reacts to user input •Build the Page in Java to manage HTML page elements ... not the other way around

Web App Config web.xml

Wicket Config WicketApplication.java

General Structure Layout the element hierarchy Style the elements Markup (HTML’s Role) Code (Java’s Role) Properties Files

Hello World Markup Java

Result

Forms (HTML) Markup

Forms (Java) Java

Component Family

Advantages POJO-centric Avoid overuse of XML configuration files Fully solve back button problem Easy to create bookmarkable pages Reusability Easy to integrate with Java security Compatible with any ordinary HTML editor

Wicket Resources Wicket Links http://wicket.apache.org/ http://wicketstuff.org/ http://cwiki.apache.org/WICKET/ Wicket Books Wicket in Action (Manning) Pro Wicket (Apress)