users@jsr311.java.net

Re: Annotations on interfaces and super classes <was> Re: URI Contracts

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 10 Jun 2008 14:40:35 -0400

On Jun 10, 2008, at 1:30 PM, Bill Burke wrote:
>
> I've only done portable integration. Its as simple as registering a
> JNDI resource with JAX-RS runtime. JAX-RS runtime receives an EJB
> reference from JNDI, looks for JAX-RS annotations, uses the EJB
> reference as the target endpoint for method dispatching from an HTTP
> request. Kinda no different than Spring or Guice integration,
> except you're getting the object from your EE environment.
>
So you annotate the EJB remote interface with JAX-RS annotations ? How
do you register the JNDI resource with the JAX-RS runtime - servlet
params ?

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.