Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Apache Geronimo。我需要一种在应用服务器上部署 EAR 应用程序而不自动启动 EAR 模块的方法。
当我部署 EAR 时,它会自动启动。我需要一种方法来指定它应该只部署而不是启动。
有没有办法做到这一点?
过去,我使用 JMX 打开和关闭了某些 EJB 的大门。
最酷的部分:
缺点:
该主题的解决方案是让@Singleton EJB 作为一个 EJB 的所有实例的 MBean/控制器。