javakaffee

Just another weblog about (web) development technologies like spring, tapestry, jersey, jsf, hibernate and more

April 28, 2008

jersey-spring and changes now available in the jersey trunk / namespace com.sun.ws.rest renamed to com.sun.jersey

Filed under: development, java, webdev, REST — martin.grotzke @ 11:57 pm

The jersey-spring integration that I described in my previous posting is now merged into the jersey trunk, as well as the changes that were made for better integration of spring and IoC-frameworks in general in the spring-integration branch.

One thing that was changed today is that the namespace of jersey is changed from com.sun.ws.rest to com.sun.jersey, this includes these changes in detail:

  • packages com.sun.ws.rest.api and com.sun.ws.rest.spi are renamed to com.sun.jersey.api and com.sun.jersey.spi
  • configuration namespace of properties/features com.sun.ws.rest.config is renamed to com.sun.jersey.config (e.g. com.sun.ws.rest.config.property.resourceConfigClass is now com.sun.jersey.config.property.resourceConfigClass)
  • the jersey-spring package com.sun.ws.rest.spring is renamed to com.sun.jersey.spring, e.g. the SpringServlet is now com.sun.jersey.spring.SpringServlet
  • the groupId of jersey and jersey-spring are changed from jersey to com.sun.jersey


If you want to use the spring-integration that I blogged about, remember to change the import section of your classes, web.xml and maven pom.xml accordingly.

April 21, 2008

jersey-spring integration mostly complete

Filed under: development, webdev, REST — martin.grotzke @ 1:48 am

Powered by WordPress