On Tue, Aug 3, 2021 at 8:12 AM D Tim Cummings <t...@triptera.com.au.invalid>
wrote:

> I had a look at tapestry-resteasy but it seems to rely on hibernate or
> jpa and I am using cayenne.


tapestry-resteasy doesn't rely on either Hibernate or JPA nor any other
ORM:
https://repo1.maven.org/maven2/org/tynamo/tapestry-resteasy/0.7.0/tapestry-resteasy-0.7.0.pom


> I am not sure what is required for
> org.tynamo.services.PersistenceService.


I don't think it's needed either. I guess you're confusing the code
examples with requirements.


> Also tapestry-resteasy says I
> don't need to edit web.xml.
>

That's correct. tapestry-resteasy it takes care of telling
Tapestry-the-page-framework to not handle requests to the REST URLs while
also handling these URLs inside Tapestry (either as an RequestFilter or an
HttpServletRequestFilter). Tapestry itself is implemented as a servlet
filter receiving all requests, even though it may not actually provide the
response for all of them.

--
Thiago

Reply via email to