Opus College - overview. OpusCollege - background First project: ICT Capacity Building Mozambican Higher Education Institutions Partners: RUG Groningen,

Slides:



Advertisements
Similar presentations
Introduction to the Spring Framework
Advertisements

OpusCollege and Spring-DM. OSGi based web applications – three strategies OSGi container embedded in another container: OSGi Bridge Server (OBS)  e.g.
Spring, Hibernate and Web Services 13 th September 2014.
Introduction to the Spring Framework University of Kansas January 2009 This presentation and example application are available at
An architecture for webb applications, J2EE
Model-View-Controller ("MVC") This is a architectural design pattern for interactive applications. This design pattern organizes an interactive application.
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
Pragmatic Application Building: Step by Step Jay Sissom Principal Systems Analyst Indiana University
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Structure of a web application1 Dr Jim Briggs. MVC Structure of a web application2.
Spring Dynamic Modules. Startlocation: Documentation: /1.2.1/reference/html/
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
Address - #22, 1 st Floor, Station View Road, Kodambakkam, Chennai JTech Soft Solutions Website:
The Spring Framework: A brief introduction to Inversion of Control James Brundege
Intro to Spring CJUG - January What is Spring? “The Spring framework provides central transaction control of various objects.” This means that any.
Using Third-Party Frameworks in Building Blocks™ David Ashman Principal Architect, Product Development.
The Spring Framework A quick overview. The Spring Framework 1. Spring principles: IoC 2. Spring principles: AOP 3. A handful of services 4. A MVC framework.
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Distributed System Using Java 2 Enterprise Edition (J2EE)
UNIT-V The MVC architecture and Struts Framework.
Spring Roo CS476 Aleksey Bukin Peter Lew. What is Roo? Productivity tool Allows for easy creation of Enterprise Java applications Runs alongside existing.
NetArchive Suite Workshop 2011 Technical Track - Code refactoring with the Spring Framework.
Spring Framework. Spring Overview Spring is an open source layered Java/J2EE application framework Created by Rod Johnson Based on book “Expert one-on-one.
Introduction to the Spring Framework By: Nigusse A. Duguma Kansas State university Department of Computer Science Nov 20, 2007.
OSGi.
Spring Overview, Application demo -Midhila Paineni 09/23/2011 Spring Overview, Application demo9/8/20151.
Spring. Spring Overview Spring Container Concepts Spring and AOP Spring and Data Access Managing Transactions and Resources Remoting and Accessing Enterprise.
The Spring Framework Training Get to know Spring Framework Rohit Prabhakar
Introduction to the Spring Framework Rajesh. Spring Mission Statement J2EE should be easier to use OO design is more important than any implementation.
Traditional Web Based Application Structure Frameworks define how the application is designed, organised and deployed across various tiers.
Copyright (C) 2009 by Abdelmonaim Remani. All rights reserved. By Abdelmonaim Remani Polymathic-coder.com Silicon Valley Code.
OpusCollege and the use of Spring and iBatis
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
Text 16 de mayo de 2009 Spring Framework Part I. Dependency Injection Buenos Aires, May 2009.
Spring Framework. Spring Overview Spring is an open source layered Java/J2EE application framework Created by Rod Johnson Based on book “Expert one-on-one.
Introduction to Web Dimitar Nenchev Ivan Nakov
ACADEMIC INFORMATION AND REGISTRATION SYSTEM OPUS-College.
STUDENT MANAGEMENT INFORMATION SYSTEM OPUS-College.
Team S07. Agenda Scope of project Global use case diagram Analysis use cases High Level design (Software Architecture) Prototype challenges faced and.
Enterprise Java Overview Panos Konstantinidis Java Developer JUG Leader & Java Champion
ACADEMIC INFORMATION AND REGISTRATION SYSTEM OPUS-College.
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions Buenos Aires, June 2009.
Java EE Patterns Dan Bugariu.  What is Java EE ?  What is a Pattern ?
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Spring MVC Essentials Getting started.
Spring and DWR Frameworks for Rich Web Enterprise Application Thomas Wiradikusuma Presentation to the 20 th.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
Kansas City Java User’s Group Jason W. Bedell July 12, 2006
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions Buenos Aires, June 2009.
Introduction – ORM, Helloworld Application
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Opus College - overview Demo structure modules. OpusCollege - background Project: ICT Capacity Building Mozambican Higher Education Institutions Partners:
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions and Spring MVC Buenos Aires, June 2009.
J AVA T RAINING IN A HMEDABAD By TOPS Technologies 1 TOPS Technologies Java Course.
CS520 Web Programming Spring – Web MVC Chengyu Sun California State University, Los Angeles.
Training What’s Spring? The leading full-stack Java/JEE application framework.
J2EE Lecture 6: Spring – IoC and Dependency Injection
Structure of a web application
Introduction to J2EE Architecture
Unit 6-Chapter 2 Struts.
By Ru Shen Department of Computer Science UAlbany, 2008
Design and Maintenance of Web Applications in J2EE
Intro to Spring CJUG - January 2013.
The Model Layer What is Model?
SAMANVITHA RAMAYANAM 18TH FEBRUARY 2010 CPE 691
Developing and testing enterprise Java applications
Enterprise Java Beans.
Presentation transcript:

