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:
Session beans have two possible interfaces,
@Remote. The difference is that when the ...