How can I integrate RESTEasy 1.2.x with Spring 2.x?

Solution Verified - Updated -

Issue

  • I would like to use Spring dependency injection(DI) in RESTEasy JAX-RS resources, but all my object beans are null. I can't inject it into my JAX-RS resource. Is there some simple example showing RESTEasy and Spring integration? What is wrong?

Environment

  • RESTEasy 1.2.1
  • Spring 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.