Download - LorraineJUG - WildFly
Alexis HasslerJanvier 2015
sur terre et dans les nuages
Alexis Hassler
Développeur, formateur Java
Indépendant
Co-leader du
7.0
8.0
6.0
7.x?
7.17.2 6.1
6.x
8.x9.x
git clone https://github.com/wildfly/wildfly.git cd wildfly./build.sh -DskipTests -Drelease=true
git clone git://github.com/hasalex/eap-build.git cd eap-build./build-eap.sh
http://pixabay.com/fr/manchot-oiseau-cool-rappeur-157887/
Java EE 7
léger
pratique
cool
2000
2.0
lourd
compliqué
pas cool
2010
5.x / 6.x
Startup
0 s5 s
10 s15 s20 s25 s30 s35 s40 s45 s50 s
AS4.0
AS4.2
AS5.1
AS6.0
Startup
0 s10 s20 s30 s40 s50 s60 s70 s80 s90 s
Geronimo 2
GlassFish 2
GlassFish 3
JBoss 5
JBoss 6
Weblogic 10
Websphere 7
http://tiny.cc/agoncal-as-startup (12/2009)
léger
pratique
über-cool
2012
0 s2 s4 s6 s8 s
10 s12 s14 s16 s18 s
AS4.0
AS4.2
AS5.1
AS6.0
AS7.1(full)
WF8.2
(full)
Startup
Lightweight
0 Mo20 Mo40 Mo60 Mo80 Mo
100 Mo120 Mo140 Mo160 Mo180 Mo
AS4.0
AS4.2
AS5.1 AS
6.0
AS7.1
(full)
WF8.2
(full)
Heap used
Modulaire
Core Infrastructure
SubsystemsD
atas
our
ce
Java
EE
EJB
CD
I - W
eld
JPA
- H
iber
nate
Nam
ing
Cac
he
- In
finis
pan
JMS
- H
orne
tQ
JGro
ups
JAX
-RS
- R
ES
Tea
sy
JCA
- Ir
onJa
cam
ar
JBos
s T
ran
sact
ion
JBos
s Lo
ggin
g
JSF
- M
ojar
ra
JAX
-WS
- C
XF
...
Confguration simplifée
fnd <profle_dir> -name *.xml | wc -l
0
20
40
60
80
100
120
140
160
AS4.0
AS4.2
AS5.1
AS6.0
AS7.1
WF8.2
Confguration expressive
standalone/configuration/standalone.xml
Confguration expressiveserver/default/deploy/hdscanner-jboss-beans.xml
server/default/conf/bootstrap/profile.xml
5.1
http://www.ironmaidenwallpaper.com/
Administration
Web Console CLI
HTTP / JSON Java API
jboss-cli.sh
HTTP / JSON
http://localhost:9990/management/
curl http://localhost:9990/management --user alexis:hassler --digest --header "Content-Type: application/json" -d '{ "operation":"change-root-log-level", "json.pretty":1, "address":["subsystem","logging","root-logger","ROOT"], "level":"ERROR" }'
Java API
ModelControllerClient client=create(SERVER,NATIVE_ADMIN_PORT);
ModelNode operation = new ModelNode();operation.get("operation").set("change-root-log-level");operation.get("level").set("ERROR");
ModelNode rootLogger = operation.get("address");rootLogger.add("subsystem");rootLogger.add("logging");rootLogger.add("root-logger");rootLogger.add("ROOT");
client.execute(operation).get("result");
JMX
Domaine jboss.as
Console CLI
HTTP / JSON Java API
JMX
XML
Administration
Domain
Host 1
HostController
Server
Server
Host 2
HostController
Server
Host 3
HostController
Server
Host 0
DomainController
Server Group
1
Server Group
2
http://www.ironmaidenwallpaper.com/
Cloud
IaaSInfrastructure as a Service
Hardware+
OS
SaaSSoftware as a Service
Software
PaaSPlatform as a Service
Runtime/
Middleware
PaaS by
Java, Perl, PHP, Python, Ruby
Java EE 6 / 7 - Full profle
Git
Wildfy 8, JBoss AS 7 ou EAP 6
Conclusion
Serveurs d'applications modernes
http://www.wildfy.org/
http://www.jboss.org/openshift/
?