Wicket in 60 Minutes Wicket 4 Newbs. Even Voorstellen...

Slides:



Advertisements
Similar presentations
WEB SERVICES. FIRST AND FOREMOST - LINKS Tomcat AXIS2 -
Advertisements

Sitecore SUGNL Meeting – SUGNL Website 13 maart 2013.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
OpusCollege and Spring-DM. OSGi based web applications – three strategies OSGi container embedded in another container: OSGi Bridge Server (OBS)  e.g.
Servlets, JSP and JavaBeans Joshua Scotton.  Getting Started  Servlets  JSP  JavaBeans  MVC  Conclusion.
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 Development with Karsten Schulz Terp-Nielsen Master Principal Sales Consultant Oracle Denmark.
Apache Wicket Gerolf Seitz. Web Development with just Java and a little bit of HTML.
A Blackboard Building Block™ Crash Course for Web Developers
SOAP : Simple Object Access Protocol
Web Services Web Services are the basic fundamental building blocks of invoking features that can be accessed by an application program. The accessibility.
Web MVC-2: Apache Struts Rimon Mikhaiel
Generate Dynamic Content On Cache Server Master’s Project Proposal by Aparna Yeddula.
{ Apache - Click By, By, Anupam Mundale. Anupam Mundale. Viraj Kulkarni. Viraj Kulkarni.
Creating your website Using Plain HTML. What is HTML? ► Web pages are authored in HyperText Markup Language (HTML) ► Plain text is marked up with tags,
Apache Wicket: web applications with just Java Xavier Hanin JavaZone ‘07.
Evolutie vs Revolutie Chris de Kok Evolutie vs Revolutie.NET 2015.NET 4.6 ASP.NET 5 -> MVC 6 Visual Studio 2015 C# 6.0 Agenda.
Struts 2.0 an Overview ( )
Lecture 2 - Struts ENTERPRISE JAVA. 2 Contents  Servlet Deployment  Servlet Filters  Model View Controllers  Struts  Dependency Injection.
Computer science Languages, etc.. Overview For web-applications (HTML, JS) – Designing languages (HMTL, CSS) – Server Languages (PHP, ASP) – Extensions.
Java Server Faces Çağatay Çivici Apache MyFaces Team Member
Pittsburgh Java User Group– Dec Java PureFaces: A JSF Framework Extension.
Cost Benefit Open Source Solutions By Eyal Golan – Senior Java Tikal Knowledge Introduction to.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:
Java Servlets Lec 27. Creating a Simple Web Application in Tomcat.
Peter Laird. | 1 Building Dynamic Google Gadgets in Java Peter Laird Managing Architect WebLogic Portal BEA Systems.
COP2800 – Computer Programming Using JAVA University of Florida Department of CISE Spring 2013 Lecture 35 – Overview of Java Web Programming Webpage:
Struts 2 introduction. Struts 2 framework Struts 2 A full-featured web application framework for the Java EE platform The Java Servlet API exposes the.
Struts 2 - The modern web application framework By Nalin De Zoysa
Markus Hjort Reaktor Innovations Java Web Development T WWW-palvelun HUT
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Spring MVC Essentials Getting started.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, Responds oriented other.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 3 1COMP9321, 15s2, Week.
The Template Method Pattern (Behavioral) ©SoftMoore ConsultingSlide 1.
©SoftMoore ConsultingSlide 1 Overview of Servlets and JavaServer Pages (JSP)
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
HTTP protocol Java Servlets. HTTP protocol Web system communicates with end-user via HTTP protocol HTTP protocol methods: GET, POST, HEAD, PUT, OPTIONS,
Object orientation and Packaging in Java Object Orientation and Packaging Introduction: After completing this chapter, you will be able to identify.
 Java Server Pages (JSP) By Offir Golan. What is JSP?  A technology that allows for the creation of dynamically generated web pages based on HTML, XML,
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
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.
Chapter 2 Java Struct 2. Content Basic MVC Architecture Struts 2 Overview Struts 2 - Architecture.
1 Objects In JavaScript. 2 Types of Object in JavaScript Built-in objects User Defined Objects Browser Object Document Object Model.
By Jonathan Smith. Road Map Introduction Company Information Project Overview Java Web Design and Development Summary Relation to IUP Acknowledgments.
Customizing Share Document Previews Will Abson Senior Integrations Engineer and Share Extras Project Lead
Creative Commons Attribution- NonCommercial-ShareAlike 2.5 License Sakai Programmer's Café Sakai Montreal CRIM Workshop Comparative Display Technologies.
Introduction to Java Web Programming Gregg Sporar
Wicket and Aida/Web Brief Comparison Jaroslav Havlín ČVUT FEL Subject X36ASS.
Labs: Create, deploy and test a simple web service
Kendo UI ASP.NET MVC Wrappers
Apache Wicket: web applications with just Java
Angular 4 + TypeScript Getting Started
Kendo UI ASP.NET MVC Wrappers
4166 Review.
The J2EE Framework Java Technologies External Application.
Apache Wicket Component Based Web Development Framework.
Unit 6-Chapter 2 Struts.
תכנות ב android אליהו חלסצ'י.
30 Java Applets.
Introduction to Struts
Java Web Application Framework
Apache Tuscany Demo BigBank Example
Using the Java Library API
Developing a Model-View-Controller Component for Joomla Part 2
Secure Web Programming
Introduction to Java Servlets
HTTP and HTML HTML HTTP HTTP – Standardize the packaging
Presentation transcript:

Wicket in 60 Minutes Wicket 4 Newbs

Even Voorstellen...

AgendaAgenda  Waarom Wicket?  Basis Ingredienten Wicket Applicatie  Demo: Hello World! met Maven en Wicket  Demo: Wicked Bookstore  Enkele Wicket Componenten

Waarom Wicket? (Hadden nog niet genoeg web frameworks?)

Jawel... EchoCocoonMaverick StrutsTurbineWebWork GWTTapestryClick SmileJappleSpring MVC SOFIAJatoTeaServlet JFormularStripesMelati ExpressoJPublish...

Maar Wicket...  Is Component Oriented  Houd HTML en Java Strikt Gescheiden  Heeft Geen XML configuratie nodig!

Wicket is Component Oriented Composite Pattern

Wicket is Component Oriented Voorbeeld: Form Components

Java en HTML Gescheiden HTML mark-up: famous quote here Java code: String quoteNeilArmstrong= ”This is one small step for a man, “ + “one giant leap for mankind."; add(new Label("quoteOfDay", quoteNeilArmstrong));

Geen XML Configuraties Meer! <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" " (...) <action path="/login" type="test.struts.LoginAction" > (...)

Wat gaat er in de soep? Wicket Basis Ingredienten

 Wicket dependency in pom.xml  Wicket Servlet Filter in web.xml  WebApplication class  WebPage class  HTML template ( + CSS )

Dependencies in pom.xml org.apache.wicket wicket ${wicket.version} Wicket ‘core’ library: org.apache.wicket wicket-spring ${wicket.version} Wicket Spring integratie library:

Servlet Filter in web.xml wicket.helloworld org.apache.wicket.protocol.http.WicketFilter applicationClassName nl.iprofs.MyWicketApplication wicket.helloworld /*

WebApplication Class package nl.iprofs; import org.apache.wicket.protocol.http.WebApplication; public class WicketApplication extends WebApplication { public MyWicketApplication() {} public Class getHomePage() { return HomePage.class; }

WebPage Class package nl.iprofs; import org.apache.wicket.PageParameters; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.WebPage; public class HomePage extends WebPage { public HomePage(final PageParameters parameters) { String neilArmstrongQuote = "This is one small step for a man, " + "one giant leap for mankind"; add( new Label("quoteOfDay", neilArmstrongQuote)); }

HTML Template Quote of the Day Quote of the Day famous quote here

Demo Hello Wicked World

Wicket Componenten

Wicket Component Structuur

Link Component HTML mark-up: Home Java code: Link homeLink = new BookmarkablePageLink("homeLink", HomePage.class);

ListView Component HTML mark-up: Boek A Java code: add(new ListView("categoryRow", categorieen) protected void populateItem(ListItem item) { Category category = (Category) item.getModelObject(); Link catLink = new BookmarkablePageLink( "catLink", HomePage.class); catLink.add(new Label("catLabel", category.getName())); item.add(catLink); } });

Demo WickedBookstore

Vragen... en antwoorden