Pavan Tammana

Greenhorn
+ Follow
since Mar 08, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pavan Tammana

Hey Guna,
Thank you very much.
Pavan Kumar Tammana
Hi Varathan,
Thank you very much. That helps me a lot. Could you please do me a favour by sending me the error message which you got when you were trying to access it.

Thanks,
Pavan Kumar Tammana
Hey John,
Use Log4j which is provided by Apache. It is a good tool for logging. If you don't want logging at all, i would say you can do remote debugging. All most all the IDE's have a remote debugging feature. That's what you do for a production support project.

Thanks,
Pavan Kumar Tammana.
18 years ago
Hi Fredric and Chandu,

Thanks for your replies.

Frederic, I have understood the same way which you have written. But one thing i don't understand is..

Ok let me explain this by giving a scenario:

Suppose, first time a user has requested an application, we have created a session object for him and placed some info in the session object. Suppose they are some attributes which are not serialized and i haven't implemented SessionActivationListener on that attribute. So by no means it is serialized.

Now suppose the user comes the next time and requests by sending the cookie or session id (whatever) with the request and the request this time has passed to a differnt JVM (different machine) then you migrate the session object which was on previous JVM to here. So how are going to restore the state, if some of the attributes in the session objects are not serialized.

Also Frederic, you didn't mention anything about how the object graph of an object. Does it matters or not.

I would appreciate if Marc or Fred looks into this issue.

Thanks,
Pavan Kumar Tammana.
Dear Ranchers,

I want a clear idea on Session Migration. The HFSJ book doesn't mention it clearly. When Session Migration is done, do all the attributes in HttpSession object need to be serialized. If not, should they be declared transient.
If they need to be seriailized, does the object graph principle needs to be satisfied for all the attributes in the HttpSession object. The book mentions that HttpSessionActivationListener makes it work even if the instances of attributes in HttpSession object are not serialized. Also it mentions that some instances can be set to null. I was confused by reading the topic. Since this can be tested only in distributed environment, it would be helpful if any one could shed some light on this topic.

Thanks,
Pavan Kumar Tammana.
Hey Chandu,
The Manning's book is the one by Deshmukh. Actually the older version of book is good. Many people don't suggest the newer version. One more problem with Manning's book is, actually the errata for this book is not being updated. If you come to the book by Bridgewater its the latest one. I haven't heard much about the book. But if you have HSFJ, i would rather suggest you to go with it. Also HSFJ doesn't cover some topics. So just refer to the remaining topics in Manning's book.
Thanks,
Pavan Kumar Tammana