• 请不要在回答技术问题时复制粘贴 AI 生成的内容
fatyoung
V2EX  ›  程序员

dubbo 的实体类一定要实现 serializable 吗?

  •  
  •   fatyoung · Oct 20, 2020 · 2368 views
    This topic created in 2069 days ago, the information mentioned may be changed or developed.
    公司框架是 dubbo,我看到所有实体类都是实现了 serializable 接口,我记得 dubbo 默认的序列化方法是用 jackson 呀,用 jackson 返回 json 不需要实现 serializable 吧?
    2 replies    2020-10-20 17:00:58 +08:00
    daiqiangbudainiu
        1
    daiqiangbudainiu  
       Oct 20, 2020
    jackson 不需要
    wangyanrui
        2
    wangyanrui  
       Oct 20, 2020 via Android
    dubbo 默认的是 hession
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2544 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 15:16 · PVG 23:16 · LAX 08:16 · JFK 11:16
    ♥ Do have faith in what you're doing.