{"id":418,"date":"2007-05-15T23:10:00","date_gmt":"2007-05-16T05:10:00","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/archives\/000418"},"modified":"2007-05-15T23:11:03","modified_gmt":"2007-05-16T05:11:03","slug":"connecting-php-and-java","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/418","title":{"rendered":"Connecting PHP and Java"},"content":{"rendered":"<p>Have you ever had a project written primarily in PHP, but there were some java systems that you wanted to connect to?  Perhaps there was a third party library or a java API that you really want (or are required) to use, but PHP had been chosen for other reasons.<\/p>\n<p>The <a href=\"http:\/\/php-java-bridge.sourceforge.net\/pjb\/\">php java bridge<\/a> is your solution.   The documentation is good, and the <a href=\"http:\/\/php-java-bridge.sourceforge.net\/pjb\/faq.php\">performance is pretty darn good<\/a> (if you&#8217;re looking for benchmarks, search for &#8216;How fast is it?&#8217;). You can use the bridge over sockets, a xml based protocol via servlets, or over a mono application.  The mailing list is active, and it looks like the primary developer actually answers questions on said list (as of May 2007).<\/p>\n<p>I&#8217;ve always been a bit <a href=\"http:\/\/www.mooreds.com\/wordpress\/archives\/000162\">hesitant regarding cross language programming<\/a>: &#8220;Great, now I get to debug in two languages that communicate via sockets!  Yahoo!&#8221;.  But for a certain set of circumstances, using this bridge can be the right answer.<\/p>\n<p>[tags]php, java, cross-language programming,php java bridge[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever had a project written primarily in PHP, but there were some java systems that you wanted to connect to? Perhaps there was a third party library or [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,5,17],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-dynamic-languages","category-java","category-php"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}