  | 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
|
|
|
  | | | Subject: javax.ejb.SessionContext | Subject: javax.ejb.SessionContext 2005-10-19 - By KR Kumar
Back Hi
Session context is not serialized as it represents the session environment and normally it does not change and available as long as application is running. So that's why generally context objects are not serialized.
KR Kumar
__ __
From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] On Behalf Of Bharath Ganesh Sent: Wednesday, October 19, 2005 7:51 PM To: J2EE-INTEREST@(protected) Subject: javax.ejb.SessionContext
Hi
Could anyone tell me why is javax.ejb.SessionContext not made serializable?
Thanks ===== cheerio bharath I Blog at http://jroller.com/page/bharath
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http: //www.w3.org/TR/REC-html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} @(protected) {font-family:"Bookman Old Style"; panose-1 (See http://ose-1.ora-code.com):2 5 6 4 5 5 5 2 2 4;} @(protected) {font-family:Verdana; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> </head>
<body bgcolor=white lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face="Bookman Old Style"><span style='font-size:10.0pt;font-family:"Bookman Old Style";color:navy'>Hi<o:p></o :p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Bookman Old Style"><span style='font-size:10.0pt;font-family:"Bookman Old Style";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Bookman Old Style"><span style='font-size:10.0pt;font-family:"Bookman Old Style";color:navy'>Session context is not serialized as it represents the session environment and normally it does not change and available as long as application is running. So that’s why generally context objects are not serialized.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Bookman Old Style"><span style='font-size:10.0pt;font-family:"Bookman Old Style";color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face="Bookman Old Style"><span style='font-size:10.0pt;font-family:"Bookman Old Style";color:navy'>KR Kumar<br> <br> </span></font><font size=2 color=navy><span style='font-size:10.0pt;color:navy' ><o:p></o:p></span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>Bharath Ganesh<br> <b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 19, 2005 7:51 PM<br> <b><span style='font-weight:bold'>To:</span></b> J2EE-INTEREST@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> javax.ejb.SessionContext< /span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:navy'>Hi</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size: 10.0pt;font-family:Verdana;color:navy'>Could anyone tell me why is javax.ejb.SessionContext not made serializable? </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><br> </span></font><font size=2 color=navy face=Verdana><span style='font-size:10 .0pt; font-family:Verdana;color:navy'>Thanks</span></font><br> <font size=2 color=navy face=Verdana><span style='font-size:10.0pt;font-family: Verdana;color:navy'>=====<br> cheerio <br> bharath<br> I Blog at <a href="http://jroller.com/page/bharath">http://jroller.com/page /bharath</a> </span></font><o:p></o:p></p>
</div>
</div>
</body>
</html> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |