3. WildFly?
• Previously called “JBoss Application Server”
• Upstream for JBoss Enterprise Application Platform
• Supports Java EE standards and beyond
• Fast, Lightweight, Manageable
• Developer Friendly
• Open Source
• Still here after 14 years
#DV13-WF
@dandreadis
5. zeroturnaround.com
“If we had to pick a winner, it would be JBoss. The only
application server in the group whose score never dropped below a
4, and interestingly the received the joint fewest top marks of 5 in the
categories. JBoss consistently performs very well in each category
which is why it also shines in the developer profiles exercise. Yes it is
a bigger download and larger in memory consumption than most, but
performance wise for a developer, it doesn’t show.”
#DV13-WF
@dandreadis
7. WildFly v8 – Main Features
• Java EE7 support
• High Performance Web Server (Undertow)
• Reduced Port Usage
• Patching Infrastructure
• Audit Logging
• Role Based Administration
#DV13-WF
@dandreadis
8. EE7 Highlights – New Techs
• JSR-352 Batch Applications for the Java Platform
•
Runtime & Artifact API, XML-based Job specification lang.
• JSR-236 Concurrency Utilities for JavaEE
•
#DV13-WF
Executor, Scheduled Executor, Thread Factory, Context
@dandreadis
9. EE7 Highlights – New Techs (cont.)
• JSR-353 Java API for JSON Processing (JSON-P)
•
Parse, transform and query JSON data
• JSR-356 Web Sockets support
•
#DV13-WF
Annotation driven endpoints and lifecycle callbacks
@dandreadis
12. EE7 Highlights – Optional Techs
• Removed in WildFly 8
•
•
•
•
#DV13-WF
EJB 2.1 Entity Beans (CMP/BMP)
JAX-RPC (API for XML-based RPC)
JAXR (API for XML Registries)
JSR-88 (Deployment API)
@dandreadis
13. New WebServer - Undertow
• Blocking / non-blocking NIO based APIs
• Composition/handler based architecture
• Lightweight & fully embeddable
• Supports Servlet 3.1 & HTTP upgrade
#DV13-WF
@dandreadis
14. Port Reduction
• HTTP Upgrade allow us to reduce the number of ports in
the default installation to just 2:
•
•
8080 – for applications with JNDI and EJB multiplexed
9990 – for management, for both HTTP/JON & Native APIs
• The only overhead is the initial HTTP Upgrade
request/response.
#DV13-WF
@dandreadis
16. Undertow as Reverse Proxy
• High performance reverse proxy
• Handles both AJP and HTTP backends
• Supports round robin load balancing
• Support for mod_cluster is planned
• Still under heavy development
#DV13-WF
@dandreadis
17. Single Instance Patching
• WildFly/EAP is used on its own or as the base for other
•
•
•
•
#DV13-WF
projects/products (e.g. SwitchYard/SOA-P)
Patching allows updating of libraries and configuration
files in an installation (a.k.a. identity)
Patches come in the form of .zip bundles containing
updates and metadata.
Multiple one-off patches can be applied but are
invalidated by the next point/CP release.
Rollbacks are possible.
@dandreadis
18. Administrative Audit Logging
• Logging of connection / authentication events
• Logging of management operations
• Log Message as JSON Records
• Audit Logging Handlers
•
•
#DV13-WF
Local file
Syslog (UDP / TCP / TLS)
@dandreadis
19. Role-based Administration (RBAC)
• Administrative users can be mapped to Roles
• Role is set of Permissions
• Permissions specify which Actions (lookup, read, write)
are allowed on resources classified as:
•
•
•
#DV13-WF
Sensitive resource types, attributes, operations or data
Audit Resources
Application Resources
@dandreadis