<div dir="ltr">Hi all,<div><br></div><div>I've been developing some code with CDI.</div><div><br></div><div>I was wondering what happens when I mark a servlet property with @Inject and define the bean with @RequestScoped but the bean class itself is not thread safe but it's a property of my servlet so looking by the servlet perspective it could be accessed by multiple threads. </div>
<div><br></div><div>Do we have something that makes these properties accessible to just one request / thread even tough they are servlet's class properties?</div><div><br></div><div>Thanks,</div><div>Daniel</div></div>