6 Replies Latest reply on Apr 16, 2003 4:28 AM by miloud

    ***!30 seconds for a simple jsp!***

    miloud Newbie

      Hi,

      I'm new to EJBs and don't know what are there optimal performances.
      I use BMP beans on jboss 3.0.3 with tomcat4
      I have the folllowing code in my jsp :
      ----------------------------------
      (categoryHome.findByPrimaryKey(csc.getCatId())).getCatName()
      ----------------------------------
      it takes about 0.2 seconds ... but the page contains about 150 times that request (in a loop) => we have to wait a least 30seconds !
      Is there a better way to code ? Is this delay normal ?

      Thanks in advance !