Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Redundant header

Wiki Markup
{scrollbar}
Service

...

serialization is the serialization of a Tapestry IOC service.

Every once in a while you may need to serialize a service. For example, you may store an object into the HttpSession that holds a reference to a service. In a clustered environment, that object will be serialized and broadcast to other servers in the cluster.

Services in Tapestry are serializable. Specifically, service proxies are serializable. Your However, your service implementations do not have to be serializable.

...

If you are running multiple Registries you will likely see errors in your console:

Code Block

[ERROR] SerializationSupport Setting a new service proxy provider when there's already
an existing provider. This may indicate that you have multiple IoC Registries.

Wiki Markup
{scrollbar}