简体   繁体   English

JBoss 6在启动时创建Web服务的实例

[英]JBoss 6 creates instance of web service on startup

I'm migrating my ear application from JBoss 5 to 6.0.0.Final. 我正在将我的耳朵应用程序从JBoss 5迁移到6.0.0.Final。 I noticed that JBoss 6.0.0.Final instantiates beans which have @WebService annotation on startup. 我注意到JBoss 6.0.0.Final在启动时实例化了具有@WebService批注的bean。 JBoss 5 didn't do that. JBoss 5没有这样做。 Is it possible to disable this behaviour in JBoss 6? 是否可以在JBoss 6中禁用此行为?

Any help is appreciated. 任何帮助表示赞赏。

The deploy directly contains all the modules that get started up. 部署直接包含所有启动的模块。 What I usually do, is I first backup that deploy directly, and then start stripping out components and check to see if jboss still properly starts and does what I need it to do. 我通常要做的是先备份直接部署的备份,然后开始剥离组件并检查jboss是否仍然正确启动并执行我需要做的事情。 I then use 'netstat' (command line util, which I believe is also on Windows in the dos prompt), to check for any unexpected ports it might be listening on. 然后,我使用“ netstat”(命令行实用程序,我相信也是Windows上的dos提示符)来检查它可能正在侦听的任何意外端口。

Crude. 原油。 Not good enough to expose to the internet, but ok for intranet use. 不足以暴露于Internet,但可以用于Intranet。 Exposing to the internet is another kettle of fish. 暴露在互联网上的是另一锅鱼。 I'd use a scalable reverse proxy for that, but that's a whole other story. 为此,我将使用可伸缩的反向代理,但这是另外一回事了。

Also check out JBoss 7. They're boasting about how "fast" it now is. 还请查看JBoss7。他们吹嘘现在它有多“快”。 Perhaps inspired by Glassfish which starts pretty much instantaneously...? 也许是受Glassfish启发的,它几乎是瞬间开始的?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM