ObjectWeb/OSMOSE%20Deployment%20Framework%20Workshop%20in%20Prague - PowerPoint PPT Presentation

About This Presentation
Title:

ObjectWeb/OSMOSE%20Deployment%20Framework%20Workshop%20in%20Prague

Description:

JOnAS JSR88, OpenCCM, OSGi use cases, Fractal. Common deployment tools ... JOnAS. Apache HTTPD. Kaffe. OpenCCM. MySQL. PHP. Cardamon. 13. Use Case : OSGi ' ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 38
Provided by: cristin66
Category:

less

Transcript and Presenter's Notes

Title: ObjectWeb/OSMOSE%20Deployment%20Framework%20Workshop%20in%20Prague


1
ObjectWeb/OSMOSE Deployment FrameworkWorkshop in
Prague
  • Didier Donsez, Noureddine Belkhatir
  • IMAG/LSR/ADELE

2
Agenda
  • Sevilla meeting outcome
  • Goal
  • Discussions Platform independent model
  • Use cases
  • Model
  • Personalities
  • Positioning
  • Sum up

3
Deployment Working GroupTwo Complementary
Approaches
  • Shared models
  • MDA PIM
  • CASE tools
  • Repositories

Personalisation Effort
Abstraction Effort
J2EE
CCM
OSGi
ProActive
Fractal

Descriptors API
Abstraction Effort
  • Shared code as
  • tools
  • libraries
  • components
  • frameworks

Personalisation Effort
From Philippe Merle
4
2 levels of interest
  • Deployment µkernel
  • Bootstrap core for loading extended functionality
  • Class Loading
  • Downloading/Installation/Uninstallation
  • Application deployment
  • Potential extended functionality modules
  • Packaging, Description, Deployment Life Cycle
    Activities(configuration, dependencies, ),
    Monitoring, Fault tolerance,Distributed vs Local
    (1 site), others ???
  • Target Platforms
  • JOnAS JSR88, OpenCCM, OSGi use cases, Fractal
  • Common deployment tools
  • Administration console, etc.
  • Common deployment models
  • Reference deployment infrastructure architecture
  • Application deployment models
  • E.g., ORYA, OMG DC

Framework developeroriented
Application deployeroriented
5
Whats next
  • Software deliverable V1 15th of July
  • Workshop proposition
  • 27 October in Grenoble
  • DÉCOR conference (28-29 october)
  • First evaluation on personalities implementations
  • Software deliverable v2 15th of December

6
GDF(High Level)Generic Deployment Framework
7
Motivations
  • (High Level) Generic Deployment Framework
  • Independent from the platform
  • But Heterogeneous applications (OSGiJ2EECCM)
  • Personalities of this FW
  • OSGi, J2EE, CCM, Fractal, ProActive,
  • Model-based
  • Application, Site, Process

8
Which issues are not addressed by GDF ?
  • Bootstrapping ?
  • ClassLoading
  • Packaging
  • Platform specific RPM, Bundle Jarfile, EAR
    Jarfile
  • Metadata Formats
  • Java .MF, RPM multi-files, .NET XML manifest,
  • Protocols
  • Between global and local deployer
  • rsh, rlogin, ssh, Globus 1,2 , PBS, LSF, MapRsh
  • telnet, http, https, soap, xmlrpc, javagroup ?,
    ip multicastcarrousel
  • Should GDF address them ?
  • The right place (low level GDF)

9
Use Case OSGi gateway
Deployer
UnitRepository
ApplicationRepository
console
Déployer
Local Deployer
HTTPService
BarService
CustomerServlet
WireAdmin
WebCamProducer
TemperatureProducer
CustomerAlarm
Local Deployer
SMSIO
FooService
WireAdmin
GPSPositionProducer
TemperatureProducer
10
Use Case J2EE distributed application
Deployer
UnitRepository
ApplicationRepository
console
Deployer
End User
Local Deployer
FundTransferSB
FTServlet
Local Deployer
Local Deployer
AccountEB
AccountEB
Local Deployer
11
Use Case Weather StationsMix of OSGiJ2EECORBA
Deployer
UnitRepository
ApplicationRepository
Deployer
End User
console
web browser
Local Deployer
Local Deployer
Local Deployer
HTTPService
ReportServlet
WireAdmin
TemperatureProducer
HumidityProducer
JMS
ReportSender
SOAPService
PushMDB
MeasurementEB
ReportSB
ReportServlet
Cardomon DCPS
TemperatureSensor
PullMeasurementSB
12
Use Case Platforms deployment
Deployer
(RPM)UnitRepository
ApplicationRepository
Deployer
console
Local Deployer
Local Deployer
Local Deployer
IBM J9
OSCAR
SUN JRE1.5
JOnAS
Apache HTTPD
Kaffe
OpenCCM
MySQL
PHP
Cardamon
13
Use Case OSGi cluster
Deployer
UnitRepository
ApplicationRepository
console
Deployer
Local Deployer
HTTP
FundTransfer
FTServlet
Local Deployer
Local Deployer
CorbaService
Account
CorbaService
Account
Local Deployer
14
Model
  • Unit, DeployedUnit
  • Application, DeployedApplication
  • Site, Organization
  • Dependency / Attributes
  • Resolver
  • Process

15
Model
16
Attributes Dependency
  • Attributes
  • Set of properties ltkey,valuesgt
  • Platform-specific
  • OSGi Export-Package, Import-Package,
    Bundle-Version
  • Application
  • Developpement status beta
  • Dependency
  • Represents a constraint
  • Eg the Unit A requires osWindows
  • Eg the Site B requires stable Units
  • Eg the Application C is composed only of signed
    units by ObjectWeb
  • Resolved or not by a Attribute

