Your SlideShare is downloading. ×
0
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Saved Session State in GlassFish v3 Prelude
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Saved Session State in GlassFish v3 Prelude

4,359

Published on

A description of how GlassFish v3 prelude provides saved session state

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,359
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
41
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. GlassFish v3 Prelude: Save Session State jan .l uehe@sun .com November 6, 2008
  • 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. 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. 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. Integration with NetBeans
  • 6. Integration with GlassFish Plugin for Eclipse
  • 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. 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. GlassFish v3 Prelude: Save Session State jan .l uehe@sun .com November 6, 2008

×