Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The "CayenneTapestrySqueezer" page has been changed by BobHarner.
The comment on this change is: outdated note.
http://wiki.apache.org/tapestry/CayenneTapestrySqueezer?action=diff&rev1=5&rev2=6

--------------------------------------------------

  ##language:en
+ 
+ || NOTE: This information is outdated and only applies to Tapestry 4, not 
Tapestry 5. ||
+ 
  == How To Get Cayenne to Work with Tapestry DataSqueezer ==
  To fully benefit from the information below you should be familiar with the 
workings of the DataSqueezer and 
[[http://www.objectstyle.org/cayenne/|Cayenne]].  The key concept to remember 
during this explanation is that there must be ONE unique Datacontext for each 
users session in the Tapestry webapp.  Now if you are not using the 
DataSqueezer, it suffices to simply put the Datacontext into your VisitObject.  
This results in a unique Datacontext for each users session.  However there is 
an additional hurdle when using Tapestry's DataSqueezer to serialize and 
de-serialize Cayenne Dataobjects.  The difficulty is that the ISqueezeAdaptor 
interface does not provide a mechanism for accessing the VisitObject, hence no 
access to the Datacontext, hence no way to de-serialize your objects.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to