Server-Side Eclipse. Bernd Kolb Martin Lippert it-agile GmbH

Like dokumenter
Server-Side Eclipse. Martin Lippert akquinet agile GmbH

Øystein Haugen, Professor, Computer Science MASTER THESES Professor Øystein Haugen, room D

Information search for the research protocol in IIC/IID

Elektronisk innlevering/electronic solution for submission:

Endelig ikke-røyker for Kvinner! (Norwegian Edition)

Software applications developed for the maritime service at the Danish Meteorological Institute

The Future of Academic Libraries the Road Ahead. Roy Gundersen

Prosjektet Digital kontaktinformasjon og fullmakter for virksomheter Digital contact information and mandates for entities

Trigonometric Substitution

Port of Oslo Onshore Power Supply - HVSC. Senior Adviser Per Gisle Rekdal

Compello Fakturagodkjenning Versjon 10.5 As a Service. Tilgang til Compello Desktop - Regnskapsføring og Dokument import

Moving Objects. We need to move our objects in 3D space.

TEKSTER PH.D.-VEILEDERE FREMDRIFTSRAPPORTERING DISTRIBUSJONS-E-POST TIL ALLE AKTUELLE VEILEDERE:

Compello Fakturagodkjenning Versjon 10 Software as a service. Tilgang til ny modulen Regnskapsføring

KROPPEN LEDER STRØM. Sett en finger på hvert av kontaktpunktene på modellen. Da får du et lydsignal.

PATIENCE TÅLMODIGHET. Is the ability to wait for something. Det trenger vi når vi må vente på noe

Unit Relational Algebra 1 1. Relational Algebra 1. Unit 3.3

Han Ola of Han Per: A Norwegian-American Comic Strip/En Norsk-amerikansk tegneserie (Skrifter. Serie B, LXIX)

GoOpen 2008 Oslo 8. april. Jernbaneverket Fri programvare i driftskritiske systemer. Ole Morten Killi ole.morten.killi@bouvet.

TEKSTER PH.D.-KANDIDATER FREMDRIFTSRAPPORTERING

The regulation requires that everyone at NTNU shall have fire drills and fire prevention courses.

Emneevaluering GEOV272 V17

FIRST LEGO League. Härnösand 2012

Forecast Methodology September LightCounting Market Research Notes

// Translation // KLART SVAR «Free-Range Employees»

INF2120 Tools at your fingertips

COLLECTION FAB KATALOG S PRODUKTBLAD FAB CIRCULAR S Enjoy! embaccolighting

5 E Lesson: Solving Monohybrid Punnett Squares with Coding

HONSEL process monitoring

Presenting a short overview of research and teaching

TILLEGGSSPØRSMÅL BILLETT- OG ADMINISTRASJONSSYSTEM KINONOR AS COMPLEMENTARY QUESTIONS POINT OF SALE SOFTWARE PACKAGE KINONOR AS

Slope-Intercept Formula

The internet of Health

Windows Server 2008 Hyper-V, Windows Server 2008 Server Core Installation Notes

Sascha Schubert Product Manager Data Mining SAS International Copyright 2006, SAS Institute Inc. All rights reserved.

UNIVERSITETET I OSLO ØKONOMISK INSTITUTT

Of all the places in the world, I love to stay at Grandma Genia and

Astro Calendar 2001 v 1.03 by Yasuji Yamanaka

Introduksjon til Eclipse

GeWare: A data warehouse for gene expression analysis

FASMED. Tirsdag 21.april 2015

Baltic Sea Region CCS Forum. Nordic energy cooperation perspectives

Uke 5. Magnus Li INF /

Public roadmap for information management, governance and exchange SINTEF

Administrasjon av postnummersystemet i Norge Post code administration in Norway. Frode Wold, Norway Post Nordic Address Forum, Iceland 5-6.

Fakultet for informasjonsteknologi, Institutt for datateknikk og informasjonsvitenskap AVSLUTTENDE EKSAMEN I. TDT42378 Programvaresikkerhet

Astro Calendar '99 v 1.08 by Yasuji Yamanaka

verktøyskrin Grafisk profil ved Norges teknisk-naturvitenskapelige universitet

Presenting a short overview of research and teaching

Stationary Phase Monte Carlo Methods

Samlede Skrifter PDF. ==>Download: Samlede Skrifter PDF ebook

