RE: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-12 Thread Alten, Jessica-Aileen
Like Andreas I would vote for Weld (http://weld.cdi-spec.org/) - it is the 
Reference Implementation of CDI for the Java EE platform. It is easy to 
install (read 
http://balusc.omnifaces.org/2013/10/how-to-install-cdi-in-tomcat.html) and has 
an outstanding documentation 
(http://docs.jboss.org/weld/reference/latest/en-US/html/).

Jessica

> -Original Message-
> From: Kiran Badi [mailto:ki...@poonam.org]
> Sent: Tuesday, October 11, 2016 5:31 AM
> To: Tomcat Users List <users@tomcat.apache.org>
> Subject: Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x
>
> 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/
> >
> >


smime.p7s
Description: S/MIME cryptographic signature


Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-12 Thread Steinar Overbeck Cook
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 :
> 
> 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 
> 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/
>> 
>> 


Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-10 Thread Kiran Badi
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 
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/
>
>


Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-06 Thread Mark Eggers
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/



signature.asc
Description: OpenPGP digital signature


Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-06 Thread Christoph Nenning
> 
> 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


Open Web Beans:

http://openwebbeans.apache.org/


Regards,
Christoph

This Email was scanned by Sophos Anti Virus


Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-05 Thread andreas
Weld http://weld.cdi-spec.org/

Andreas




 On Thu, 06 Oct 2016 10:25:46 +0930 Christopher 
Schultz wrote  
 > -BEGIN PGP SIGNED MESSAGE- 
 > Hash: SHA256 
 >  
 > Kiran, 
 >  
 > On 10/5/16 8:15 PM, Kiran Badi wrote: 
 > > I wanted to check if their is a way to do CDI with Tomcat for 7x 
 > > and 8x version as per JEE spec ? 
 >  
 > What part of the JEE spec includes CDI? 
 >  
 > > I have a project for which I wanted to use CDI the way spring does 
 > > it. 
 >  
 > You can certainly use Spring for that. 
 >  
 > > Appreciate if someone can suggest something. 
 >  
 > There are many CDI frameworks., but Spring seems to have taken over 
 > the world when it comes to CDI. 
 >  
 > - -chris 




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Kiran,

On 10/5/16 8:15 PM, Kiran Badi wrote:
> I wanted to check if their is a way to do CDI with Tomcat for 7x
> and 8x version as per JEE spec ?

What part of the JEE spec includes CDI?

> I have a project for which I wanted to use CDI the way spring does
> it.

You can certainly use Spring for that.

> Appreciate if someone can suggest something.

There are many CDI frameworks., but Spring seems to have taken over
the world when it comes to CDI.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJX9aESAAoJEBzwKT+lPKRYm8YP/jTF3F62xeluLYfz9ezKNT5u
eqUtyFi2gzOZ1IRgcscnOWf8Wpe3gEL1R/B16qMfmbdRb21esCOvpAH0vzqByamK
hD1AmrShLyoAJrZpqUwPxjWxKSjLgC6WOonCHIL+JeeHl58xwjH6NdwD6fWcsZDj
nkTVYJTbtmSpR8uA3P/wagfq7ngzVL77Idrvg81iQr0wQYCXpgQPkn1TGNvke/I8
2oeyOWiijAnJxpz4cyod67WhtnfrxSib8/i9FRtvifndvA2+AZIV/Vb86GUwjneO
aYzhlHS3E+TCEflhjYYf42Jw7sLNKj6OIdafX1ukMl1Rv605J1XUcTpJFYQ70MkB
P3pys07cnYvG85ZFZRA0ttj2NCl7wAPaBoL6rJoLJ0q2+WRyH5Cte03xizbKDzWI
7uHZDXvgMuKjmKWt9A5Db1W3VkNzsWy7T8kFXcGkSHxBrQZeRdqZZxybQKAYGOmM
PvWXdyq9Dy7JON8Wv4J0hCzDSoPb8aB0VLVN+CQgPmoPOJC1dEI+elwEABMEa19M
TU+jww6oDeZXk1iZ/vtMws2YnadtbrImTdNhQ94slFRjb0tbhicTOMkr96/chxFB
n66Y92gr7dU7wZHs9JsvGNr6YJKhgAAdWu3CZJWrrPh1zUzoxbqc2lux73qZhAQw
qA4TTEpEkbzYVboyvIt4
=84v2
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org