Opus College - overview

OpusCollege - background First project: ICT Capacity Building Mozambican Higher Education Institutions Partners: RUG Groningen, UT Enschede, RU Nijmegen Project goals:  Help infrastructure with financial and material means Hardware -> servers Infrastructure -> networks Software -> opusCollege  Capacity Building: build knowledge !! Competence Center (initially staffed by Mario, Stelio and Nelson)

OpusCollege – contents Student administration system for higher education institutions Storage of following data:  Institutional units  Staffmembers  Studies & Subjects  Students  Exams

Person Opus User Address Study Organizational Unit Student Subject is 1..* has 1..* Has 1 concerns 1 is authorised for 1..* BA= Subclass from (A is a subclass from B) Legenda: = Association from object = Shortcut for an association from object taught by 1..* (version ) Study YearSubject Block Staff Member has 0..1 has 1..* has 0..* Role has 1..* Branch Has 1..* Study plan has 1..* Grade Type has 1..* has *..* Institution belongs to 1 Has 1..* has 0..* Examination has 1..* Subject Result has 0..1 has 1..* Examination Result Exam Result has 0..1 Contract has 1..* has 0..1 has 1..*

OpusCollege - techniques HTML, Javascript Java Web - JSP, JSTL Java - Spring Framework ORM - iBatis database server – PostgreSQL OSGi

Spring Framework: Inversion of Control Aspect Oriented Programming Spring Framework

Inversion of Control A.k.a.: Dependency Injection Hollywood-principle: Don’t call us, we’ll call you: beans do not have to take care of everything themselves, the container provides services for the beans Layer-structure with interfaces, loosely coupled through dependency injection :  MVC with (constraint) JSP (or other client)  (thin) Service Layer as façade  Domain model in POJOs  DAO for persistency

Aspect Oriented Programming Used for:  ‘crosscutting concerns’: services, that touch the entire application and therefore are repeated at all/many methods  container services (for example logging, security, session mgt., transaction mgt.)

IOC + AOP > EJB + AS Inversion of Control + Aspect Oriented Programming > Enterprise Java Beans + Application Server

Spring Framework (1) Application Development Framework Based on source code by Rod Johnson Based on JavaBeans, IOC en AOP OO is starting-point, not J2EE Lightweight container for POJO- management Embedded standard libraries and frameworks: for example hibernate, junit Better exception handling Standard services already configured: remoting, transaction mgt., security

Spring Framework (2)

Spring Framework (3) Coupling through ApplicationContext:  Preloading of Singleton Beans  Message Resource Handling  Context Hierarchy  Easy integration of AOP through BeanFactoryPostProcessor  J2EE specific integration (with for example ServletContext)

Spring Web MVC The model represents the data (a database or another backend-system) The view is a visual representation of the model The controller makes changes to the model

OSGi framework OSGi = Open Services Gateway initiative OSGi framework = Component based framework: components are called bundles Layers:  security layer  module layer  life-cycle layer  service registry

OSGi framework – life-cycle OSGi-framework manages the life- cycle of bundles

OSGi based web applications – three strategies OSGi container embedded in another container: OSGi Bridge Server (OBS)  e.g. OSGi within Tomcat or Jetty  controlled through a bridge servlet (for instance Equinox) front controller dispatches servlet requests to bundles OSGi container with a http-container on top of it  PAX Web solution: only have an OSGi runtime with an HTTP-container (Jetty) on top of it OSGI container with all other services / servers /.. as bundles within it (complete Equinox solution)

OpusCollege -> choice OSGI container with all other services / servers /.. as bundles within it (complete Equinox solution)

OpusCollege -> choice Wait with implementation:  Waiting for Apache Tomcat integration  First implement first final core version First steps already now:  Start with structuring the application through several projects (modules): first one is Fees module  Bind the projects together with Ant -> one WAR- file  But: only small changes necessary for implementation as separate bundles

OpusCollege – structure Several projects:  1 or more modules: fee, scholarship, report, alumni  1 core-project: college with all libraries  1 target-project: opus / eSURA All projects have their own build.xml

First ‘bundles’ Already active:  Alumni Module  Fees module  Scholarship Module  Report Module

iBatis framework (1) Spring uses the DAO-pattern. Spring provides DAO-interfaces for:  JDBC  Hibernate  iBatis  JDO  Toplink Connections through DataSourceFactory Common exception handling Use of Template Patterns (a.o. JdbcTemplate).

iBatis framework (2) iBatis:  Simpler than Hibernate, more advanced than JDBC  Mapping of SQL queries to Objects and vice versa, including caching  Version 1.3 (SqlMap) and 2.0 (SqlMapClient) supported by Spring through SqlMapClientTemplate

Questions ???