weixin_39632397 2020-11-21 23:50
浏览 0

PAYARA-3864 EJB Java serialisation alongside with JSONB

Description

Adds implementation for https://payara.atlassian.net/wiki/spaces/PAYAR/pages/851836929/EJB+HTTP+Protocol+version+1 including both Java serialisation and JSONB as well as automatic detection of served protocol by the client. In case both versions are supported the client chooses the newer version.

To explicitly select a serialisation type or protocol version two environment variables were added to the RemoteEJBContextFactory: * fish.payara.serialization given as "java" or "json" (default) - not case sensitive * fish.payara.version given as "0" or "1" (default)

Testing performed

Component tests were added to both the endpoint and the client. The existing integration test were adopted https://github.com/payara/payara-samples/pull/17 so they also cover the new protocol version for both Java Serialisation and JSONB.

该提问来源于开源项目:payara/Payara

  • 写回答

7条回答 默认 最新

  • weixin_39632397 2020-11-21 23:50
    关注

    jenkins test please

    评论

报告相同问题?