Transforming the e-Concordiensis Edward Maas Senior Capstone Design Project Advisor: Professor Cass.

Slides:



Advertisements
Similar presentations
Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Advertisements

Struts Portlet Adding an Action Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Web Development with Karsten Schulz Terp-Nielsen Master Principal Sales Consultant Oracle Denmark.
Apache Struts Technology
Internetteknologi (ITNET1) Extra Presentation Java IDE Tool Support.
Starting with Gridsphere Albert Einstein Institute Gridsphere Installation.
Input Validation For Free Text Fields ADD Project Members: Hagar Offer & Ran Mor Academic Advisor: Dr Gera Weiss Technical Advisors: Raffi Lipkin & Nadav.
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
Component-Based Software Engineering Introducing the Bank Example Paul Krause.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Lecture 4: Introduction to PHP 3 PHP & MySQL
Apache Struts Technology A MVC Framework for Java Web Applications.
Introduction to Liferay Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
JSF Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Apache Jakarta Tomcat Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.
Struts. Agenda Preface Struts and its components An example The architecture required for Struts Applications.
UNIT-V The MVC architecture and Struts Framework.
CVS Reporting Design Daniel Vikström: Project manager / cvs manager / PDF imp. / cvsql interface design. Carmine Protano: Webb & PDF design & imp. Francesco.
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
DICOM / HL7 Verfication / Java Basis Random user with no account justs wants to validate an HL7 message or DICOM object The next diagram shows a number.
Eric Westfall – Indiana University Jeremy Hanson – Iowa State University Building Applications with the KNS.
Struts Portlet Redirect Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
Uniting Cultures, Technology & Applications A Case Study University of New Hampshire.
Movie Manager by Patrick Wesley and Chris Grey Internet Database Project for CS 8630 – Summer 2004 Dr. Guimaraes.
COMP 321 Week 7. Overview HTML and HTTP Basics Dynamic Web Content ServletsMVC Tomcat in Eclipse Demonstration Lab 7-1 Introduction.
Matrix Mapping Tool Sam Gross Internship at Virtual Technology Corporation.
Seminar on. Overview Hibernate. What is it? Hibernate. How does it work? Hibernate Tools.
WordFreak A Language Independent, Extensible Annotation Tool.
Web Mashups Presented By: Saket Goel Uni: sg2679.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Struts J2EE web application framework “ Model 2 ” Model View Controller Controller Servlet Key features XML metadata Struts taglib Simplified form validation.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Stanisław Osiński, 2002JSP – A technology for serving dynamic web content Java Server Pages™ A technology for serving dynamic web content Stanisław Osiński,
Fall CIS 764 Database Systems Design L8. Web ….
Running Kuali: A Technical Perspective Ailish Byrne - Indiana University Jay Sissom - Indiana University Foundation.
Building Applications with the KNS. The History of the KNS KFS spent a large amount of development time up front, using the best talent from each of the.
Ashley Montebello – CprE Katie Githens – SE Wayne Rowcliffe – SE Advisor/Client: Akhilesh Tyagi.
Transforming the e-Concordiensis Senior Project – Computer Science – 2005 Edward Maas Advisor: Prof. Cass Technology Used Open Source JAVA Tools:  Model-View-Controller.
Page 1 Controller Action2.java Struts- config. xml Mappings Business Logic Layer Data Layer View Layer Business Bean 1 Jsp Engine Jsp 1 Action3.java Action4.java.
Sakai WebApp Structure
NMD202 Web Scripting Week5. What we will cover today PHP & MySQL Displaying Dynamic Pages Exercises Modifying Data PHP Exercises Assignment 1.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Spring MVC Essentials Getting started.
© MIT 2000 Building Web Applications With Webjects Michael D. Barker The MIT Educational Media Creation Center November 2001.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Implementation of SCENS Yan Zhao. Current Status Current implementation is web-based –
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
13 Copyright © 2004, Oracle. All rights reserved. Adding Validation and Error Handling.
11 Copyright © 2004, Oracle. All rights reserved. Customizing Actions.
Basic Portlet Copyright © 2000 – 2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Implementation Struts Framework for well-architectured web applications Model-View-Controller design pattern.
1 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Web 2.0: annotations for CDS services Brice GASSMANN Sébastien DERRIERE Thomas BOCH.
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.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
2 Copyright © 2004, Oracle. All rights reserved. ADF Development Process.
Apache Struts Technology A MVC Framework for Java Web Applications.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
JSP (Java Server Page) JSP is server side technology which is used to create dynamic web pages just like Servlet technology. This is mainly used for implementing.
What is a Blog? short for Weblog journal on a website
Web Software Model CS 4640 Programming Languages for Web Applications
Unit 6-Chapter 2 Struts.
Sakai WebApp Structure
Design and Maintenance of Web Applications in J2EE
Building an Integrable XBRL Portal Daniel Hamm German Central Bank
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
School of Computer Science
Struts BY: Tejashri Udavant..
SDMX IT Tools SDMX Registry
Presentation transcript:

