farben: scout in the cloud - eclipsecon 2020 · 2017-12-06 · farben: 254/153/21 0/130/161...
TRANSCRIPT
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 42 Untertitel: Calibri, 24
Special ( entfernen): Untertitel über Logo ziehen
How to Scale Eclipse Scout Applications in the Cloud?
SCOUT IN THE CLOUD
Judith Gull & Thomas Schweigler
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Introduction to Eclipse Scout
Dynamically Scaling Scout Applications
Support for different Cloud Platforms
Demo: A Scout Application on Multiple Nodes
How do I get my Scout Application into the Cloud
Overview
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Introduction to Eclipse Scout
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: 2. Zeile als Untertitel nicht Fett
Framework for Business Applications
Based on Java/Eclipse platform
Multi Frontend (Mobile, Tablet, Desktop)
Open Source
Eclipse Scout
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: 2. Zeile als Untertitel nicht Fett
Framework for Business Applications
Based on Java/Eclipse platform
Multi Frontend (Mobile, Tablet, Desktop)
Open Source
Scout Goals
Boost developer productivity
Long term strategy
Simple to learn
Eclipse Scout
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Example – BSI CRM
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
15 Years of History
1999 2001 2007 2010 2004 2011 2012 2013 2014
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: 2. Zeile als Untertitel nicht Fett
Application architecture
Service Tunnel
Eclipse Platform
Equinox OSGi
Webserver
Scout Server
Server Application
Web
Browser
Eclipse Platform
Equinox OSGi
Scout Client
RA
P
Client Application
Tablet
Mobile Sw
ing
SWT
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Hello World
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Dynamically Scaling Scout Applications With Upcoming Luna Release
Simple
Stable
Flexible
Scalable
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Eclipse Scout Applications - so far
Rich Clients Web Clients
Web-Server
Database
App-Server App-Server
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Eclipse Scout Applications – future?
Web Clients
Web-Server
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Eclipse Scout Applications - future?
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Load balancer
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Eclipse Scout Applications - future?
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Load balancer
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Servlet Container
App-Server 1
Stateless?
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Servlet Container
App-Server 1
Eclipse Scout Server Application
Stateless?
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Servlet Container
App-Server 1
Eclipse Scout Server Application
HTTP-Session
Stateless?
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Servlet Container
App-Server 1
Eclipse Scout Server Application
HTTP-Session
Stateless?
Cached Data
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Servlet Container
App-Server 1
Eclipse Scout Server Application
HTTP-Session
Stateless?
Cached Data
Client
Notifications
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Eclipse Scout Applications – future!
Web Clients
Web-Server ...
Database
App-Server
Load balancer
App-Server 1 App-Server n App-Server ...
Rich Clients
Web-Server 1 Web-Server n
Cache Message Queue
Load balancer
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Dynamically Scaling Scout Applications With Upcoming Luna Release
Simple
Stable
Flexible
Scalable
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Support for different Cloud Platforms How Eclipse Scout supports many Platforms
out of the Box
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
PaaS Vendors
Vendor PaaS Product Webserver Cache Service Message Service
Amazon Beanstalk Tomcat 6 & 7 Amazon ElastiCache Amazon SQS / SNS
Cloudbees Run@Cloud Tomcat 6 & 7 Jboss 7.2 Glasfish 3
Application Session Stores, Memcachier (memcached)
RabbitMQ
dotcloud dotcloud Jetty 6,7 & 8 redis RabbitMQ
Hivext Jelastic Tomcat 6 & 7 Glasfish
Memcached, Session Replication
JMS
Oracle Cloud Java Weblogic Coherence Dedicated Nodes Oracle Messaging Cloud Service
Red Hat OpenShift Tomcat 6 & 7 Jboss Jetty …
redis IronMQ
Salesforce Heroku Tomcat 7 Jetty
IronCache RabbitMQ
VMWare CloudFoundry Tomcat 6 & 7 redis RabbitMQ
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Platform independent
OSGI Service Registry
App-Server Bundles
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Platform independent
OSGI Service Registry
Scout RT Server
...
App-Server Bundles
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Platform independent
OSGI Service Registry
Scout RT Server
...
Server Application
...
App-Server Bundles
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Platform independent
OSGI Service Registry
Scout RT Server
...
Some other Bundles
..
Server Application
...
App-Server Bundles
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Platform independent
OSGI Service Registry
Scout RT Server
...
Cache Service
Message Service
Some other Bundles
..
Server Application
...
App-Server Bundles
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
App-Server Bundles
Platform independent
OSGI Service Registry
Scout RT Server
...
Cache Service
Message Service Memcached Cache Service
Memcached Cache RabbitMQ Messages
RabbitMQ Message Service
Some other Bundles
..
Server Application
...
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
App-Server Bundles
Platform independent
OSGI Service Registry
Scout RT Server
...
Cache Service
Message Service Redis Cache Service
Redis Cache ActiveMQ Messages
ActiveMQ Message Service
Some other Bundles
..
Server Application
...
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Demo A Scout Application Running on Multiple
Nodes
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
How do I get my Scout Application into the Cloud?
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Choose a PaaS Provider
Download the specific Service-Plugins from Eclipse Marketplace
Add as Dependencies to your Product
Prepare your Application
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Add Service Credentials to config.ini
Configure Services
#Cache org.eclipse.scout.cloud.cachestore.MemcachedCacheService#host= org.eclipse.scout.cloud.cachestore.MemcachedCacheService#port= org.eclipse.scout.cloud.cachestore.MemcachedCacheService#username= org.eclipse.scout.cloud.cachestore.MemcachedCacheService#password= #Message Queue org.eclipse.scout.cloud.notification.rabbitmq.RabbitMQMessageService#host= org.eclipse.scout.cloud.notification.rabbitmq.RabbitMQMessageService#user= org.eclipse.scout.cloud.notification.rabbitmq.RabbitMQMessageService#password=
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Build your Application (e.g. with Maven)
Upload the war-file into the Cloud
Build and Deploy
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
Check your Applications status
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
PaaS Vendors
Vendor PaaS Product Webserver Cache Service Message Service
Amazon Beanstalk Tomcat 6 & 7 Amazon ElastiCache Amazon SQS / SNS
Cloudbees Run@Cloud Tomcat 6 & 7 Jboss 7.2 Glasfish 3
Application Session Stores, Memcachier (memcached)
RabbitMQ
dotcloud dotcloud Jetty 6,7 & 8 redis RabbitMQ
Hivext Jelastic Tomcat 6 & 7 Glasfish
Memcached, Session Replication
JMS
Oracle Cloud Java Weblogic Coherence Dedicated Nodes Oracle Messaging Cloud Service
Red Hat OpenShift Tomcat 6 & 7 Jboss Jetty …
redis IronMQ
Salesforce Heroku Tomcat 7 Jetty
IronCache RabbitMQ
VMWare CloudFoundry Tomcat 6 & 7 redis RabbitMQ
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Titel: Calibri, Fett, 32
Text: Calibri, 22 (mind. 16)
Special: Automatischer Einzug
What‘s next?
Try Scout: Download: www.eclipse.org/downloads Tutorials: wiki.eclipse.org/Scout Today’s Demo: wiki.eclipse.org/Scout/Demo#Bahbah_Chat_Cloud Scout Forum: www.eclipse.org/forums/eclipse.scout Follow Scout @EclipseScout
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Schrift: Text: Calibri, Fett, 42
Questions?
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Evaluate This Session
Sign-in: www.eclipsecon.org
Select session from schedule
Evaluate:
1
2
3
Farben:
254/153/21
0/130/161
127/127/127
255/204/138
128/193/208
191/191/191
Evaluate This Session
Sign-in: www.eclipsecon.org
Select session from schedule
Evaluate:
1
2
3