0 Replies Latest reply on Nov 16, 2011 8:26 AM by rododendro.ivan

    Seam 2.1.1 and InitialContext.lookup()

    rododendro.ivan

      Hi all,
      I'm not a newbie in JEE, but I barely know Seam. Now I have to tune a Seam 2.1.1 / JBPM / JBoss 4.2.2 application which performs poorely.


      In the application home page there's list of entities, I profiled the opening of an entity detail and it turns out that about 60% of cpu time is taken by InitialContext.lookup() that is called 18 times. It looks like the object seam is looking for is the UserTransaction.


      Now... is that a know problem of seam or the result of bad programming or anti-pattern? Ant idea?


      Thanks
      I