1
How we use OSGi to build Open Liberty
Alasdair Nottingham - IBM
How we use OSGi to build Open Liberty Alasdair Nottingham - IBM 1 - - PowerPoint PPT Presentation
How we use OSGi to build Open Liberty Alasdair Nottingham - IBM 1 Background 2 Project goals Implement Jakarta EE Small Footprint Start fast Composible Dynamic Easy to use 3 Just Enough App Server You
1
Alasdair Nottingham - IBM
2
3
4
Just Enough App Server
Kernel Servlet-4.0 http-2.0 appmgr
<feature>servlet-4.0</feature> <feature>jsf-2.3</feature>
jsp-2.3 jsf-2.3
5
<server> <featureManager> <feature>javaee-8.0</feature> </featureManager> <httpEndpoint id=“defaultHttpEndpoint” httpPort=“8080”/> <webApplication location=“myWeb.war” contextRoot=“/”/> </server>
describes bundles for feature
start http transport
start application
6
custom classloaders
Bundle A Bundle B Bundle c ear jar jar war jar jar region Gateway
9
10
Amost halved startup time due to app server and JVM improvements through 2019 2 hyperthreaded cpus on 2 socket system, each socket containing 24 cores. cpu model: Intel Xeon Platinum 8168 CPU @ 2.70 GHz Application PingPerf - https://github.com/HotswapProjects/pingperf
0.5 1 1.5 2 2.5
December March April July August September
Seconds
11
12
Enumeration e = b.findEntries("OSGI-INF", "*.xml", true);
13
you have a predictable install order
14
15 15
16
JPMS and none?