TimeTracker 2, Take 1  Servlets Web Interface (jsp) Servlet (business logic and processing) App Engine Datastore Form Submit R/W.

Slides:



Advertisements
Similar presentations
Timetracker Midterm Update Senior Project II Sarah Mercier.
Advertisements

Lecture plan Information retrieval (from week 11)
Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
Apache Struts Technology
A Blackboard Building Block™ Crash Course for Web Developers
The Developer Perspective Michelle Osmond. Design – Requirements Gathering Sales & Research projects –Prototypes/Demos User group meetings Usability workshops.
An Agile Approach for Web Systems Engineering A Presentation of an Article by V.E.S. Souza and R.A. Falbo.
1 GWT Google Web Toolkit Build AJAX apps in the Java language
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
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.
Who am I? ● Catalin Comanici ● QA for 10 years, doing test automation for about 6 years ● fun guy and rock star wannabe.
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.
Spring Roo CS476 Aleksey Bukin Peter Lew. What is Roo? Productivity tool Allows for easy creation of Enterprise Java applications Runs alongside existing.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
J2EE Web Fundamentals Lesson 1 Introduction and Overview
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
MVC pattern and implementation in java
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
ABSTRACT Zirous Inc. is a growing company and they need a new way to track who their employees working on various different projects. To solve the issue.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Design Patterns Phil Smith 28 th November Design Patterns There are many ways to produce content via Servlets and JSPs Understanding the good, the.
CSCI 6962: Server-side Design and Programming Introduction to Java Server Faces.
COMP 321 Week 7. Overview HTML and HTTP Basics Dynamic Web Content ServletsMVC Tomcat in Eclipse Demonstration Lab 7-1 Introduction.
Drag and Drop Display and Builder. Timofei B. Bolshakov, Andrey D. Petrov FermiLab.
J2EE Structure & Definitions Catie Welsh CSE 432
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Peter Laird. | 1 Building Dynamic Google Gadgets in Java Peter Laird Managing Architect WebLogic Portal BEA Systems.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Chapter 2 An Overview of Servlet and JSP Technology.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
Getting started with ASP.NET MVC Dhananjay
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.
Paperless Timesheet Management Project Anant Pednekar.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Chapter 3 JSP Overview. The Problem with Servlets processing the request and generating the response are both handled by a single servlet class Java programming.
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
Team Members Tyler Lamb Kirk Olson James Woestman IRP Presentation Client Zirous Inc. Faculty Advisor Tien Nguyen 1.
The basics of knowing the difference CLIENT VS. SERVER.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
JSP / Servlets and Beans
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
CS320 Web and Internet Programming Web Application and MVC Chengyu Sun California State University, Los Angeles.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
Java Web Development with NetBeans IDE -- Kai Qian Chapter 9 Case Study.
Web Development Web Servers.
Java Servlets By: Tejashri Udavant..
Web Software Model CS 4640 Programming Languages for Web Applications
CS5220 Advanced Topics in Web Programming Course Overview
Design and Maintenance of Web Applications in J2EE
Java Web Application Framework
Back end Development CS Programming Languages for Web Applications
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
CS5220 Advanced Topics in Web Programming Course Overview
Back end Development CS Programming Languages for Web Applications
Struts BY: Tejashri Udavant..
Presentation transcript:

TimeTracker 2, Take 1  Servlets Web Interface (jsp) Servlet (business logic and processing) App Engine Datastore Form Submit R/W

TimeTracker 2, Take 1  Simple setup turns into “Spaghetti Code” Web Interface (jsp) Servlet (business logic and processing) App Engine Datastore Form Submit R/W

Spaghetti Code Solution?  MVC  Model, View, Controller model: stores the data and application logic for the interface view: renders the interface (usually to the screen) controller: responds to user input by modifying the model

Which MVC to Use?  Must be:  Be easy to use  Compatible with Google App Engine  Possibilities:

Spring Framework  Which components?  Spring Security  Spring Webflow  Spring Web Services  Spring Roo  Spring Integration  Etc.  Examples use old version and can’t get examples to work with new version

GWT MVC  Would require a switch to Google Web Toolkit for UI  GWT complicated enough without adding another layer on top of it

Play! Framework  Fairly new, but has good support and active developers  Easy to use and setup  Not easiest thing to develop with because requires you to use terminal to deploy  Can’t test Persistence to Google App Engine without Deploying

Play! Architecture

Play! Framework in Action 1. Make a request from a browser /articles/archive?date=08/01/08&page=2 2. Router file knows we want to call the function archive in the Articles.java controller file. 3. archive function can retrieve the date and page values by defining them as parameters to the function. public static void archive(Date date, Integer page) { List articles = Articles.fromArchive(date, page); render(articles); } Play! uses the method parameter’s static type, to translate the HTTP value into a Java object. 4. Then, in our view, we can access the articles list of java Article objects directly and display them to the user.... <a ${article.title} Which generates the following HTML: My new article …

Project Status & Timeline  Status: Behind  Integrating MVC into the application architecture  Inability to easily find an MVC that worked nicely with Google App Engine  Timeline  Mid-November  Solid understanding of Play! Architecture and its integration with Google App Engine  Basic Play! Application deployed and working on App Engine  End of November  Basic TimeTracker application functionality implemented  Logging time  Managing Employees, Projects, Clients, etc.  Deployed to AppSpot  End of Semester  Began implementing new functionality