The building blocks of a biogas strategy

Perpetuum (im)mobile

Astro Calendar 2002 v 1.00 by Yasuji Yamanaka

Bærekraftig FM til tiden/ Bærekraftig FM på tid

Eksamen ENG1002/1003 Engelsk fellesfag Elevar og privatistar/elever og privatister. Nynorsk/Bokmål

STILLAS - STANDARD FORSLAG FRA SEF TIL NY STILLAS - STANDARD

Safety a t t h e f A c t o r y

verktøyskrin Grafisk profil ved Norges teknisk-naturvitenskapelige universitet

Graphs similar to strongly regular graphs

Mannen min heter Ingar. Han er også lege. Han er privatpraktiserende lege og har et kontor på Grünerløkka sammen med en kollega.

Quality in career guidance what, why and how? Some comments on the presentation from Deidre Hughes

EN Skriving for kommunikasjon og tenkning

Reliable RT Spotify

TB-615 / TB-617 Wireless slim keyboard. EN User guide SE Användarhandledning FI Käyttöohje DK Brugervejledning NO Bruksanvisning

We are Knowit. We create the new solutions.

- En essensiell katalysator i næringsklyngene? Forskningsrådets miniseminar 12. april Mer bioteknologi i næringslivet hvordan?

PARABOLSPEIL. Still deg bak krysset

PSi Apollo. Technical Presentation

matematikk s F4814A8B1B37D77C639B3 Matematikk S1 1 / 6

Norsk (English below): Guide til anbefalt måte å printe gjennom plotter (Akropolis)

For at salget skal se organisert ut, er det viktig at klær henges på klesstativene og legges i kassene på en ryddig måte. Da vil du få solgt mer!

E-Learning Design. Speaker Duy Hai Nguyen, HUE Online Lecture

SJEKKESKOLEN: EN STEG-FOR-STEG GUIDE TIL TILTREKNING AV FANTASTISKE JENTER (NORWEGIAN EDITION) BY ANDREAS GODE VIBBER

C13 Kokstad. Svar på spørsmål til kvalifikasjonsfasen. Answers to question in the pre-qualification phase For English: See page 4 and forward

Hvordan føre reiseregninger i Unit4 Business World Forfatter:

Utvikling av skills for å møte fremtidens behov. Janicke Rasmussen, PhD Dean Master Tel

Issues and challenges in compilation of activity accounts

Årsplan ENGELSK 5.trinn. Setningsmønster It starts at It finishes at I want to be a when I grow up

of color printers at university); helps in learning GIS.

EXAM TTM4128 SERVICE AND RESOURCE MANAGEMENT EKSAM I TTM4128 TJENESTE- OG RESSURSADMINISTRASJON

Bostøttesamling

UNIVERSITETET I OSLO

Smart High-Side Power Switch BTS730

P(ersonal) C(omputer) Gunnar Misund. Høgskolen i Østfold. Avdeling for Informasjonsteknologi

Ukebrevet BARNEHAGEN. Velkommen til Damenes Aften - 8.februar kl se vedlegg i forrige ukebrev for mer info om denne dagen!

JAZZ BAND SERIES. Preview Only. Legal Use Requires Purchase. Feels So Good. CHUCK MANGIONE Arranged by VICTOR LÓPEZ INSTRUMENTATION

