Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Heavy JavaBean (FormBean) > > Session scope > > Performance

Heavy JavaBean (FormBean) > > Session scope > > Performance

2005-09-20       - By R Riluvan

 Back
Reply:     1     2     3     4     5  

<html><div style='background-color:'><DIV class=RTE>
<P><FONT size=2>"I would like to know the effect of adding a heavy form bean in
session scope of a JSP.<BR>Heavy bean means lets assume, around 200 fields of
data type String is in the bean."<BR>-- there is session&nbsp;serialization
consequences, measure the size of the bean when no values populated and when if
it is fully populated. </FONT></P>
<P><FONT size=2>-- Is this risking unnecessorily caching of values which might
not be needed accross session. </FONT></P><FONT size=2>
<P>-- Keep the session size to be optimal.</P>
<P><BR>We are thinking of one single bean for a entire module, instead of
multiple beans to avoid<BR>plenty of codes to transfer data from one bean to
other bean.</FONT><BR>-- This will be like mixing apple and orange in one
basket. You could use components such as beanutils from apache to populate
values from one bean to another, provided taken care when naming of accessor
methods in the form beans.</P>
<P>-- Managing such bean would be complex, also would affect scalability of the
form bean.</P>
<P>---- Rizwan<BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5
2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma
,sans-serif">
<HR color=#a0c6e5 SIZE=1>

<DIV></DIV>From:&nbsp;&nbsp;<I>"Jayaraman, Jayakumar" &lt;jayakumar.jayaraman
@(protected)&gt;</I><BR>Reply-To:&nbsp;&nbsp;<I>An interest list for Sun Java
Center J2EE Pattern Catalog &lt;J2EEPATTERNS-INTEREST@(protected)&gt;</I><BR
>To:&nbsp;&nbsp;<I>J2EEPATTERNS-INTEREST@(protected)</I><BR>Subject:&nbsp;&nbsp
;<I>Heavy JavaBean (FormBean) &gt;&gt; Session scope &gt;&gt; Performance</I><BR
>Date:&nbsp;&nbsp;<I>Tue, 20 Sep 2005 12:37:21 +0530</I><BR>MIME-Version:&nbsp;
&nbsp;<I>1.0</I><BR>Received:&nbsp;&nbsp;<I>from swjscmail2.java.sun.com ([192
.18.99.108]) by mc7-f5.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 20
Sep 2005 00:17:59 -0700</I><BR>Received:&nbsp;&nbsp;<I>from swjscmail1
(swjscmail1.Sun.COM [192.18.99.107])by swjscmail2.java.sun.com (Postfix) with
ESMTPid 84C0421B80; Tue, 20 Sep 2005 01:17:45 -0600 (MDT)</I><BR>Received:&nbsp
;&nbsp;<I>from JAVA.SUN.COM by
JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8e) with spool id 74540212 for
J2EEPATTERNS-INTEREST@(protected); Tue, 20 Sep 2005 01:17:40 -0600</I><BR
>Received:&nbsp;&nbsp;<I>from rly01e.srv.mailcontrol.com (cluster-e.mailcontrol
.com [217.79.216.190]) by swjscmail1.java.sun.com (Postfix) with ESMTP id
7432F498F for &lt;J2EEPATTERNS-INTEREST@(protected)&gt;; Tue, 20 Sep 2005 01
:07:38 -0600 (MDT)</I><BR>Received:&nbsp;&nbsp;<I>from smtp1.cmg.com (smtp1.cmg
.com [195.109.155.100]) by rly01e.srv.mailcontrol.com (MailControl) with ESMTP
id j8K77nU2028838; Tue, 20 Sep 2005 08:07:49 +0100</I><BR>Received:&nbsp;&nbsp;
<I>from c2-ex001.groupinfra.com ([10.0.2.14]) by smtp1.cmg.com (8.12.9/8.12.3)
with ESMTP id j8K76Coq081503; Tue, 20 Sep 2005 09:07:48 +0200 (CEST) (envelope
-from jayakumar.jayaraman@(protected))</I><BR>Received:&nbsp;&nbsp;<I>from in
-ex002.groupinfra.com ([158.234.200.107]) by
c2-ex001.groupinfra.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 20 Sep 2005
09:07:36 +0200</I><BR>Received:&nbsp;&nbsp;<I>from in-ex001.groupinfra.com (
[158.234.200.12]) by in-ex002.groupinfra.com with Microsoft SMTPSVC(6.0.3790.211
); Tue, 20 Sep 2005 12:37:22 +0530</I><BR>Hi Guys,<BR><BR>I would like to know
the effect of adding a heavy form bean in session scope of a JSP.<BR>Heavy bean
means lets assume, around 200 fields of data type String is in the bean.<BR><BR
>We are thinking of one single bean for a entire module, instead of multiple
beans to avoid<BR>plenty of codes to transfer data from one bean to other bean.
<BR><BR>Could you guys share your expertise ?<BR><BR><BR>Cheers,<BR><BR
>Jayakumar Jayaraman<BR><BR>IT Consultant<BR>LogicaCMG Global Delivery Center<BR
>__ ____ ____ ____ ____ _____<BR>LogicaCMG Pvt Ltd<BR>Divyasree Technopolis,<BR
>124-125, Yemlur&nbsp;&nbsp;P.O.<BR>Off
Airport Road,<BR>Bangalore, Karnataka,India<BR>Pin : 560 037.<BR>T: +91 080
5194 0000&nbsp;&nbsp;&nbsp;&nbsp;Ext. 20390<BR>M: +91 (0) 98456 99329<BR>E:
&nbsp;&nbsp;jayakumar.jayaraman@(protected)<BR>Web : www.logicacmg.com<BR><BR>
<BR><BR>This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.<BR><BR>===============================
=====================================<BR>Companion Site: http://www
.corej2eepatterns.com<BR>J2EE BluePrints: http://java.sun.com/blueprints
/corej2eepatterns<BR>List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html<BR
>Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<BR></FONT></BLOCKQUOTE></div></html>
====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.