{"id":2865,"date":"2020-01-13T13:34:33","date_gmt":"2020-01-13T11:34:33","guid":{"rendered":"http:\/\/hasselba.ch\/blog\/?p=2865"},"modified":"2020-01-13T13:54:44","modified_gmt":"2020-01-13T11:54:44","slug":"migrating-osgi-plugins-to-standalone-applications","status":"publish","type":"post","link":"https:\/\/hasselba.ch\/blog\/?p=2865","title":{"rendered":"Migrating OSGi Plugins to standalone applications"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I have created an example project for migrating an OSGI-based Spring Boot application into a standalone application (in the &#8222;Maven&#8220; branch): <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/hasselbach\/domino-springboot\/tree\/maven\/domino-springboot.plugin\">https:\/\/github.com\/hasselbach\/domino-springboot\/blob\/maven\/domino-springboot.plugin<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The application runs in the JVM of the Notes Client, only a user id is required, not a complete server installation (and ID). The benefit is that you can run as much JVM instances you want (which allows a better resource management and deployment) and it is easier to integrate the applications into existing CD environments. Also, Non-Domino developers can use their preferred IDE and are able to use existing \/ standard knowledge when developing Java applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When using the Java NAPI, you need to remove the <em>spring-boot-devtools<\/em> dependency because of problems with the class loader and Domino-specific DLLs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have created an example project for migrating an OSGI-based Spring Boot application into a standalone application (in the &#8222;Maven&#8220; branch): https:\/\/github.com\/hasselbach\/domino-springboot\/blob\/maven\/domino-springboot.plugin The application runs in the JVM of the Notes Client, only a user id is required, not a &hellip; <a href=\"https:\/\/hasselba.ch\/blog\/?p=2865\">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,59,61,126,81],"tags":[],"class_list":["post-2865","post","type-post","status-publish","format-standard","hentry","category-java","category-migration","category-rest","category-spring","category-web"],"_links":{"self":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2865","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=2865"}],"version-history":[{"count":4,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2865\/revisions"}],"predecessor-version":[{"id":2869,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2865\/revisions\/2869"}],"wp:attachment":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}