IT Community - Software Programming, Web Development and Technical Support

Can we write Construcror in Servlet?

This is a discussion on Can we write Construcror in Servlet? within the Java Programming forums, part of the Software Development category; ................


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Java Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-25-2007, 03:20 AM
leoraja8 leoraja8 is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 194
leoraja8 is on a distinguished road
Default What happens to the static fields of a class during serialization?

.............

Last edited by leoraja8 : 09-25-2007 at 03:29 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-23-2007, 09:51 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile Re: Can we write Construcror in Servlet?

There are three exceptions in which serialization does not necessarily read and write to the stream. These are
1. Serialization ignores static fields, because they are not part of ay particular state state.
2. Base class fields are only hendled if the base class itself is serializable.
3. Transient fields.
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send data from servlet to javascript variables Pvinothkumar HTML, CSS and Javascript Coding Techniques 0 10-09-2007 11:05 PM
Servlet creation and servlet loading........ leoraja8 Java Programming 4 09-25-2007 12:22 AM
What is the Servlet Interface? Arun Java Programming 2 09-10-2007 04:35 AM
How to pass data (including JavaBeans) to a JSP from a servlet? anbuchezhians Java Server Pages (JSP) 1 08-01-2007 11:47 PM
What’s the difference between Response.Write() andResponse.Output.Write()? prasath ASP and ASP.NET Programming 1 07-19-2007 03:56 AM


All times are GMT -7. The time now is 11:19 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0