{"id":114,"date":"2007-09-04T18:57:18","date_gmt":"2007-09-04T17:57:18","guid":{"rendered":"http:\/\/blog.pczone.be\/?p=114"},"modified":"2007-09-04T18:57:18","modified_gmt":"2007-09-04T17:57:18","slug":"alleloeja","status":"publish","type":"post","link":"https:\/\/blog.pczone.be\/?p=114","title":{"rendered":"Alleloeja!!"},"content":{"rendered":"<p>Hey guys,<\/p>\n<p>I have to admit it&#8217;s been a while. But here I am again \ud83d\ude00<\/p>\n<p>Today I saw <a href=\"http:\/\/www.theserverside.com\/news\/thread.tss?thread_id=46740\">this post<\/a> on the serverside. And I have only one word for it <strong>Alleloeja<\/strong>.<\/p>\n<p>Just look at this piece of code<\/p>\n<p><code><br \/>\nimport com.jinvoke.JInvoke;<br \/>\nimport com.jinvoke.NativeImport;<\/p>\n<p>public class Example {<br \/>\n    @NativeImport(library=\"User32\")<br \/>\n    public static native int MessageBox(int hwnd, String text, String caption, int type);<\/p>\n<p>    public static void main(String[] args) {<br \/>\n        JInvoke.initialize();<br \/>\n        MessageBox(0, \"This MessageBox is a native Win32 MessageBox\", \"Caption\", 0);<br \/>\n    }<br \/>\n}<br \/>\n<\/code><\/p>\n<p>Why did it take this long to actually do this?<\/p>\n<p>In C# you could do this right from the start. Well beter late than never probably?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey guys, I have to admit it&#8217;s been a while. But here I am again \ud83d\ude00 Today I saw this post on the serverside. And I have only one word for it Alleloeja. Just look at this piece of code import com.jinvoke.JInvoke; import com.jinvoke.NativeImport; public class Example { @NativeImport(library=&#8221;User32&#8243;) public static native int MessageBox(int hwnd, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.pczone.be\/?p=114\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Alleloeja!!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[6,4,5],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-c","category-informatics","category-java"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3U9nk-1Q","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=114"}],"version-history":[{"count":0,"href":"https:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/114\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}