{"id":1052,"date":"2010-07-13T19:45:14","date_gmt":"2010-07-14T02:45:14","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=1052"},"modified":"2010-07-13T19:45:14","modified_gmt":"2010-07-14T02:45:14","slug":"start-from-scratch-java","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2010\/07\/13\/start-from-scratch-java\/","title":{"rendered":"Start from scratch – Java"},"content":{"rendered":"

Time to get hands dirty in Java mud \ud83d\ude00<\/p>\n

Lots of projects here are Java based, plus something like Struts, Spring, Hibernate, etc.\u00a0I don’ t like the structure much but I have to understand how to get things done, or at least I need to be able to read those codes and configurations (I hate so many configuration files in Java world).<\/p>\n

I was trying to setup Eclipse with Struts2 and Tomcat, I was so amazed by memory management in Java VM, want to know my impression? In one world, MESS. >:) After dealing with this and that kind of all sort of “MaxXXXSize” configuration directives (or command line parameters), I finally figured out “-XX:MaxNewSize=128m” and “-XX:MaxPermSize=128m” are two of the most important parameter to make Eclipse stop reporting “PermGen Space” error.<\/p>\n

Thinking of setting up such an IDE really takes time, I was thinking maybe I should go back to my vim time …<\/p>\n

BTW, people here developing software on local machine (I mean desktop), Java is cute in this case – write once and run everywhere.<\/p>\n","protected":false},"excerpt":{"rendered":"

Time to get hands dirty in Java mud \ud83d\ude00 Lots of projects here are Java based, plus something like Struts, Spring, Hibernate, etc.\u00a0I don’ t like the structure much but I have to understand how to get things done, or at least I need to be able to read those codes and configurations (I hate […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[47,193,22,194],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1052"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=1052"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1052\/revisions"}],"predecessor-version":[{"id":1053,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1052\/revisions\/1053"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}