This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

HTML5, OData4J, JPA EclipseLink and MySQL

Ranch Hand
Posts: 34
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am very new to the technologies HTML5 and OData4j. Currently I am in the project where we are using HTML5, OData4J, JPA EclipseLink and MySql. I had just developed the sample code in HTML5 and created JPA persistence with Mysql DB fields which have JPAproducer in a separate java file. I have done the servlet configuration in web.xml and assigned the Jpaproducer class in it. Now I want to know how to expose Odata URI, from which I need to view the DB fields in XML format. I had referred many forums and tried it in my application. But it all went in vein and it shows the error status code as 404 and 500 internal error stating that it could not find the proper classes which is configured in web.xml.

Kindly guide me how to configure web.xml to generate URI by exposing OData4j services and access that uri to GET and POST data's from HTML5?

please let me know the libraries to be installed in eclipse to achieve the above tasks.

Thanks in advance for sharing your knowledge.

Server: Apache Tomcat. I am Jersey services.

References :

Thanks and Regards,
Vignesh Karthick.
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!