{"id":2257,"date":"2016-06-24T11:57:13","date_gmt":"2016-06-24T09:57:13","guid":{"rendered":"http:\/\/hasselba.ch\/blog\/?p=2257"},"modified":"2016-06-24T11:57:13","modified_gmt":"2016-06-24T09:57:13","slug":"xpages-domino-jna","status":"publish","type":"post","link":"https:\/\/hasselba.ch\/blog\/?p=2257","title":{"rendered":"XPages &#038; Domino JNA"},"content":{"rendered":"<p>Karsten Lehmann has published a very promising project named &#8222;<a href=\"https:\/\/github.com\/klehmann\/domino-jna\">Domino JNA<\/a>&#8222;, which allows access to the underlying IBM Domino\/Notes C API from Java.<\/p>\n<p>If you want to use the project in a XPages, you have to add some Java permissions to the\u00a0<em>java.pol<\/em> file on your\u00a0server:<\/p>\n<pre><code>grant {\r\n    permission java.util.PropertyPermission \"jnidispatch.path\", \"write\";\r\n    permission java.util.PropertyPermission \"jna.loaded\", \"write\";\r\n}<\/code><\/pre>\n<p>Additionally, you have to import the following\u00a0JARS from\u00a0&#8222;<em>domino-jna\\target\\lib<\/em>&#8220; (after a successfull Maven build) to a directory on the server (<em>jvm\/lib\/ext<\/em>) or import it into an NSF:<\/p>\n<ul>\n<li>commons-collections4-4.0.jar<\/li>\n<li>jna-4.2.2.jar<\/li>\n<li>joda-time-2.9.2.jar<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Karsten Lehmann has published a very promising project named &#8222;Domino JNA&#8222;, which allows access to the underlying IBM Domino\/Notes C API from Java. If you want to use the project in a XPages, you have to add some Java permissions &hellip; <a href=\"https:\/\/hasselba.ch\/blog\/?p=2257\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89,35,82,74],"tags":[],"class_list":["post-2257","post","type-post","status-publish","format-standard","hentry","category-java","category-security","category-server","category-xpages"],"_links":{"self":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2257"}],"version-history":[{"count":2,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2257\/revisions"}],"predecessor-version":[{"id":2259,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2257\/revisions\/2259"}],"wp:attachment":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}