I am writting some entity classes that I plan to share between a web
and desktop front end. As such, I am placing these classes in a java
library. How does one correctly setup persistence from a library?
The problem I have is that NetBeans, version 6 beta 2, complains that
"The project does not contain a persistence unit". That seems fine to
me since this is a library. Is this informational only or is this a
real problem?
If it is, and I do need to provide a persitence unit, then how do I
account for the different database URL in the web and desktop front
ends?
thank you,