【问题标题】:Does Spring Boot Support EJBSpring Boot 是否支持 EJB
【发布时间】:2018-07-26 23:24:59
【问题描述】:

我有一个在 WebSphere 7.x 中运行的 EJB 应用程序。我们需要远离 Websphere 7.x 并使这个应用程序独立于 Websphere 服务器,我们可以在构建 Tomcat 或 Undertow 时使用。

Spring Boot 是否支持这种方法?如果没有其他选择,我们可以将 WebSphere 的 Liberty Profile 与 Spring Boot 一起使用。

我们正朝着这种方法迈进,因为我们想在 Docker 中运行这个应用程序。

【问题讨论】:

  • 不...不支持 EJB,tomcat 也不是完整的 JEE 服务器,因此不支持 EJB。您将需要一个完整的容器,例如 WebSphere、WebLogic、JBoss,来运行基于 EJB 的应用程序。
  • @M.Deinum Liberty Profile 是否支持 EJB。我们的主要目的是将服务器打包成应用程序的一部分并在 Docker 中运行应用程序。
  • 如果可以停止使用完整的应用服务器,并且可以使用Spring Boot,为什么还需要使用EJB?不使用 EJB 是 Spring 的优势之一。

标签: spring-boot websphere-liberty


【解决方案1】:

您可以在 Docker 容器中部署 WebSphere Liberty。 Docker Hub上有官方镜像。

【讨论】:

    猜你喜欢
    • 2019-09-17
    • 1970-01-01
    • 1970-01-01
    • 2022-01-15
    • 1970-01-01
    • 1970-01-01
    • 2014-05-23
    • 2016-05-20
    • 2019-10-26
    相关资源
    最近更新 更多