The solution for this problem is using Value Objects instead using Entity
beans. You can also use the Value List Handler pattern to manage a list of
unknow size.
Get more information in :
http://developer.java.sun.com/developer/restricted/patterns/J2EEPatternsAtAG
lance.html
and
http://www.theserverside.com/resources/patterns_review.jsp
there a lot more of other patterns to make use of EJB more efficient and
modular
At 21:46 04/07/01 -0400, marc fleury wrote:
>the first time is compilation of your jsp and afaik that is jasper even with
>jetty, talk to apache
>
>marcf
>
>|-----Original Message-----
>|From: [EMAIL PROTECTED]
>|[mailto:[EMAIL PROTECTED]]On Behalf Of Saul Farber
>|Sent: Wednesday, July 04, 2001 9:01 PM
>|To: [EMAIL PROTECTED]
>|Subject: [JBoss-user] JBoss performance problems
>|
>|
>|Hello gurus,
>|
>|I'm having some performance problems with JBoss right now. Could
>|someone help me out a bit?
>|
>|Here's the scenario:
>|
>|Sun UltraSparc1-170Mhz:
>|
>| running: +Jboss2.2.1_Jetty3.1.RC4 bundle
>| +PostgreSQL (ver 7.x)
>|
>|My app is pretty simple, just direct calls to entity EJB's from JSP's.
>|However, when I try to load a page that essentially displays a whole
>|table (all 30 rows) by using Home.findAll(), then running through the
>|java.util.Enumeration object, it takes close to 30 seconds to load the
>|page. This seems rather excessive. Could I have something
>|misconfigured?
>|
>|If you need more info, please email me. I saw a similar post in the
>|archives, but couldn't find a response to it.
>|
>|Thanks,
>|
>|Saul
>|
>|
>|_______________________________________________
>|JBoss-user mailing list
>|[EMAIL PROTECTED]
>|http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
Emerson Cargnin
TRE-SC
Setor de Desenvolvimento
Tel: (48) 251-3700 - Ramal 3134
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user