{"id":486,"date":"2003-08-30T19:13:59","date_gmt":"2003-08-30T23:13:59","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=486"},"modified":"2003-08-30T19:13:59","modified_gmt":"2003-08-30T23:13:59","slug":"j2me-recipe-browser","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/08\/30\/j2me-recipe-browser\/","title":{"rendered":"J2ME Recipe Browser"},"content":{"rendered":"<p>As an exercise, I wrote up a <a href=\"http:\/\/java.sun.com\/j2me\/\">J2ME<\/a> client for <a href=\"http:\/\/www.Karensrecipes.com\">Karensrecipes.com<\/a>. As I <a href=\"http:\/\/cephas.net\/blog\/archives\/000494.html#000494\">mentioned a couple days ago<\/a>, it sends HTTP requests to a servlet to receive a list of recipes as XML, and then (given a specific recipe), sends another HTTP request for the recipe details (again returned as XML).  It works great on the emulator, not so good on the 3650.  It looks like the phone can&#8217;t establish a connection to my server, because as I tail the Apache logs, I don&#8217;t see the request come through (I do see the request when using the emulator).  I&#8217;m guessing it has something to do with the default connection for Java apps on the phone. Anyone have any experience with making wireless connections on the 3650 through J2ME?<\/p>\n<p>If you&#8217;re interested, you can download the application and the source:<\/p>\n<p><a href=\"\/projects\/recipeviewer\/RecipeViewer.jar\">RecipeViewer.jar<\/a><br \/>\n<a href=\"\/projects\/recipeviewer\/RecipeViewer.jad\">RecipeViewer.jad<\/a><br \/>\n<a href=\"\/projects\/recipeviewer\/recipeviewer_source.zip\">RecipeViewer source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As an exercise, I wrote up a J2ME client for Karensrecipes.com. As I mentioned a couple days ago, it sends HTTP requests to a servlet to receive a list of recipes as XML, and then (given a specific recipe), sends another HTTP request for the recipe details (again returned as XML). It works great on &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/08\/30\/j2me-recipe-browser\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">J2ME Recipe Browser<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[20,6,10],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/486"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}