• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session State Persistence  RSS feed

 
Pearlo Muthukumaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have the following requirement of state persistence for the
mobile devices on a critical application:
1. State has to be persisted across intermittent connection and disconnection due to network coverage problems,device power cycle etc.
2. The Conversational data of session must be persisted for longer durations even across server shutdowns.
3. The session-data is highly non-relational but is more suitable for object modelling.
(eg.I have modelled the session data using a serializable Java Class.My attempt to do a relational modelling calls for additional marshalling and unmarshalling code which is a sure overhead for a wireless application)
Considering above facts,
I am planning to persist session data object graphs using object databases. I have tested an embedded object database in the above model with Tomcat Web Container and the results are promising.
I have not used easy cakes like:
a. Stateful session beans
b. JAXB kind of binding for session data
c. JavaBean <==> XML or XML <==> JavaBean
kind of solutions beacuse this is a compelling wireless application and overheads caused by above approaches, will easily kill the server.
Please advise me if my approach is having any gaping holes at the initial outset.
Thanks for the time spent on a relatively long question
Regards
Muthu
 
Pearlo Muthukumaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OOPS !!! I forgot to mention... ABOVE IS FOR SERVER DESIGN. NOT MIDLET OR ANYTHING LIKE THAT!!!
Regards
Muthu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!