Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6563

Rework page and data storage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.0.0-M1
    • 9.0.0-M1
    • wicket
    • None

    Description

      IPageManager, IPageStore and IDataStore are riddled with complicated and error-prone code aiming to do one simple thing: keeping pages around.

      There are multiple problems with the current implementation:

      • PageStoreManger does too much 
        • it handles request and session storage
        • it contains workarounds for DiskDataStore, when the sessionId changes
      • IPageStore/AbstractPageStore
        • has no access to IPageManagerContext
        • juggles with byte[], serialization and conversion
      • IDataStore introduces an unncecessary third layer into the API

      Additional or specialized stores are difficult to implement.

      We should rework that.

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              svenmeier Sven Meier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: