Tapestry
  1. Tapestry
  2. TAPESTRY-1891

Tapestry IoC Service Proxies should be serializable

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.7
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      In HiveMind, the services proxies were serializable, and this is a useful feature for Tapestry IoC as well. The outer proxy should implement Externalizable and write a token into the stream; the token includes the service id. When the token is deserialized, it uses the service id to reconstitute the same (or equivalent) proxy. In this way, data objects that hold references to services can be serialized, or even transferred over RMI.

        Activity

        Hide
        Massimo Lusetti added a comment -

        This would be neat!

        Show
        Massimo Lusetti added a comment - This would be neat!
        Hide
        Ognen Ivanovski added a comment -

        +1 Recently I had a conference presentation that tried to tackle this same problem on more or less the same way. http://jazoon.com/download/presentations/866.pdf

        Show
        Ognen Ivanovski added a comment - +1 Recently I had a conference presentation that tried to tackle this same problem on more or less the same way. http://jazoon.com/download/presentations/866.pdf

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development