<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 12:17 AM, Stan Silvert <span dir="ltr">&lt;<a href="mailto:ssilvert@redhat.com" target="_blank">ssilvert@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4vf" class="a3s" style="overflow:hidden">Thanks.  I just need the servlet to read a flag that I put into the<br>
owner attribute of the deployment.  So I should be OK.<br>
<br>
Incidentally, I find that this is something I run into once in awhile.<br>
I need a subsystem to communicate with a deployment&#39;s application code.<br>
The other way I&#39;ve done this is to stuff things into the ServletContext<br>
using a DeploymentUnitProcessor and the JBossWebMetaData.<br>
<br>
If anyone knows a third option I&#39;d love to hear it.</div></blockquote></div><br><br></div><div class="gmail_extra">The DPU with extra jbossmetadata sounds a reasonable way to do this.<br><br></div><div class="gmail_extra">you could even go further and provide this data only to your servlet instead whole ServletContext<br><br></div><div class="gmail_extra">but if all you need is to pass one attribute around, no need to complicate it more.<br><br>--<br></div><div class="gmail_extra">tomaz<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>