{"id":2115,"date":"2015-09-13T20:53:49","date_gmt":"2015-09-13T18:53:49","guid":{"rendered":"http:\/\/hasselba.ch\/blog\/?p=2115"},"modified":"2015-09-15T09:22:09","modified_gmt":"2015-09-15T07:22:09","slug":"xpages-a-clientside-state","status":"publish","type":"post","link":"https:\/\/hasselba.ch\/blog\/?p=2115","title":{"rendered":"XPages: A ClientSide State"},"content":{"rendered":"<p>I have created a ClientSide State for XPages, which allows horizontal scaling of XPages applications with a single click.<\/p>\n<p>After installing the OSGi Plugin on the servers and the DDE, you can activate it with a single click:<\/p>\n<p><a href=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_41_02-XPage-Properties-Editor-ClientStateDemo-IBM-Domino-Designer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2116\" src=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_41_02-XPage-Properties-Editor-ClientStateDemo-IBM-Domino-Designer.png\" alt=\"2015-09-13 20_41_02-XPage Properties Editor - ClientStateDemo - IBM Domino Designer\" width=\"867\" height=\"382\" srcset=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_41_02-XPage-Properties-Editor-ClientStateDemo-IBM-Domino-Designer.png 867w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_41_02-XPage-Properties-Editor-ClientStateDemo-IBM-Domino-Designer-300x132.png 300w\" sizes=\"auto, (max-width: 867px) 100vw, 867px\" \/><\/a><\/p>\n<p>Then, the State of the XPages <del>application<\/del> view is stored on client side (in the field &#8222;<em>$$clientstate<\/em>&#8222;), and not on the server anymore. The State is AES-128 encrypted and uses some random bytes for a higher security.<\/p>\n<p><a href=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_52_11-Quelltext-von_-http___localhost_ClientStateDemo.nsf_Test.xsp_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2118\" src=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_52_11-Quelltext-von_-http___localhost_ClientStateDemo.nsf_Test.xsp_.png\" alt=\"2015-09-13 20_52_11-Quelltext von_ http___localhost_ClientStateDemo.nsf_Test.xsp\" width=\"1761\" height=\"553\" srcset=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_52_11-Quelltext-von_-http___localhost_ClientStateDemo.nsf_Test.xsp_.png 1761w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_52_11-Quelltext-von_-http___localhost_ClientStateDemo.nsf_Test.xsp_-300x94.png 300w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2015\/09\/2015-09-13-20_52_11-Quelltext-von_-http___localhost_ClientStateDemo.nsf_Test.xsp_-1024x322.png 1024w\" sizes=\"auto, (max-width: 1761px) 100vw, 1761px\" \/><\/a><\/p>\n<p>You can find <a href=\"https:\/\/github.com\/hasselbach\/xpages-clientstate\" target=\"_blank\">the code on GitHub<\/a>.<\/p>\n<p>P.S.<\/p>\n<p>Parts of the code are shamelessly stolen from <a href=\"https:\/\/frostillic.us\/\" target=\"_blank\">Jesse<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have created a ClientSide State for XPages, which allows horizontal scaling of XPages applications with a single click. After installing the OSGi Plugin on the servers and the DDE, you can activate it with a single click: Then, the &hellip; <a href=\"https:\/\/hasselba.ch\/blog\/?p=2115\">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":[64,82,74],"tags":[47,7,65,3],"class_list":["post-2115","post","type-post","status-publish","format-standard","hentry","category-osgi","category-server","category-xpages","tag-9-0","tag-domino","tag-osgi","tag-xpages"],"_links":{"self":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2115","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=2115"}],"version-history":[{"count":5,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2115\/revisions"}],"predecessor-version":[{"id":2122,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2115\/revisions\/2122"}],"wp:attachment":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}