June 2014
Intermediate to advanced
330 pages
7h 50m
English
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.
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)
Session beans have two possible interfaces, @Local and @Remote. The difference is that when the ...