• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse and JPA with Dynamic Web Project

 
Jose Ayerdis
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've being having the difficulty of having to create a project for my JPA structure and a project for my web application is there a way to enjoy both world without having to make a Project for each one of them in eclipse.
 
Rajesh Pitty
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this in Galileo

right click on your web project -> select properties-> select project facets->select java persistence configure and add Java Persistence API to your project

Rajesh
www.rajeshpg.com/blog

 
Petr Dotov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Rajesh Pitty Thanks! )
 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I've just read this thread, and I was having the same problem. So I must say thanks.

However I have a question, From this point on inside the Web application can I use the Entity Manager ? let's say from a Servlet for example?

I'm trying to do it using EclipseLink is it possible to do it ?

Best Regards,

Jose
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic