Server-Side Eclipse. Martin Lippert akquinet agile GmbH

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

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

Information search for the research protocol in IIC/IID

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

Elektronisk innlevering/electronic solution for submission:

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

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

Trigonometric Substitution

The Future of Academic Libraries the Road Ahead. Roy Gundersen

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

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

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

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

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

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

INF2120 Tools at your fingertips

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

Slope-Intercept Formula

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

TEKSTER PH.D.-KANDIDATER FREMDRIFTSRAPPORTERING

Emneevaluering GEOV272 V17

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

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

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

5 E Lesson: Solving Monohybrid Punnett Squares with Coding

Baltic Sea Region CCS Forum. Nordic energy cooperation perspectives

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

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

Presenting a short overview of research and teaching

verktøyskrin Grafisk profil ved Norges teknisk-naturvitenskapelige universitet

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

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

Astro Calendar 2001 v 1.03 by Yasuji Yamanaka

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

FIRST LEGO League. Härnösand 2012

Forecast Methodology September LightCounting Market Research Notes

COLLECTION FAB KATALOG S PRODUKTBLAD FAB CIRCULAR S Enjoy! embaccolighting

Introduksjon til Eclipse

HONSEL process monitoring

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

Uke 5. Magnus Li INF /

GeWare: A data warehouse for gene expression analysis

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

verktøyskrin Grafisk profil ved Norges teknisk-naturvitenskapelige universitet

The internet of Health

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

STILLAS - STANDARD FORSLAG FRA SEF TIL NY STILLAS - STANDARD

Astro Calendar '99 v 1.08 by Yasuji Yamanaka

UNIVERSITETET I OSLO ØKONOMISK INSTITUTT

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

GLOBALCOMSERVER HP 9100C DIGITAL SENDER GATEWAY ADMINISTRATOR S GUIDE 1998 AVM INFORMATIQUE (UPDATED: AUGUST 22, 2006)

Stationary Phase Monte Carlo Methods

Hvordan føre reiseregninger i Unit4 Business World Forfatter:

Presenting a short overview of research and teaching

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

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

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

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

FASMED. Tirsdag 21.april 2015

Astro Calendar 2002 v 1.00 by Yasuji Yamanaka

The building blocks of a biogas strategy

Perpetuum (im)mobile

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

UNIVERSITETET I OSLO

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.

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

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

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

EN Skriving for kommunikasjon og tenkning

PSi Apollo. Technical Presentation

We are Knowit. We create the new solutions.

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

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

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!

Dude, where is my data? Finn Lützow Holm Myrstad Fagdirektør, digitale

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

Issues and challenges in compilation of activity accounts

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

Graphs similar to strongly regular graphs

Reliable RT Spotify

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

European Crime Prevention Network (EUCPN)

Bostøttesamling

Smart High-Side Power Switch BTS730

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

SFI-Norman presents Lean Product Development (LPD) adapted to Norwegian companies in a model consisting of six main components.

PARABOLSPEIL. Still deg bak krysset

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

matematikk s F4814A8B1B37D77C639B3 Matematikk S1 1 / 6

Kartleggingsskjema / Survey

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

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

Multimedia in Teacher Training (and Education)

Development of the Norwegian WFD classification system for eutrophication

HVILKE ENDRINGER KAN BRANSJEN FORVENTE SEG FREMOVER SETT FRA ET BRUKERPERSPEKTIV CHRISTIAN HEIBERG, EXECUTIVE DIRECTOR CBRE AS NORSK EIENDOM

NOVAPOINT BRUKERMØTE 2016 BERGEN, mai

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

Transkript:

Server-Side Eclipse Martin Lippert akquinet agile GmbH martin.lippert@akquinet.de 2006 by Martin Lippert, martin.lippert@akquinet.de; 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 Martin Lippert, martin.lippert@akquinet.de;

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 Martin Lippert, martin.lippert@akquinet.de;

Eclipse Equinox 4 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

What s next? Server-Side Eclipse: Use Eclipse-Equinox as platform for server-side applications Why? 5 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 6 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

Many interested parties Interested projects ECF Project Open Healthcare Rich AJAX Platform Eclipse Component Framework Corona Project 7 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

Web-Apps the Eclipse Way http://yoxos.com/ondemand/ 8 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 9 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 10 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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!!"); } 11 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

Pure OSGi / Equinox Extension Registry Demo Install Start Stop Uninstall Demo Extend the OSGi sample to use the extension registry 12 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 13 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 14 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 15 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

The structure of the web-app The web app folder The servlet bridge from equinox The plugin/bundle folder as in any eclipse-based installation 16 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 17 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 18 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

Spring and OSGi Demo 19 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

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 20 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;

Thank you for your attention! Questions are welcome!!! Further help and assistence: Martin Lippert: martin.lippert@akquinet.de 21 Server-Side Eclipse 2006 by Martin Lippert, martin.lippert@akquinet.de;