1 Reply Latest reply on May 26, 2012 8:40 AM by Tristan Tarrant

    ISPN as web cache (REST, SOAP, JSON)

    darren hartford Expert

      Hey all,

      I'm looking for options to enable caching on tomcat/cxf webservices (both REST and SOAP), and/or Jboss @Webservice webservices (using normal JavaEE).  Since I'm looking for both tomcat and jboss, thought I would ask here, as it is somewhat similar to https://community.jboss.org/thread/200028?tstart=0.  This prior request was to 'pre-warm' so first call is always fast, but now looking at other approaches so that at least frequent-called items are fast, but the first call may still pay the initial penalty (including db/business processing/marshalling).

       

      Question: Can ISPN be setup to be a web cache for post-marshall of REST content, and/or SOAP content (REST likely, SOAP I do not have as high hopes but just asking anyway), particularly in a tomcat/CXF solution, or if it is already in place/usable in JavaEE (jboss) webservices (REST and/or SOAP).

       

      Referencing ehcache-web since that seems to have the features I'm kind of looking for (from http://cxf.apache.org/docs/jax-rs-advanced-features.html#JAX-RSAdvancedFeatures-Serversidecaching), but always prefer to evaluate alternatives versus just and only one solution :-)

       

      thanks for any feedback,

      -D