Hi,

I can tell you more about the tapestry-cdi module. It's intented to
make a bridge between CDI and tapestry to ease the integration into a
jee stack (like what tapestry-spring provides for Spring).

The idea is to make CDI and tapestry-ioc work together without
conflict and let you use existing projects based on CDI with Tapestry.

So you can inject CDI beans into pages, components[1] and tapestry services[2].
But you  can also "convert" existing CDI beans into tapestry services[3].
For common features (for instance : @Qualifier/@Named vs @Marker) ,
there is no pb as you can use any of the two.

In CDI 1.1, we will see some interesting features such as the
@ConversationScope, @Tansactional and @Secure annotations. I would
love to see them integrated in a next tapestry-cdi release when the
spec will be implemented by application servers (for the time, only
Glassfish 4)

[1] https://github.com/got5/tapestry-cdi#usage
[2] https://github.com/got5/tapestry-cdi#using-tapestry-services-with-cdi-beans
[3] https://github.com/got5/tapestry-cdi#using-cdi-beans-as-tapestry-services

Nourredine.

2014/1/7 Muhammad Gelbana <m.gelb...@gmail.com>:
> Thanks a lot for your time taken to collect these links, I appreciate it.
> I don't mean to revive a debate, I'll go ahead and read these threads,
> thanks again :)
>
> *---------------------*
> *Muhammad Gelbana*
> http://www.linkedin.com/in/mgelbana
>
>
> On Wed, Jan 8, 2014 at 12:33 AM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote:
>
>> This is somewhat a sensitive subject:
>>
>>
>> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Merits-of-Tapestry-IOC-td5721445.html
>>
>> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/First-stab-at-CDI-module-for-tapestry-td4469281.html
>>
>> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Differences-between-Tapestry-IoC-and-J2EE-6-CDI-td3412912.html
>>
>> On Jan 7, 2014, at 4:42 PM, Muhammad Gelbana wrote:
>>
>> > The subject says it all, what is the different between CDI (Context and
>> > Dependency Injection) and Tapestry's IoC ? There is a
>> > bug\task<
>> https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=commit;h=bf2c8a4f09152ef0f10ef788ed17370b540a2670
>> >to
>> > be implemented in Tapestry 5.4 that implies adding CDI support to
>> > Tapestry.
>> >
>> > Would someone kindly explain what is the difference between Tapestry's
>> IoC
>> > and J2EE's CDI ?
>> >
>> > Is it like CDI enables the injection of J2EE specific standards such as
>> > WebServiceContext<
>> http://docs.oracle.com/javase/7/docs/api/javax/xml/ws/WebServiceContext.html
>> >
>> > which
>> > is not a Tapestry service ?
>> >
>> > *---------------------*
>> > *Muhammad Gelbana*
>> > http://www.linkedin.com/in/mgelbana
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>

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

Reply via email to