pfirmstone / JGDMS

Infrastructure for providing secured micro services, that are dynamically discoverable and searchable over ipv6 networks
https://pfirmstone.github.io/JGDMS/
Apache License 2.0
14 stars 4 forks source link

JEP 407, remove Activation #132

Closed pfirmstone closed 1 year ago

pfirmstone commented 3 years ago

JEP 407 removes RMI Activation, while we don't depend on the implementation of Activation, we do depend on some API's for Phoenix and Activatable services.

I'll grab the activation API classes from Apache Harmony and add them to the JGDMS Activation Platform Module.

java.rmi.activation.ActivationID appears to have the largest impact, as it's one of the arguments in a two argument constructor.

We also need to consider the impact of JEP 411.

pfirmstone commented 3 years ago

This will impact Phoenix, but only slightly.

Might as well go ahead and remove JRMP Exporter as this has dependencies on RMI Activation.

pfirmstone commented 3 years ago

jtreg tests still depend on rmid, need to replace with Phoenix

pfirmstone commented 3 years ago

Currently Activatable services require an Activation constructor, one of the constructor parameters is an instance of MarshalledObject, which contains a String[] array of arguments. Instead of using MarshalledObject, why not just an array of String[] arguments?

pfirmstone commented 3 years ago

The advantage of using an String[] array argument is that it doesn't require de-serialization, all services currently use a String[] for their configuration arguments.