user338195
user338195

Reputation:

How to update java doc libraries?

I'm running NetBeans 6.9 SE and I'd like to use Persistance API. I can view it online, but internet access is not always available, therefore I'd like to download that part of API on my laptop.

I understand that to add it I need to go to Library Manager, pick a library and point javadoc to correct zip/folder.

Can somebody please tell me how to download that either entire API or at least Persistance api to my local machine?

Thank you

Upvotes: 1

Views: 793

Answers (3)

Sebastian Łaskawiec
Sebastian Łaskawiec

Reputation: 2737

JPA 2.0 is also known as JSR 317. You can go to JCP page and download specification in PDF format as well as "specification for building an implementation". There you will get zip file with all classes you need. However you might also want to download some JPA implementation, for example Hibernate, EclipseLink or OpenJPA. BTW - OpenJPA has really good documentation, that coverers both - api and implementation details.

Upvotes: 0

robert_x44
robert_x44

Reputation: 9314

If you're still having trouble, you can get the entire JavaEE API (including javax.persistence) at: http://www.oracle.com/technetwork/java/javaee/documentation/apis-139520.html

The link is entitled "Download the Java EE 6 API Specifications". I linked to the main page, because that is a good place to start for any JavaEE documentation.

Upvotes: 1

Ryan Elkins
Ryan Elkins

Reputation: 5797

Generally you should be able to find this stuff on one of Oracle's sites. The Persistence API is usually bundled with Glassfish but in this case they also released a standlaone version you can find here: http://glassfish.java.net/downloads/persistence/JavaPersistence.html

Upvotes: 2

Related Questions