Performance tuning EJBs in WildFly

Most of the performance tuning of EJBs in WildFly consists of tuning various pools. The following sections will go more into detail about each of the EJB types and their actual tuning. First though, we will start with some generic information about enabling detailed statistics in WildFly and a few optimizations of local and remote method calls.

Enabling detailed statistics

By default, detailed statistics aren't generated in WildFly. To generate statistics, it must be enabled using the following CLI command:

/subsystem=ejb3:write-attribute(name=enable-statistics,value=true)

Optimizations of Local and Remote method calls

Session beans have two possible interfaces, @Local and @Remote. The difference is that when the ...

Get WildFly Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.