OpusCollege and Spring-DM. OSGi based web applications – three strategies OSGi container embedded in another container: OSGi Bridge Server (OBS)  e.g.

Slides:



Advertisements
Similar presentations
Apache Maven: J2EE Front to Back Jesse McConnell -
Advertisements

May 13th, Lucek Consulting Basic Java Servlet/JSP Web Development David Lucek Lucek Consulting
WEB SERVICES. FIRST AND FOREMOST - LINKS Tomcat AXIS2 -
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
JSF Portlet Backing Beans and UI Components Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in.
Development Configuration Guide Using NetBeans IDE
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.
Servlets Enterprise Systems Programming. Servlets  Servlets: server-side Java programs that enable dynamic processing of web-based requests  Web-based.
Internetteknologi (ITNET1) Extra Presentation Java IDE Tool Support.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
Developing CAS in Eclipse
Apache Axis2 - OSGi Integration in WSO2 Carbon Platform
JSP: JavaServer Pages Juan Cruz Kevin Hessels Ian Moon.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
1 Web Services – Part II CS , Spring 2008/9.
Java 2 – Enterprise Edition Kevin J. LaFata April 21, 2003 UM – St. Louis.
Apache Tomcat Representation and Management of Data on the Web.
MC365 Application Servers: Java Server Pages (JSP’s) and Session Management.
Hello Vaadin! CS 3130 Summer 2015.
Spring Dynamic Modules. Startlocation: Documentation: /1.2.1/reference/html/
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Julien Thibault / Phil Brewster / Kristina Doing-Harris
Apache Jakarta Tomcat Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Agenda Introduction to the Guidewire platform
An Introduction to OSGi: Creating Highly Modular Java Systems Simon Archer, IBM 15 November 2010.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
OSGi.
Gemini – Shaping the Future of Enterprise Java Mike Keith Glyn Normington
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
Java Servlets CS-422. Application Mapping Your servlet application will be mapped to a directory structure: –“myapp” maps to some directory C:/docs/apps/myapp.
1 CS6320 – Deployment and Context L. Grewe 2 The Servlet Container Servlets run in a container sometimes called the Servlet engine. Servlets run in a.
Apache + Tomcat. Apache + Tomcat Download mod_webapp.so:
Developing Axis based Web Services using Eclipse 3.3 Saurabh Mittal Feb 28, 2008.
AN OVERVIEW OF SERVLET TECHNOLOGY SERVER SETUP AND CONFIGURATION WEB APPLICATION STRUCTURE BASIC SERVLET EXAMPLE Java Servlets - Compiled By Nitin Pai.
Using Cocoon 2.2 The Classic Way Vadim Gritsenko - -
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
Web Applications - Basics. Introduction to Web Web features Clent/Server HyperText Transfer Protocol HyperText Markup Language URL addresses Web server.
Opus College - overview. OpusCollege - background First project: ICT Capacity Building Mozambican Higher Education Institutions Partners: RUG Groningen,
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Webservice versioning using osgi Allard Buijze, Jettro Coenradie.
CODELABOR Shin Sang Jae Template Guide (codelabor-flex-lcds-template)
Chính phủ điện tử TS. Phạm Văn Tính Khoa CNTT, ĐH Nông Lâm TP.HCM
Chapter 1 Introducing Ant. What is ant? Ant is a build tool  Automate the tasks of compiling code, running test, and packaging the results for redistribution.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Build Systems Presentation December 14, 2015 Noon-1pm Kathy Lee Simunich Bldg. 203/ D120 Brought to you by: Argonne Java.
CTools Build Process David Haines University of Michigan.
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.
Impala A dynamic module framework for Java web development Phil Zoio Realsolve Solutions Devoxx 12 December, 2008.
Chapter 3 Servlet Basics. Contents A.Installing Eclipse WTP and configuring Tomcat B.Prime Number Problem C.Multiplication Table Problem.
UpgradinguPortal to What’s new that matters Better use of third party frameworks Faster! Improved caching Drag and Drop New Skin & Theme Accessibility.
Jetty 9 Dima Ionut Daniel. Contents What is Jetty? History Jetty 9 new features Jetty Configuration Deployment Arhitecture JMX SPDY Handlers WebSocket.
Opus College - overview Demo structure modules. OpusCollege - background Project: ICT Capacity Building Mozambican Higher Education Institutions Partners:
Deploy Web Application Source View Development (Local) : IDE embedded Server.
Java High level programming language ◦ Sun Microsystems ◦ ORACLE acquired Java Development Kit – JDK Java Runtime Environment – JRE Java Virtual Machine.
Swing OSGi Modular Desktop Application Framework Jaroslav Tulach, Oracle Anton Epple, Eppleton.
Open Software Integrators, LLC 1 Spring Roo - IDE Research ● Basics of Spring Roo (Installation and Roo shell) ● Spring Roo, Maven, Tomcat works! ● Front.
Labs: Create, deploy and test a simple web service
Plan What is Maven ? Links : mvn command line tool
Google Web Toolkit Tutorial
Writing simple Java Web Services using Eclipse
Test Driven Development
Unit 6-Chapter 2 Struts.
Introduction to JBoss application server
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Web Starter Kit: runtime
Software Engineering and Architecture
Presentation transcript:

OpusCollege and Spring-DM

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 – new structure Several projects:  1 repository-project: repository  1 or more modules: fee, scholarship  1 core-project: college  1 target-project: opus All projects have their own build.xml

OpusCollege – new structure Repository-project:  All libraries (as jar-files) of the core- and module-projects  Each library has a fixed structure with directories (see: mvnrepository.com)  Eclipse build path: you have to select all jars for order and export

OpusCollege – new structure Module-project:  Default structure (maven-based): Src/main/java Src/test/java Src/main/webapp/WEB-INF/modules/module-name Src/main/webapp/WEB-INF/views/module-name  Has own configuration files: Org.uci.opus.module-name/application.xml (context) Org.uci.opus.module-name/messages.properties Src/main/webapp/META-INF/MANIFEST.MF Src/main/webapp/WEB-INF/modules/module-name/web- context.xml (applicationContext)  Eclipse build path: Dependency towards core and repository project

OpusCollege – new structure Core-project:  Has everything a module-project has Note: web-context.xml has some extra’s:  InternalResourceViewResolver  Interceptors: ModuleInterceptor  ModuleMessagesRegistrar  Extra (1): webapp/WEB-INF/web.xml  With dispatcher-servlet: opus webapp/WEB-INF/log4jconf/  with debug.properties and warn.properties webapp/WEB-INF/jdbc.properties webapp/index.html

OpusCollege – new structure Core-project:  Extra (2): org.uci.opus.college.module package:  webapp/WEB-INF/SqlMapConfig.xml cannot be made statically, because it is build up dynamically: see CombinedSqlMapResource  Number of modules is counted dynamically and used throughout the application: see Module and ModuleInterceptor  Messages.properties files of core and modules are gathered together: see ModuleMessagesRegistrar

OpusCollege – project structure Target project:  Nearly empty project, only with: Applications-directory: here you specify the application you want (with one or more modules). Every application has it’s own build.xml, that uses common- build/application-targets.xml Common-build-directory: here you specify the actions you have to perform for each application:  application-targets.xml: Clean target-project, copy application-files, compile  web-targets.xml: Create war-file  Eclipse build path: dependency towards repository-project

Eclipse projects - ‘bundles’ Demo structure eclipse repository

Questions ???