What is is expertise expertise? Individual Individual differ diff ences ences (three (thr ee cent cen r t a r l a lones): easy eas to to test

UNIVERSITETET I OSLO

Den som gjør godt, er av Gud (Multilingual Edition)

Multimedia in Teacher Training (and Education)

Development of the Norwegian WFD classification system for eutrophication

CSR Harvesting Final Meeting September, 2015 Brest, France. Anne Che-Bohnenstengel & Matthias Pramme, BSH

Come to praise. We have come to praise your name and give thanks for all things you ve done We lift our voices up to you You are worthy of our song

buildingsmart Norge seminar Gardermoen 2. september 2010 IFD sett i sammenheng med BIM og varedata

Little Mountain Housing

Ole Isak Eira Masters student Arctic agriculture and environmental management. University of Tromsø Sami University College

BIBSYS Brukermøte 2011 Live Rasmussen og Andreas Christensen. Alt på et brett? -om pensum på ipad og lesebrett

NORSI Norwegian Research School in Innovation, PING Program for Innovation and Growth

Transkript:

Server-Side Eclipse Bernd Kolb b.kolb@kolbware.de Martin Lippert it-agile GmbH lippert@acm.org 2006 by Martin Lippert, lippert@acm.org; made available under the EPL v1.0

Outline Introduction Why Eclipse? Different Opportunities Pure OSGi OSGi and Plug-In Runtime Pure Plug-In Runtime Eclipse Headless OSGi in a Web-Container Web-Server inside OSGi 2 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Eclipse everywhere Old fashioned: Eclipse is a nice Java-IDE Well established: But: Eclipse is a well-known framework for developing Rich-Client- Applications (see Lotus Notes and many more ) Most applications don t have just a rich client Some applications don t even have a rich client 3 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

What s next? Server-Side Eclipse: Use Eclipse-Equinox as platform for server-side applications Why? 4 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Why? Modules via OSGi Declared dependencies, versioning, public vs. private APIs, updating, services, Building flexible architectures via Extension-Points Platform-based development, component model, extensibility And much more: Adapters Jobs Preferences Updating 5 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Many interested parties Interested projects ECF Project Open Healthcare Rich AJAX Platform Eclipse Component Framework Corona Project 6 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Different opportunities Pure OSGi Application Open Service Gateway initiative Helps us to manage dependencies At compile time by the IDE At runtime by OSGi itself Install and Uninstall bundles at runtime Equinox Application Part 1: OSGi and the Extension Registry Part 2: The Extension-Registry without OSGi 7 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Different opportunities Eclipse Headless OSGi + Extension Registry + Eclipse-Runtime Just a bit more convenience Equinox and OSGi inside a web-container Using the Equinox incubator project Web server inside OSGi Running a web server as an OSGi bundle Spring and Equinox 8 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Pure OSGi Descriptor for a bundle Bundle-Name: Simpleosgi Plug-in Bundle-SymbolicName: de.kolbware.samples.simpleosgi Bundle-Version: 1.0.0 Bundle-Activator: de.kolbware.samples.simpleosgi.activator Import-Package: org.osgi.framework;version="1.3.0" Implementation public class Activator implements BundleActivator { public void start(bundlecontext context) throws Exception { System.out.println("Hello World!!"); } } public void stop(bundlecontext context) throws Exception { System.out.println("Goodbye World!!"); } 9 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Pure OSGi / Equinox Extension Registry Demo Install Start Stop Uninstall Demo Extend the OSGi sample to use the extension registry 10 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Extension-Registry without OSGi Still work in progress Till now, you ll have to ship the osgi.jar to keep the class-hierarchy consistent Demo This approach is interesting for environments where the special class-loading of OSGi in not possible or leads to many problems E.g. App-Servers without an built-in OSGi container 11 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Eclipse Headless Same procedure as known from the RCP Implement the Extension-Point org.eclipse.core.runtime.applications The Eclipse-Runtime starts our Application We can just run one Eclipse-App at the same time. To have several apps, we still can start other bundles manually 12 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

OSGi inside a Web-container The Equinox incubator project developed a Servlet-Bridge The OSGi container is bundled inside a WAR-file The Servlet inside the Servlet-Bridge forwards the requests to your servlets Servlets and resources can be contributed via an extension point Demo 13 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Web server in an OSGi container The OSGi container starts up normally The Web server is wrapped into an OSGi bundle A third Plug-In publishes extension-points to register web-apps Additionally the servlet bridge can be used Demo 14 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Spring and OSGi Still in development The Spring framework is started as an OSGi Bundle Other bundles use a subclass of org.spfw.osgi.context.contextloaderbundleactivator The context has to be in the META-INF directory The bundle manifests should contain Eclipse-LazyStart: true 15 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Spring and OSGi Demo 16 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Web-Server, OSGi and Spring As still in development not everything is working perfectly together Classloading issues We will run the Eclipse-Platform inside Jetty using the incubatorcode We defined a servlet which accesses a spring-service REST-Based Demo 17 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;

Thank you for your attention! Questions are welcome!!! Further help and assistence: Bernd Kolb: b.kolb@kolbware.de Martin Lippert: lippert@acm.org 18 Server-Side Eclipse 2006 by Bernd Kolb & Martin Lippert, b.kolb@kolbware.de, lippert@acm.org;