GlassFish v3 Prelude:
 Save Session State

    jan .l uehe@sun .com


    November 6, 2008
Motivation

• redeploy = undeploy + deploy
• Undeploy:
  > Removes any and all traces of a web application
    (including ...
Retain HTTP sessions across redeployments
• GlassFish v3 Prelude adds support for preserving HTTP
  sessions across redepl...
Retain HTTP sessions across redeployments
(cont.)

• Leveraged by NetBeans Deploy on change feature:
  > Instantly redeplo...
Integration with NetBeans
Integration with GlassFish Plugin for Eclipse
Summary

GF v3 Prelude simplifies your development
cycles and makes you more productive by
allowing you to preserve HTTP s...
Resources

•   https://glassfish.dev.java.net/
•   https://glassfishplugins.dev.java.net/eclipse34
•   webtier@glassfish.d...
GlassFish v3 Prelude:
 Save Session State

    jan .l uehe@sun .com


    November 6, 2008
Upcoming SlideShare
Loading in...5
×

Saved Session State in GlassFish v3 Prelude

4,436

Published on

A description of how GlassFish v3 prelude provides saved session state

Published in: Technology, Health & Medicine
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,436
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
41
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Saved Session State in GlassFish v3 Prelude

  1. 1. GlassFish v3 Prelude: Save Session State jan .l uehe@sun .com November 6, 2008
  2. 2. Motivation • redeploy = undeploy + deploy • Undeploy: > Removes any and all traces of a web application (including its classloader, compiled JSPs, file- persisted HTTP sessions, etc.) > Destroys any active HTTP sessions • HTTP sessions will need to be recreated following a redeployment • Tedious during development cycles
  3. 3. Retain HTTP sessions across redeployments • GlassFish v3 Prelude adds support for preserving HTTP sessions across redeploys • Example usage: asadmin redeploy --properties keepSessions=true --name myapp myapp.war • Active sessions are stored in memory in serialized form for the duration of the redeployment • Will be deserialized using the classloader of the redeployed application • Classes used as session attribute values may evolve only in backwards compatible fashion
  4. 4. Retain HTTP sessions across redeployments (cont.) • Leveraged by NetBeans Deploy on change feature: > Instantly redeploys application as soon as one of its class files or descriptors has changed > Requires directory based deployment
  5. 5. Integration with NetBeans
  6. 6. Integration with GlassFish Plugin for Eclipse
  7. 7. Summary GF v3 Prelude simplifies your development cycles and makes you more productive by allowing you to preserve HTTP sessions across application redeployments.
  8. 8. Resources • https://glassfish.dev.java.net/ • https://glassfishplugins.dev.java.net/eclipse34 • webtier@glassfish.dev.java.net • http://forums.java.net/jive/forum.jspa?forumID=138
  9. 9. GlassFish v3 Prelude: Save Session State jan .l uehe@sun .com November 6, 2008
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×