I use Google Guice for utilizing DI in my apps. Works like a charm. Steinar Overbeck Cook
> Den 11. okt. 2016 kl. 05.30 skrev Kiran Badi <ki...@poonam.org>: > > Thanks Mark,Christoper, Andreas and Chris for reply. Please accept > apologies for delayed response. > > Tomee is an option but I need to see if client is ok with it. They are very > much in Tomcat and has most application deployed with Tomcat. > > Chris,I would be happy to go with Spring, however the client I have has few > legacy projects and I need to see if I can suggest them spring. > > Weld and openbeans seems to be good option I can explore.Thanks > > > > On Thu, Oct 6, 2016 at 6:02 AM, Mark Eggers <its_toas...@yahoo.com.invalid> > wrote: > >> Kiran, >> >>> On 10/5/2016 5:15 PM, Kiran Badi wrote: >>> Hi All, >>> >>> I wanted to check if their is a way to do CDI with Tomcat for 7x and 8x >>> version as per JEE spec ? >>> >>> I have a project for which I wanted to use CDI the way spring does it. >>> >>> Appreciate if someone can suggest something. >>> >>> >>> - Kiran >>> >> >> Probably the easiest way to do this is to use TomEE: >> >> http://tomee.apache.org/ >> >> . . . just my two cents >> /mde/ >> >>