Controller annotati. con Spring MVC 2.5

Size: px
Start display at page:

Download "Controller annotati. con Spring MVC 2.5"

Transcription

1 Controller annotati con Spring MVC 2.5

2 Spring MVC

3 The Old Style

4 The RequestMapping( {"/my/*.html") public class MyController public void index() { // do something useful

5 Configuration No, thanks! (at least while I m writing the code)

6 WEB-INF/web.xml < web-app> < display-name> JavaDay 2009 Demo Web Application < /display-name> <!-- < context-param> < param-name> contextconfiglocation < /param-name> < param-value>/web-inf/applicationcontext.xml < /param-value> < /context-param> --> < listener> < listener-class>org.springframework.web.context.contextloaderlistener < /listener-class> < /listener> < servlet> < servlet-name>javaday < /servlet-name> < servlet-class>org.springframework.web.servlet.dispatcherservlet < /servlet-class> < load-on-startup >1< /load-on-startup> < /servlet> < servlet-mapping> < servlet-name> javaday < /servlet-name> < url-pattern >*.html < /url-pattern> < /servlet-mapping> < welcome-file-list> < welcome-file> redirect.jsp < /welcome-file> < /welcome-file-list> < /web-app>

7 WEB-INF/javaday-servlet.xml <?xml version=" 1. 0 " encoding="utf-8"? > <beans xmlns=" xmlns:xsi=" 001/XMLSchema-instance" xmlns:context=" xmlns:p=" xsi:schemalocation=" < context:component-scan base-package=" it.jugpadova.javaday.controller"/> <!-- <bean class="org.springframework.web.servlet.mvc.annotation.annotationmethodhandleradapter"> < property name="webbindinginitializer" > < bean class="it.jugpadova.javaday.javadaybindinginitializer"/ > < /property> < /bean> --> <bean id="viewresolver" class="org.springframework.web.servlet.view.internalresourceviewresolver" p:prefix="/web-inf/jsp/" p:suffix=".jsp" /> < /beans>

8 Parancoe meta-framework Spring MVC + Hibernate/JPA + easy DAO +...plugins

9 Using RequestMapping("/contact/ *.html") public class ContactController private ContactDao public void list(model model) { List< Contact > contacts = contactdao.findall(); model.addattribute("contacts", contacts);

10 WEB-INF/jsp/contact/list.jsp < table> < c:foreach var="contact" items=" ${ contacts"> < tr> < td>${ contact.name </td> < td>${ contact. </td> < td> < a href="edit.html?id= ${ contact.id " > Edit < /a> < a href="delete.html?id= ${ contact.id " > Delete < /a> < /td> < /tr> < /c:foreach> < /table> < c:if test=" ${ empty contacts" > No contacts in the DB < /c:if> < a href="edit.html" > New < /a>

11 More in the countries ) public List< Country > getcountries() { // producing and returning the list

12 Getting public String RequestParam("id") Long id) { Contact contact = contactdao.get(id); if (contact == null) { throw new RuntimeException("Contact not found"); contactdao.delete(contact); return "redirect:list.html";

13 Preparing for a public void RequestParam(value = "id", Model model) { required = false) Long id, Contact contact = null; if (id!= null) { contact = contactdao.get(id); if (contact == null) { throw new RuntimeException("Contact not found"); else { contact = new Contact(); model.addattribute("contact", contact);

14 WEB-INF/jsp/contact/edit.jsp < form:form commandname=" contact" method="post" action=" ${ cp /contact/save.html" > < table> < tr> < td> Name: < /td> < td> < form:input path="name"/ > < /td> < /tr> < tr> < td> < /td> < td> < form:input path=" "/ > < /td> < /tr> < tr> < td > < /td> < td>< input type="submit" value="submit"/ >< /td> < /tr> < /table> < form:errors path=" *" cssclass="errorbox"/ > < /form:form>

15 Submit RequestMapping( SessionAttributes( {"contact") public class ContactController { public String Contact contact, SessionStatus status) { contactdao.store(contact); status.setcomplete(); return "redirect:list.html";

16 private Validator public String ModelAttribute("contact") Contact contact, BindingResult result, SessionStatus status) { validator.validate(contact, result); if (result.haserrors()) { return "contact/edit"; contactdao.store(contact); status.setcomplete(); return "redirect:list.html";

17 continueonerrors=false) public String ModelAttribute("contact") Contact contact, BindingResult result, SessionStatus status) { contactdao.store(contact); status.setcomplete(); return "redirect:list.html";

18 File upload <form:form commandname="contact" method="post" action=" ${ cp /contact/save.html" enctype="multipart/form-data"> < table> <! > < tr> < td> Picture: < /td> < td> < input type="file" name="picture" id="picture"/ > < /td> < /tr> <! > < /form:form>

19 Changing the protected void initbinder(webdatabinder binder) { binder.registercustomeditor(byte [].class, new ByteArrayMultipartFileEditor());

20 Binary public void RequestParam("id") Long id, throws IOException { OutputStream os) Contact contact = contactdao.get(id); os.write(contact.getpicture()); os.flush(); os.close(); < img src= ${ cp /contact/picture.html >

21 Questions??

Controlling Web Application Behavior

Controlling Web Application Behavior 2006 Marty Hall Controlling Web Application Behavior The Deployment Descriptor: web.xml JSP, Servlet, Struts, JSF, AJAX, & Java 5 Training: http://courses.coreservlets.com J2EE Books from Sun Press: http://www.coreservlets.com

More information

CONTROLLING WEB APPLICATION BEHAVIOR WITH

CONTROLLING WEB APPLICATION BEHAVIOR WITH CONTROLLING WEB APPLICATION BEHAVIOR WITH WEB.XML Chapter Topics in This Chapter Customizing URLs Turning off default URLs Initializing servlets and JSP pages Preloading servlets and JSP pages Declaring

More information

Web Service Development Using CXF. - Praveen Kumar Jayaram

Web Service Development Using CXF. - Praveen Kumar Jayaram Web Service Development Using CXF - Praveen Kumar Jayaram Introduction to WS Web Service define a standard way of integrating systems using XML, SOAP, WSDL and UDDI open standards over an internet protocol

More information

Ch-03 Web Applications

Ch-03 Web Applications Ch-03 Web Applications 1. What is ServletContext? a. ServletContext is an interface that defines a set of methods that helps us to communicate with the servlet container. There is one context per "web

More information

Java Server Pages combined with servlets in action. Generals. Java Servlets

Java Server Pages combined with servlets in action. Generals. Java Servlets Java Server Pages combined with servlets in action We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer

More information

JSR 289: SIP Servlet 1.1 Provides Significant Benefits for SIP Application Developers

JSR 289: SIP Servlet 1.1 Provides Significant Benefits for SIP Application Developers JSR 289: SIP Servlet 1.1 Provides Significant Benefits for SIP Application Developers It's official SIP Servlet 1.1, finalized in late August, introduces a powerful new application selection model, enables

More information

Please send your comments to: KZrobok@Setfocus.com

Please send your comments to: KZrobok@Setfocus.com Sun Certified Web Component Developer Study Guide - v2 Sun Certified Web Component Developer Study Guide...1 Authors Note...2 Servlets...3 The Servlet Model...3 The Structure and Deployment of Modern Servlet

More information

Integration of Shibboleth and (Web) Applications

Integration of Shibboleth and (Web) Applications workshop Integration of Shibboleth and (Web) Applications MPG-AAI Workshop Clarin Centers Prague 2009 2009-11-06 (Web) Application Protection Models Classical Application behind Shibboleth Standard Session

More information

Web Container Components Servlet JSP Tag Libraries

Web Container Components Servlet JSP Tag Libraries Web Application Development, Best Practices by Jeff Zhuk, JavaSchool.com ITS, Inc. dean@javaschool.com Web Container Components Servlet JSP Tag Libraries Servlet Standard Java class to handle an HTTP request

More information

Configuring Tomcat for a Web Application

Configuring Tomcat for a Web Application Configuring Tomcat for a Web Application In order to configure Tomcat for a web application, files must be put into the proper places and the web.xml file should be edited to tell Tomcat where the servlet

More information

Web Application Architecture (based J2EE 1.4 Tutorial)

Web Application Architecture (based J2EE 1.4 Tutorial) Web Application Architecture (based J2EE 1.4 Tutorial) 1 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee of Sun Microsystems, the contents here are created as his own personal

More information

Software Design Document Securing Web Service with Proxy

Software Design Document Securing Web Service with Proxy Software Design Document Securing Web Service with Proxy Federated Access Manager 8.0 Version 0.3 Please send comments to: dev@opensso.dev.java.net This document is subject to the following license: COMMON

More information

Creating Java EE Applications and Servlets with IntelliJ IDEA

Creating Java EE Applications and Servlets with IntelliJ IDEA Creating Java EE Applications and Servlets with IntelliJ IDEA In this tutorial you will: 1. Create IntelliJ IDEA project for Java EE application 2. Create Servlet 3. Deploy the application to JBoss server

More information

Servlet 3.0. Alexis Moussine-Pouchkine. mercredi 13 avril 2011

Servlet 3.0. Alexis Moussine-Pouchkine. mercredi 13 avril 2011 Servlet 3.0 Alexis Moussine-Pouchkine 1 Overview Java Servlet 3.0 API JSR 315 20 members Good mix of representation from major Java EE vendors, web container developers and web framework authors 2 Overview

More information

How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post

How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post Understanding Architecture and Framework of J2EE using Web Application Devadrita Dey Sarkar,Anavi jaiswal, Ankur Saxena Amity University,UTTAR PRADESH Sector-125, Noida, UP-201303, India Abstract: This

More information

PowerTier Web Development Tools 4

PowerTier Web Development Tools 4 4 PowerTier Web Development Tools 4 This chapter describes the process of developing J2EE applications with Web components, and introduces the PowerTier tools you use at each stage of the development process.

More information

Arjun V. Bala Page 20

Arjun V. Bala Page 20 12) Explain Servlet life cycle & importance of context object. (May-13,Jan-13,Jun-12,Nov-11) Servlet Life Cycle: Servlets follow a three-phase life cycle, namely initialization, service, and destruction.

More information

Getting Started Guide. Version 1.8

Getting Started Guide. Version 1.8 Getting Started Guide Version 1.8 Copyright Copyright 2005-2009. ICEsoft Technologies, Inc. All rights reserved. The content in this guide is protected under copyright law even if it is not distributed

More information

Liferay Enterprise ecommerce. Adding ecommerce functionality to Liferay Reading Time: 10 minutes

Liferay Enterprise ecommerce. Adding ecommerce functionality to Liferay Reading Time: 10 minutes Liferay Enterprise ecommerce Adding ecommerce functionality to Liferay Reading Time: 10 minutes Broadleaf + Liferay ecommerce + Portal Options Integration Details REST APIs Integrated IFrame Separate Conclusion

More information

CHAPTER 9: SERVLET AND JSP FILTERS

CHAPTER 9: SERVLET AND JSP FILTERS Taken from More Servlets and JavaServer Pages by Marty Hall. Published by Prentice Hall PTR. For personal use only; do not redistribute. For a complete online version of the book, please see http://pdf.moreservlets.com/.

More information

Servlet and JSP Filters

Servlet and JSP Filters 2009 Marty Hall Servlet and JSP Filters Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/

More information

Spring 3.1 to 3.2 in a Nutshell. Sam Brannen Senior Software Consultant

Spring 3.1 to 3.2 in a Nutshell. Sam Brannen Senior Software Consultant Spring 3.1 to 3.2 in a Nutshell 17 April 2012 Sam Brannen Senior Software Consultant Speaker Profile Spring & Java Consultant @ Swi4mind Developing Java for over 14 years Spring Framework Core Commi?er

More information

Configure a SOAScheduler for a composite in SOA Suite 11g. By Robert Baumgartner, Senior Solution Architect ORACLE

Configure a SOAScheduler for a composite in SOA Suite 11g. By Robert Baumgartner, Senior Solution Architect ORACLE Configure a SOAScheduler for a composite in SOA Suite 11g By Robert Baumgartner, Senior Solution Architect ORACLE November 2010 Scheduler for the Oracle SOA Suite 11g: SOAScheduler Page 1 Prerequisite

More information

Java Web Programming. Student Workbook

Java Web Programming. Student Workbook Student Workbook Java Web Programming Mike Naseef, Jamie Romero, and Rick Sussenbach Published by ITCourseware, LLC., 7245 South Havana Street, Suite 100, Centennial, CO 80112 Editors: Danielle Hopkins

More information

Handling the Client Request: Form Data

Handling the Client Request: Form Data 2012 Marty Hall Handling the Client Request: Form Data Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html 3 Customized Java EE Training: http://courses.coreservlets.com/

More information

Creating A Walking Skeleton

Creating A Walking Skeleton Creating A Walking Skeleton Write and Automate First Acceptance Test Automate Build and Package Automate Deploy Implement Feature Automate Static Analysis Automate Code Coverage & Integration Test 1. Add

More information

Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8)

Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8) Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8) Java Servlets: 1. Switch to the Java EE Perspective (if not there already); 2. File >

More information

In this chapter the concept of Servlets, not the entire Servlet specification, is

In this chapter the concept of Servlets, not the entire Servlet specification, is falkner.ch2.qxd 8/21/03 4:57 PM Page 31 Chapter 2 Java Servlets In this chapter the concept of Servlets, not the entire Servlet specification, is explained; consider this an introduction to the Servlet

More information

Java Servlet 3.0. Rajiv Mordani Spec Lead

Java Servlet 3.0. Rajiv Mordani Spec Lead Java Servlet 3.0 Rajiv Mordani Spec Lead 1 Overview JCP Java Servlet 3.0 API JSR 315 20 members > Good mix of representation from major Java EE vendors, web container developers and web framework authors

More information

Development. with NetBeans 5.0. A Quick Start in Basic Web and Struts Applications. Geertjan Wielenga

Development. with NetBeans 5.0. A Quick Start in Basic Web and Struts Applications. Geertjan Wielenga Web Development with NetBeans 5.0 Quick Start in Basic Web and Struts pplications Geertjan Wielenga Web Development with NetBeans 5 This tutorial takes you through the basics of using NetBeans IDE 5.0

More information

Web Applications. For live Java training, please see training courses at

Web Applications. For live Java training, please see training courses at 2009 Marty Hall Using and Deploying Web Applications Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/

More information

Piotr Nowicki's Homepage. Java EE 6 SCWCD Mock Exam. "Simplicity is the ultimate sophistication." Important!

Piotr Nowicki's Homepage. Java EE 6 SCWCD Mock Exam. Simplicity is the ultimate sophistication. Important! Piotr Nowicki's Homepage "Simplicity is the ultimate sophistication." Java EE 6 SCWCD Mock Exam Posted on March 27, 2011 by Piotr 47 Replies Edit This test might help to test your knowledge before taking

More information

Copyright 2008 The Pragmatic Programmers, LLC.

Copyright 2008 The Pragmatic Programmers, LLC. Extracted from: Stripes... and Java Web Development Is Fun Again This PDF file contains pages extracted from Stripes, published by the Pragmatic Bookshelf. For more information or to purchase a paperback

More information

Hello World Portlet Rendered with JSP for WebSphere Portal Version 4.1

Hello World Portlet Rendered with JSP for WebSphere Portal Version 4.1 1 of 11 16.10.2002 11:41 Hello World Portlet Rendered with JSP for WebSphere Portal Version 4.1 Table of Contents Creating the directory structure Creating the Java code Compiling the code Creating the

More information

SSC - Web applications and development Introduction and Java Servlet (II)

SSC - Web applications and development Introduction and Java Servlet (II) SSC - Web applications and development Introduction and Java Servlet (II) Shan He School for Computational Science University of Birmingham Module 06-19321: SSC Outline Outline of Topics Servlet Configuration

More information

SSO Plugin. Authentication service for HP, Kinetic, Jasper, SAP and CA products. J System Solutions. JSS SSO Plugin Authentication service

SSO Plugin. Authentication service for HP, Kinetic, Jasper, SAP and CA products. J System Solutions. JSS SSO Plugin Authentication service SSO Plugin Authentication service for HP, Kinetic, Jasper, SAP and CA products J System Solutions http://www.javasystemsolutions.com Version 3.6 Introduction... 4 Implementing SSO... 5 Copying the SSO

More information

Principles and Techniques of DBMS 5 Servlet

Principles and Techniques of DBMS 5 Servlet Principles and Techniques of DBMS 5 Servlet Haopeng Chen REliable, INtelligentand Scalable Systems Group (REINS) Shanghai Jiao Tong University Shanghai, China http://reins.se.sjtu.edu.cn/~chenhp e- mail:

More information

Quick Setup Guide. HTML Email Signatures. A short guide on how to set up HTML Signatures on LetMC emails. Last updated 22/11/2012

Quick Setup Guide. HTML Email Signatures. A short guide on how to set up HTML Signatures on LetMC emails. Last updated 22/11/2012 Quick Setup Guide HTML Email Signatures A short guide on how to set up HTML Signatures on LetMC emails Last updated 22/11/2012 Overview LetMC has an email management system and it is possible to implement

More information

COMPUTACIÓN ORIENTADA A SERVICIOS (PRÁCTICA) Dr. Mauricio Arroqui EXA-UNICEN

COMPUTACIÓN ORIENTADA A SERVICIOS (PRÁCTICA) Dr. Mauricio Arroqui EXA-UNICEN COMPUTACIÓN ORIENTADA A SERVICIOS (PRÁCTICA) Dr. Mauricio Arroqui EXA-UNICEN Actividad Crear un servicio REST y un cliente para el mismo ejercicio realizado durante la práctica para SOAP. Se requiere la

More information

Developing an EJB3 Application. on WebSphere 6.1. using RAD 7.5

Developing an EJB3 Application. on WebSphere 6.1. using RAD 7.5 Developing an EJB3 Application on WebSphere 6.1 using RAD 7.5 Introduction This tutorial introduces how to create a simple EJB 3 application using Rational Application Developver 7.5( RAD7.5 for short

More information

Tutorial for Spring DAO with JDBC

Tutorial for Spring DAO with JDBC Overview Tutorial for Spring DAO with JDBC Prepared by: Nigusse Duguma This tutorial demonstrates how to work with data access objects in the spring framework. It implements the Spring Data Access Object

More information

Aspects of using Hibernate with CaptainCasa Enterprise Client

Aspects of using Hibernate with CaptainCasa Enterprise Client Aspects of using Hibernate with CaptainCasa Enterprise Client We all know: there are a lot of frameworks that deal with persistence in the Java environment one of them being Hibernate. And there are a

More information

Intellicus Single Sign-on

Intellicus Single Sign-on Intellicus Single Sign-on Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Copyright 2010 Intellicus Technologies This document and its content

More information

For all the people which doesn't have enough money to buy good books. For all the rippers.

For all the people which doesn't have enough money to buy good books. For all the rippers. For all the people which doesn't have enough money to buy good books. For all the rippers. pro2002 1 Apache Jakarta-Tomcat by James Goodwill Apress 2002 (237 pages) ISBN: 1893115364 Learn about Tomcat

More information

Struts 2 - Practical examples

Struts 2 - Practical examples STRUTS 2 - Practical examples Krystyna Bury Katarzyna Sadowska Joanna Pyc Politechnika Wrocławska Wydział Informatyki i Zarządzania Informatyka, III rok Spis treści What will we need? 1 What will we need?

More information

Building Web Services with Apache Axis2

Building Web Services with Apache Axis2 2009 Marty Hall Building Web Services with Apache Axis2 Part I: Java-First (Bottom-Up) Services Customized Java EE Training: http://courses.coreservlets.com/ Servlets, JSP, Struts, JSF/MyFaces/Facelets,

More information

Course Name: Course in JSP Course Code: P5

Course Name: Course in JSP Course Code: P5 Course Name: Course in JSP Course Code: P5 Address: Sh No BSH 1,2,3 Almedia residency, Xetia Waddo Duler Mapusa Goa E-mail Id: ITKP@3i-infotech.com Tel: (0832) 2465556 (0832) 6454066 Course Code: P5 3i

More information

J2EE Web Development. Agenda. Application servers. What is J2EE? Main component types Application Scenarios J2EE APIs and Services.

J2EE Web Development. Agenda. Application servers. What is J2EE? Main component types Application Scenarios J2EE APIs and Services. J2EE Web Development Agenda Application servers What is J2EE? Main component types Application Scenarios J2EE APIs and Services Examples 1 1. Application Servers In the beginning, there was darkness and

More information

Complete Java Web Development

Complete Java Web Development Complete Java Web Development JAVA-WD Rev 11.14 4 days Description Complete Java Web Development is a crash course in developing cutting edge Web applications using the latest Java EE 6 technologies from

More information

By Nabil ADOUI, member of the 4D Technical Support team

By Nabil ADOUI, member of the 4D Technical Support team XSLT with PHP By Nabil ADOUI, member of the 4D Technical Support team Contents Summary... 3 Introduction... 3 Important elements... 3 The PHP XSL library... 4 The PHP XSL API... 5 XSLTProcessor:: construct...

More information

PA165 - Lab session - Web Presentation Layer

PA165 - Lab session - Web Presentation Layer PA165 - Lab session - Web Presentation Layer Author: Martin Kuba Goal Experiment with basic building blocks of Java server side web technology servlets, filters, context listeners,

More information

Rapid application development with Apache Turbine and Maven Henning Schmiedehausen <henning@apache.org>

Rapid application development with Apache Turbine and Maven Henning Schmiedehausen <henning@apache.org> Rapid application development with Apache Turbine and Maven Henning Schmiedehausen Gesellschaft für Mehrwertdienste mbh Introduction This tutorial shows how to develop web applications

More information

Java Servlet Tutorial. Java Servlet Tutorial

Java Servlet Tutorial. Java Servlet Tutorial Java Servlet Tutorial i Java Servlet Tutorial Java Servlet Tutorial ii Contents 1 Introduction 1 1.1 Servlet Process.................................................... 1 1.2 Merits.........................................................

More information

Supporting Multi-tenancy Applications with Java EE

Supporting Multi-tenancy Applications with Java EE Supporting Multi-tenancy Applications with Java EE Rodrigo Cândido da Silva @rcandidosilva JavaOne 2014 CON4959 About Me Brazilian guy ;) Work for Integritas company http://integritastech.com Software

More information

SPRING INTERVIEW QUESTIONS

SPRING INTERVIEW QUESTIONS SPRING INTERVIEW QUESTIONS http://www.tutorialspoint.com/spring/spring_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Spring Interview Questions have been designed specially to

More information

Introduction to J2EE Web Technologies

Introduction to J2EE Web Technologies Introduction to J2EE Web Technologies Kyle Brown Senior Technical Staff Member IBM WebSphere Services RTP, NC brownkyl@us.ibm.com Overview What is J2EE? What are Servlets? What are JSP's? How do you use

More information

Presentation of Enterprise Service Bus(ESB) and. Apache ServiceMix. Håkon Sagehaug 03.04.2008

Presentation of Enterprise Service Bus(ESB) and. Apache ServiceMix. Håkon Sagehaug 03.04.2008 Presentation of Enterprise Service Bus(ESB) and Apache ServiceMix Håkon Sagehaug 03.04.2008 Outline Enterprise Service Bus, what is is Apache Service Mix Java Business Integration(JBI) Tutorial, creating

More information

Java EE Web Development Course Program

Java EE Web Development Course Program Java EE Web Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive types, variables, basic operators, expressions,

More information

Module Title: : Cloud Application Development

Module Title: : Cloud Application Development CORK INSTITUTE OF TECHNOLOGY INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ Semester 2 Examinations 2013/14 Module Title: : Cloud Application Development Module Code: SOFT 8022 School: Science and Informatics Programme

More information

Web Applications. Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html

Web Applications. Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html 2009 Marty Hall Using and Deploying Web Applications Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/

More information

JAX-WS Developer's Guide

JAX-WS Developer's Guide JAX-WS Developer's Guide JOnAS Team ( ) - March 2009 - Copyright OW2 Consortium 2009 This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license,visit

More information

Building a Multi-Threaded Web Server

Building a Multi-Threaded Web Server Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous

More information

Portal Factory 1.0 - CMIS Connector Module documentation

Portal Factory 1.0 - CMIS Connector Module documentation DOCUMENTATION Portal Factory 1.0 - CMIS Connector Module documentation Rooted in Open Source CMS, Jahia s Digital Industrialization paradigm is about streamlining Enterprise digital projects across channels

More information

An introduction to web programming with Java

An introduction to web programming with Java Chapter 1 An introduction to web programming with Java Objectives Knowledge Objectives (continued) The first page of a shopping cart application The second page of a shopping cart application Components

More information

Advanced OpenEdge REST/Mobile Security

Advanced OpenEdge REST/Mobile Security Advanced OpenEdge REST/Mobile Security Securing your OpenEdge Web applications Michael Jacobs August 2013 Legal Disclaimer The contents of these materials are confidential information of Progress Software

More information

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Specialized Programme on Web Application Development using Open Source Tools Objective: At the end of the course, Students will be able to: Understand various open source tools(programming tools and databases)

More information

Customer Bank Account Management System Technical Specification Document

Customer Bank Account Management System Technical Specification Document Customer Bank Account Management System Technical Specification Document Technical Specification Document Page 1 of 15 Table of Contents Contents 1 Introduction 3 2 Design Overview 4 3 Topology Diagram.6

More information

Developing WCM based WebSphere Portal application using IBM Rational Application Developer

Developing WCM based WebSphere Portal application using IBM Rational Application Developer Developing WCM based WebSphere Portal application using IBM Rational Application Developer Table of Content Abstract...3 Sample Use case...3 Prerequisite...3 Developing the portlet project...4 Connecting

More information

Apache CXF Web Service Development

Apache CXF Web Service Development Apache CXF Web Service Development Naveen Balani Rajeev Hathi Chapter No. 2 "Developing a Web Service with CXF" In this package, you will find: A Biography of the authors of the book A preview chapter

More information

2. Follow the installation directions and install the server on ccc

2. Follow the installation directions and install the server on ccc Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow

More information

Web Application Programmer's Guide

Web Application Programmer's Guide Web Application Programmer's Guide JOnAS Team ( Florent BENOIT) - March 2009 - Copyright OW2 consortium 2008-2009 This work is licensed under the Creative Commons Attribution-ShareAlike License. To view

More information

About ZPanel. About the framework. The purpose of this guide. Page 1. Author: Bobby Allen (ballen@zpanelcp.com) Version: 1.1

About ZPanel. About the framework. The purpose of this guide. Page 1. Author: Bobby Allen (ballen@zpanelcp.com) Version: 1.1 Page 1 Module developers guide for ZPanelX Author: Bobby Allen (ballen@zpanelcp.com) Version: 1.1 About ZPanel ZPanel is an open- source web hosting control panel for Microsoft Windows and POSIX based

More information

Java EE 6 New features in practice Part 3

Java EE 6 New features in practice Part 3 Java EE 6 New features in practice Part 3 Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. License for use and distribution

More information

SESM Tag Library. Configuring a Tag Library APPENDIX

SESM Tag Library. Configuring a Tag Library APPENDIX APPENDIX A This appendix provides information on configuring an SESM tag library and describes the SESM tag libraries other than the Localization tag library: Iterator Tag Library, page A-2 Navigator Tag

More information

Aspect Oriented Programming. with. Spring

Aspect Oriented Programming. with. Spring Aspect Oriented Programming with Spring Problem area How to modularize concerns that span multiple classes and layers? Examples of cross-cutting concerns: Transaction management Logging Profiling Security

More information

WebSphere and Message Driven Beans

WebSphere and Message Driven Beans WebSphere and Message Driven Beans 1 Messaging Messaging is a method of communication between software components or among applications. A messaging system is a peer-to-peer facility: A messaging client

More information

SSO Plugin. Authentication service for HP, Kinetic, Jasper, SAP and CA products. J System Solutions. Page 1 of 23. http://www.javasystemsolutions.

SSO Plugin. Authentication service for HP, Kinetic, Jasper, SAP and CA products. J System Solutions. Page 1 of 23. http://www.javasystemsolutions. Page 1 of 23 SSO Plugin Authentication service for HP, Kinetic, Jasper, SAP and CA products J System Solutions Version 4.0 Page 2 of 23 Introduction... 4 Implementing SSO... 5 Licensing... 6 Copying the

More information

Web Programming: Announcements. Sara Sprenkle August 3, 2006. August 3, 2006. Assignment 6 due today Project 2 due next Wednesday Review XML

Web Programming: Announcements. Sara Sprenkle August 3, 2006. August 3, 2006. Assignment 6 due today Project 2 due next Wednesday Review XML Web Programming: Java Servlets and JSPs Sara Sprenkle Announcements Assignment 6 due today Project 2 due next Wednesday Review XML Sara Sprenkle - CISC370 2 1 Web Programming Client Network Server Web

More information

Java Web Security Antipatterns

Java Web Security Antipatterns Java Web Security Antipatterns JavaOne 2015 Dominik Schadow bridgingit Failed with nothing but the best intentions Architect Implement Maintain Architect Skipping threat modeling Software that is secure

More information

The Server.xml File. Containers APPENDIX A. The Server Container

The Server.xml File. Containers APPENDIX A. The Server Container APPENDIX A The Server.xml File In this appendix, we discuss the configuration of Tomcat containers and connectors in the server.xml configuration. This file is located in the CATALINA_HOME/conf directory

More information

Mobile Solutions for Data Collection. Sarah Croft and Laura Pierik

Mobile Solutions for Data Collection. Sarah Croft and Laura Pierik Mobile Solutions for Data Collection Sarah Croft and Laura Pierik Presentation Overview Project Overview Benefits of using Mobile Technology Mobile Solutions- two different approaches Results and Recommendations

More information

Managing Data on the World Wide-Web

Managing Data on the World Wide-Web Managing Data on the World Wide-Web Sessions, Listeners, Filters, Shopping Cart Elad Kravi 1 Web Applications In the Java EE platform, web components provide the dynamic extension capabilities for a web

More information

Simplify Your Web App Development Using the Spring MVC Framework

Simplify Your Web App Development Using the Spring MVC Framework 1 of 10 24/8/2008 23:07 http://www.devx.com Printed from http://www.devx.com/java/article/22134/1954 Simplify Your Web App Development Using the Spring MVC Framework Struts is in fairly widespread use

More information

What s new in Spring 3.1?

What s new in Spring 3.1? What s new in Spring 3.1? Arjen Poutsma @poutsma SpringSource - a division of VMware 1 Overview Spring 3.0 Spring 3.1 Release Schedule 2 Spring 3.0 3 Spring 3.0 Themes Java 5+ Spring Expression Language

More information

MiniBase. Custom View Tips & Tricks. Schoolwires Centricity 2.0

MiniBase. Custom View Tips & Tricks. Schoolwires Centricity 2.0 MiniBase Custom View Tips & Tricks Schoolwires Centricity 2.0 Table of Contents Introduction... 1 Creating an Email Field... 2 Creating an HTML Linking Field... 3 Creating a File Linking Field... 4 Inserting

More information

HDFS - Java API. 2012 coreservlets.com and Dima May. 2012 coreservlets.com and Dima May

HDFS - Java API. 2012 coreservlets.com and Dima May. 2012 coreservlets.com and Dima May 2012 coreservlets.com and Dima May HDFS - Java API Originals of slides and source code for examples: http://www.coreservlets.com/hadoop-tutorial/ Also see the customized Hadoop training courses (onsite

More information

Web Service Caching Using Command Cache

Web Service Caching Using Command Cache Web Service Caching Using Command Cache Introduction Caching can be done at Server Side or Client Side. This article focuses on server side caching of web services using command cache. This article will

More information

15-415 Database Applications Recitation 10. Project 3: CMUQFlix CMUQ s Movies Recommendation System

15-415 Database Applications Recitation 10. Project 3: CMUQFlix CMUQ s Movies Recommendation System 15-415 Database Applications Recitation 10 Project 3: CMUQFlix CMUQ s Movies Recommendation System Project Objective 1. Set up a front-end website with PostgreSQL back-end 2. Allow users to login, like

More information

Selected Topics in Java Web Application Development

Selected Topics in Java Web Application Development http://www.gerald-loeffler.net/download/java_web_app_dev_2008-10-27.pdf Selected Topics in Java Web Application Development Dr Gerald Loeffler, MBA Web Engineering I WU Wien 2 this presentation agenda

More information

Map Reduce Workflows

Map Reduce Workflows 2012 coreservlets.com and Dima May Map Reduce Workflows Originals of slides and source code for examples: http://www.coreservlets.com/hadoop-tutorial/ Also see the customized Hadoop training courses (onsite

More information

JWIG Yet Another Framework for Maintainable and Secure Web Applications

JWIG Yet Another Framework for Maintainable and Secure Web Applications JWIG Yet Another Framework for Maintainable and Secure Web Applications Anders Møller Mathias Schwarz Aarhus University Brief history - Precursers 1999: Powerful template system Form field validation,

More information

WRITING DATA TO A BINARY FILE

WRITING DATA TO A BINARY FILE WRITING DATA TO A BINARY FILE TEXT FILES VS. BINARY FILES Up to now, we have looked at how to write and read characters to and from a text file. Text files are files that contain sequences of characters.

More information

7 Web Databases. Access to Web Databases: Servlets, Applets. Java Server Pages PHP, PEAR. Languages: Java, PHP, Python,...

7 Web Databases. Access to Web Databases: Servlets, Applets. Java Server Pages PHP, PEAR. Languages: Java, PHP, Python,... 7 Web Databases Access to Web Databases: Servlets, Applets Java Server Pages PHP, PEAR Languages: Java, PHP, Python,... Prof. Dr. Dietmar Seipel 837 7.1 Access to Web Databases by Servlets Java Servlets

More information

SDK Quick Start Guide

SDK Quick Start Guide SDK Quick Start Guide Table of Contents Requirements...3 Project Setup...3 Using the Low Level API...9 SCCoreFacade...9 SCEventListenerFacade...10 Examples...10 Call functionality...10 Messaging functionality...10

More information

3 Techniques for Database Scalability with Hibernate. Geert Bevin - @gbevin - SpringOne 2009

3 Techniques for Database Scalability with Hibernate. Geert Bevin - @gbevin - SpringOne 2009 3 Techniques for Database Scalability with Hibernate Geert Bevin - @gbevin - SpringOne 2009 Goals Learn when to use second level cache Learn when to detach your conversations Learn about alternatives to

More information

und http://www.it-pruefungen.ch ch/

und http://www.it-pruefungen.ch ch/ -Echte und Originale Prüfungsfragen und Antworten aus Testcenter -Machen Sie sich fit für Ihre berufliche Zukunft! http://www.it-pruefungen.ch ch/ Prüfungsnummer : 70-567 Prüfungsname : Transition your

More information

Listeners se es. Filters and wrappers. Request dispatchers. Advanced Servlets and JSP

Listeners se es. Filters and wrappers. Request dispatchers. Advanced Servlets and JSP Advanced Servlets and JSP Listeners se es Advanced Servlets Features Filters and wrappers Request dispatchers Security 2 Listeners also called observers or event handlers ServletContextListener Web application

More information

Java Web Programming with Eclipse

Java Web Programming with Eclipse Java Web Programming with Eclipse David Turner, Ph.D. Department of Computer Science and Engineering California State University San Bernardino Jinsok Chae, Ph.D. Department of Computer Science and Engineering

More information

White Paper. JavaServer Faces, Graphical Components from Theory to Practice

White Paper. JavaServer Faces, Graphical Components from Theory to Practice White Paper JavaServer Faces, Graphical Components from Theory to Practice JavaServer Faces, Graphical Components from Theory to Practice White Paper ILOG, April 2005 Do not duplicate without permission.

More information