Hi Bob,

Thanks for clarifying this for me

Exactly as u said, I only want to use Tapestry5 as JSF alternative for
web tier. CDI is the standard DI in Java EE, not only a DI container,
but provides other features, such as State management, events etc.

Wicket provides a official CDI module for Java EE, support the powerful
Conversation in wicket, which is very useful to build stateful application.

Hantsy

On 4/8/2013 10:40, Bob Harner wrote:
> Hantsy,
>
> For the non-CDI parts of your question:
>
> Remember that JEE is really just a very large, only loosely-related bag of
> specifications and reference implementations. It includes JPA, JCA, JSF,
> JDBC <http://en.wikipedia.org/wiki/Java_Database_Connectivity>,
> RMI<http://en.wikipedia.org/wiki/Remote_Method_Invocation>
> , JMS <http://en.wikipedia.org/wiki/Java_Message_Service>, EJB, JTA, CDI,
> Bean Validation, and many others, most or all of which work perfectly fine
> outside of a full JEE container environment. In JEE terms, Tapestry Core is
> an alternative to JSF. But pretty much all the rest of the JEE APIs can be
> used with a Tapestry application about as easily as with anything else, simply
> because Tapestry is a well-designed Java web framework that can run in a
> standard JEE app server (although it doesn't require one).
>
> For the JEE APIs where it makes the most sense, there are Tapestry
> integrations -- either provided with Tapestry (Tapestry-JPA,
> Tapestry-beanvalidator) or as 3rd party modules such as the one Lenny
> mentioned.
>
> Tapestry does offer a very strong IOC capability, but you can chose to use
> it or not in your own Tapestry apps. If you'd rather use EJB (or Spring),
> there is no harm, and Tapestry IOC won't get in your way if you don't use
> it.
>
> Tapestry 5 is only superficially like Tapestry 4, but much improved in
> every single way possible. If you're still deciding whether to use Tapestry
> 5, be sure to invest a little time with the Tapestry Tutorial (
> http://tapestry.apache.org/tapestry-tutorial.html) to find out.
>
> On Sun, Apr 7, 2013 at 11:26 AM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote:
>
>> There is no 'official' plan to integrate Tapestry with JEE.
>> There is, however, a module that integrates Tapestry with JEE / CDI that
>> you can use.
>> It doesn't replace Tapestry's DI (Tapestry-IoC) but it lets you use EJB /
>> CDI beans in your pages
>> and components, as well as other features.
>>
>> http://code.google.com/p/flowlogix
>> http://code.google.com/p/flowlogix/wiki/TapestryLibrary
>>
>>
>> On Apr 7, 2013, at 10:22 AM, hantsy wrote:
>>
>>> Hi all,
>>>
>>> I want to know if Tapestry has some plan to be integrated with Java EE,
>> such as
>>> how to use CDI with Tapestry, I know Tapestry has its DI container, it
>>> can be replaced with CDI when I select Java EE6(none Spring/Hibernate
>> project)?
>>> I have used Tapestry4 before, and know little about the newest Tapestry
>> 5.
>>> Hantsy
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>

-- 
Fulltime Java EE Freelancer/Developer from China.

Blog: http://hantsy.blogspot.com
LinkedIn: http://cn.linkedin.com/in/hantsy

Hire me on oDesk <https://www.odesk.com/users/%7E01364b53cb1f4c5597> or
Elance <http://hantsy.elance.com>.

Reply via email to