17
Unit
  • represents a deployment unit
  • have attributes
  • Encapsulated platform specific metadata
    (Bundle-UpdateLocation, )
  • have dependencies
  • towards unit
  • Eg the unit requires the package javax.servlet
    version2.3
  • towards sites
  • Eg the unit runs only under WindowsXP and more
  • towards applications
  • Eg the unit cannot be use in a commercial
    application
  • could embed others units
  • Eg J2EE EAR EJBJAR n WAR m JAR (of client
    side applications)
  • WAR could contain MidLets and Applets
  • DeployedUnit
  • represents a deployed unit on a site or in an
    organization

18
Unit
  • DeployedUnit
  • represents a deployed unit on a site or in an
    organization
  • OMG DC term package

19
Application
  • represents an application
  • have attributes
  • have dependencies
  • towards units
  • UnitDependency enables to fix the units that
    compose the application
  • towards sites
  • Eg the unit runs only under WindowsXP and more
  • Dependencies are added by
  • the assembler, the deployer,
  • DeployedApplication
  • represents a deployed applicationon a site or in
    an organization

20
Application
  • Q Can an application be a set of
    (sub)applications
  • Federation of Applications
  • Heterogeneous applications
  • One part on OSGi
  • Another on J2EE
  • Other examples

21
Site
  • represents a site on which a part (units) of an
    application are deployed
  • have attributes
  • have dependencies
  • towards applications
  • Eg the application must be stable dev. version
  • towards units
  • Eg the units must be licenced Open Source
  • Organization
  • A set of sites

22
Identity
  • Platform-specific
  • OSGi Bundle-UpdateLocation for Unit
  • One common method
  • Object getId()
  • Test equality

23
UnitRepository
  • Only an index of available units
  • Not a storage system (platform-specific)
  • Units could be loaded from a URL or from a
    InputStream
  • In the case of URL loaded, the URL must be one of
    the attributes of the Unit

24
ApplicationRepository
  • TODO

25
Concrete DependenciesCommon
  • UnitDependency
  • LdapFilterDependency
  • ConjunctionDependency
  • DisjunctionDependency
  • NotDependency
  • FacetDependency
  • QualifiedFacetDependency
  • ReceptacleDependency

26
Concrete DependenciesOSGi
  • Unit -gt Unit, Application -gt Unit
  • VersionedUnitDependency
  • ImportPackageDependency (OBR)
  • Eg the unit requires the package javax.servlet
    version2.3
  • ImportServiceDependency
  • Eg A telnet deamon requires a Shell
  • QualifiedImportServiceDependency
  • ExportServiceDependency
  • Eg A command requires a Shell
  • ConsumerWireAdminDependency
  • Eg Requires consumers consuming temperatures
  • ProducerWireAdminDependency
  • Eg Requires producers producing GPS positions
  • Unit -gt Site
  • NativeDependency

27
Resolver
  • Parameters
  • application dependencies
  • site dependencies
  • Select Units in a UnitRepository
  • According to
  • application dependencies,
  • site dependencies,
  • unit dependencies
  • And Already deployed units
  • Return a Process to execute

28
What is missing
  • Configuration
  • Multi-step ?
  • Pre-installation
  • Post-Installation (according site attributes)
  • Manager (OMG DC)
  • Actor

29
Interface design issues (i)
  • Interface Attributes could be replace by
  • javax.management.DynamicMBean
  • - muttable interface
  • link with JMX and OSMOSE Admin WG
  • or
  • org.objectweb.fractal.api.control.AttributeControl
    ler
  • - muttable interface
  • ? Functional or Non functional interface
  • or
  • both

30
Interface design issues (ii)
  • Attribute values may be java.lang.Comparable
  • Eg Version, VersionedPackage,
  • Collection parameters and return
  • Type
  • Iterator
  • IteratorltTypegt JDK 1.5 and
  • List/Set
  • List/SetltTypegt JDK 1.5 and

31
Interface design issues (iii)
  • Mutable interfaces
  • add(Type), remove(Type),
  • Observable interfaces
  • Observes if the Unit A changes its implementation
    version
  • get/set Observer
  • javax.management.NotificationBroadcaster
  • Finder interfaces
  • Improve performance during dependency resolution
  • Dependency can use those indexes to search
    Attributes objects quickly
  • Method find(String filter) ApplicationRepository,
    Organization,
  • Others ?

32
Relationship with other WPs
  • WP2
  • System Management
  • WP3
  • Personalities for J2EE, OSGi, CCM
  • Personalities for Fractal

33
Open issues
  • Code/State migration
  • ProActive ActiveObject
  • Positioning / Compliance with
  • OMG DC
  • (Deployment and Configuration of Component-based
    Distributed Applications)
  • JSR 88
  • (J2EE Server API for 3-tier Deployment Tools)
  • Others ?
  • SUN JNLP, DVB-MHP, Linux RPM,

34
GDF personalities
  • OSGi
  • J2EE
  • CCM
  • Fractal
  • ProActive
  • DCUP/SOFA
  • Linux
  • .NET
  • Generic
  • Context Aware, Atonomic, SOA (JINI, WS, OSGi)

35
The OSGi personality
  • First naïve implementation
  • Reuse Oscar Bunlde Repository metadata
  • standalone or as a bundle (on site
    resolver/deployer)
  • Should merge with ResolveIT ?

36
Action points
  • We have a deadline 15 th of july
  • Complete the current GDF
  • OMG DC subset
  • or OMG DC compliance
  • Share out the work among us
  • Horizontal (process, resolution, )
  • Vertical (platform)

37
  • Send commentsto the Deployment Mailing
    Listdeployment_at_objectweb.org
Write a Comment
User Comments (0)
About PowerShow.com