开发者

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开发者_StackOverflow中文版, 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


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


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