Currently, I am trying to weed out bottlenecks in my JSF/PrimeFaces web application. In order to do so, I installed VisualVM and its GlassFish plug-in.
I am unable to explicitly "profile" over JMX, but I can generate a "sampling" output. This output, however, shows almost the entire load in an operation called $Proxy245.invoke()
.
My own operations (ch.diction.*) and the SQL interaction logic (com.mysql.jdbc.*), which I suspected as bottlenecks in the first place, do not seem to contribute an awful lot to this lack of performance.
The page being displayed is a PrimeFaces datatable with a few hundred paginated records. The number of records does affect the performance significantly, if not exclusively.
So my question is: How can I find out what lies behind $Proxy245.invoke()
in order to identify the real bottleneck in this scenario?
Thank you in advance for your advice and best regards
Pascal