The moose likes IDEs, Version Control and other tools and the fly likes netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "netbeans" Watch "netbeans" New topic


madusanka wanniarachchi

Joined: Apr 16, 2008
Posts: 4
how do we add a persistence unit in a ejb module?
the same module is used in several projects.
so when all projects are open in the netbeans ide if we run more than one project and insert data to through the module is there an issue?
or an exception will occure?
Adam Myatt

Joined: Jan 12, 2006
Posts: 26
Check out this tutorial :

I believe the section titled "Managing Persistence" covers what you are looking for.

Adam Myatt<br /> <br /><a href="" target="_blank" rel="nofollow"></a><br /> <br />Author of : <br /> <br />Pro NetBeans IDE 5.5 Enterprise Edition<br /> <br />Pro NetBeans IDE 6 Rich Client Platform Edition
I agree. Here's the link:
subject: netbeans
It's not a secret anymore!