Skip to Content
May 14, 2004 at 01:50 PM

ejb performance



I've got a MySQL db with ~ 1500 rows. When doing a select through an entity ejb it take ~2500ms to execute a given request. It takes ~250 ms when I access the data base directly on the client. My ejb is ten times slower than a direct access by the client, is that normal? My bean is on a WEB AS in debug mode is that the problem? It seems that the "ejbStore" method is called for each result when I call a find method, why?

Best regards