开发者

Can env-entry values from ejb-jar.xml be modified during runtime in Glassfish?

开发者 https://www.devze.com 2023-04-01 23:20 出处:网络
My EJB project, packaged in an EAR, defines some env-entry configuration values in its ejb-jar.xml. I can inject these into my session bean fine.

My EJB project, packaged in an EAR, defines some env-entry configuration values in its ejb-jar.xml. I can inject these into my session bean fine.

I would like the possibility of modifying these values without redeploying, without modifying the descriptor (which should only contain default values) a开发者_C百科nd without restarting the server. It seems like this is possible for web projects in Glassfish, using the asadmin set-web-env-entry command. I haven't found any equivalent for EJB/EAR applications. Can it be done?

0

精彩评论

暂无评论...
验证码 换一张
取 消