users@jersey.java.net

[Jersey] Re: Getting confused with EJB injection

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Mon, 24 Jan 2011 11:22:40 +0100

On Jan 22, 2011, at 1:04 PM, Antonio Goncalves wrote:

> Actually I was more thinking of a Java EE 6 matrix (not just JAX-
> RS). But if it's complete and accurate enough, yes, why not having
> it on other specifications.
>
> These are the EE 6 components that I see from the top of my head
> that can benefit (or not) from injection (I'm sure I'm missing some,
> I need to investigate a bit more) :
>
> POJO
> ManagedBean
> Interceptor
> Entity
> Stateless
> Singleton
> Stateful
> MDB
> Servlet
> ServletFilter
> JSF backing beans
> REST service
> SOAP service
>
> Then, there are some important services that can be injected (or
> not) in these components (again, I have to investigate a bit more) :
>
> EntityManager
> JMS Factory/Destination
> DataSource
> Environment entries
> UserTransaction
> TimerService
>
> What if I start a page on Wikipedia so that people can add/update
> information ?
>

Yes, good idea.

Paul.