Transforming the e-Concordiensis Edward Maas Senior Capstone Design Project Advisor: Professor Cass

About the Project Client: Concordiensis ( School Newspaper ) Client: Concordiensis ( School Newspaper ) Website: Website: Project: created a robust electronic publishing infrastructure. Project: created a robust electronic publishing infrastructure. Transformed From: HTML & PDF Articles Transformed From: HTML & PDF Articles

Technology Used Custom Content Management System Custom Content Management System Open Source JAVA Tools: Open Source JAVA Tools: Model-View-Controller for the Web Model-View-Controller for the Web Struts ( ) Struts ( ) Object / Relational Persistence and Query Service Object / Relational Persistence and Query Service Hibernate ( ) Hibernate ( ) Image Manipulation Image Manipulation Image Conversion (TIFF-to-PNG) Image Conversion (TIFF-to-PNG) Tiff2png tool ( Tiff2png tool ( Image Scaling Image Scaling JMagick ( JMagick (

How it works? Request Business Logic Data Access (hibernate) View Response

How Struts is Used! Created Forms (model) Created Forms (model) AddArticleForm, LoginForm, etc AddArticleForm, LoginForm, etc Wrote classes to process forms Wrote classes to process forms edu.union.struts.LoginForm.java: // Get Username & Password from form String username = (String)(newLoginForm.get("username")); String password = (String)(newLoginForm.get("password")); // Check to make sure they’re in the database & passwords are correct Staff authUser = (Staff)smanager.getBySignInCredentials(username, password); //On Login Success return (mapping.findForward("success")); Hibernate Call

Struts Usage Continued… Failure is defined globally Failure is defined globally <action path="/admin/LoginForm" type="edu.union.struts.LoginForm" name="LoginForm" scope="request" validate="true" input="/Login.jsp"> Create Action Mappings (controller) Create Action Mappings (controller) Validation & Forwards Validation & Forwards

Data Organization (relational) ER Diagram

How Hibernate Works! Define HBM Define HBM XML config, Struts uses one too! XML config, Struts uses one too! Defines correspondence between tables and classes Defines correspondence between tables and classes Defines Keys / Relationships Defines Keys / Relationships Create Value Object Classes Create Value Object Classes public Integer getId() { return this.Id; } public void setId(Integer Id) { this.Id = Id; }

Data Organization Hibernate Data Pseudo Diagram Sets Represent Multi-valued Relationships Sets Represent Multi-valued Relationships Update can be made with a single action Update can be made with a single action

Hibernate In Action! Create Queries (HQL) Create Queries (HQL) List users = session.find( "from Staff as staff where " + "staff.username = ? and staff.password = ?", new Object[] { uUsername, uPassword }, new Type[] { Hibernate.STRING, Hibernate.STRING }); Staff authUser = (Staff) smanager.getBySignInCredentials(username, password); Integrate within Controller (Struts) Integrate within Controller (Struts)

Presentation Layer ! JSP Templates (Green) JSP Templates (Green) Struts & Standard JSP Tags for form elements (Black) Struts & Standard JSP Tags for form elements (Black) Custom Java Tags (Yellow) Custom Java Tags (Yellow) AssignPhoto Form Custom Layout Tag: StoryTag.java Struts at work – CheckImages.jsp

Putting it All Together! Code written primarily on Linux Code written primarily on Linux Revisions tracked with cvs Revisions tracked with cvs Build & Deployment Process: Apache Ant Build & Deployment Process: Apache Ant Java Container: Jakarta Tomcat 5.x Java Container: Jakarta Tomcat 5.x

Next Steps & Neat Additions! Present Finished Product to Concordy Editors for beta testing Present Finished Product to Concordy Editors for beta testing Deploy Database and Application on VU Deploy Database and Application on VU Performance Test under actual traffic! Performance Test under actual traffic! Add Editing features to data in the Content Manager Add Editing features to data in the Content Manager Fix Access Control Lists Fix Access Control Lists Create RSS Syndication Feeds Create RSS Syndication Feeds More cross browser/ machine layout & GUI More cross browser/ machine layout & GUI

Questions ?