I have installed a new J2EE application (Ejb, Cmp, Web) on DB2 database on a IBM Iseries (ex AS/400). JDBC connection is quite good ( 2 seconds for 1000 recordings ) but the ejb connection is very slow, until 30 secondes for 5 recordings.
I've indexed all the tables and journalized the file. But it's always slow.
Do you have an solution to my problem ? Or do you see the origin of my problem ?