Time ago i tried to write a web app with tomee 7.1.4 plume and jdk 1.8.

I have a entity jpa.

When i try to save a new entity with curl-  or from the gui with a post
request to my  rest service a get a exception .

 some of  you  have  the same problem?

Project mybookstore on GitHub.

https://github.com/maurojava/mybookstore/
<https://github.com/maurojava/mybookstore/blob/master/src/main/java/bookstore/service/BookFacadeREST.java>


Using jsf Is ok (i not use rest service)

https://github.com/maurojava/mybookstore/blob/master/src/main/webapp/index.xhtml


(Here i created another ejb for jsf that not use the rest service and the
jsf Page save the new entity).
https://github.com/maurojava/mybookstore/blob/master/src/main/java/jsfejbs/BookFacade.java

-----------------6
But:

Into  curl- or using  :


https://github.com/maurojava/mybookstore/blob/master/src/main/webapp/restclient.html

I get exceptions of mapping ....

The rest service Is the following:


https://github.com/maurojava/mybookstore/blob/master/src/main/java/bookstore/service/BookFacadeREST.java

Please
Try this Project with tomee7.1.4plume

I not can risolve.

Mauro

Reply via email to