06 2012 档案
摘要:from:http://www.rgagnon.com/javadetails/java-0438.htmlSome notes from A. Gonzales about String.split()Special cases using String.split():public class StringSplit { public static void main(String args[]) throws Exception{ System.out.println( java.util.Arrays.toString( " s".split(" ...
阅读全文
摘要:http://files.cnblogs.com/wucg/eclipse-folding-plugin.ziphttp://stackoverflow.com/questions/6940199/how-to-use-coffee-bytes-code-foldingFirstly, you'll need to configure Coffee Bytes Java folding as the folding scheme to use, and then enable User Defined Regions, as shown below.Secondly, you'
阅读全文
摘要:from : Hibernate In Action:The load() method is older; get() was added to Hibernate’s API due to userrequest. The difference is trivial:■ If load() can’t find the object in the cache or database, an exception isthrown. The load() method never returns null. The get() method returnsnull if the object
阅读全文
摘要:Hibernate created a new language named Hibernate Query Language (HQL), the syntax is quite similar to database SQL language. The main difference between isHQL uses class name instead of table name, and property names instead of column name.HQL is extremely simple to learn and use, and the code is al
阅读全文
摘要:from:http://blog.sina.com.cn/s/blog_582edf670100g75p.html 最近搞了下virtualbox虚拟机,想实现虚拟机与本机的互访,百度了一下,成功了。在这里写下来以备忘。 1、首先要为虚拟系统建立一个新的网络连接。 在virtualbox主界面中选择
阅读全文
摘要:10 Tips for Moving From Programmer to Entrepreneur 很多参加 BarCamp 的人都在痛苦的从程序员转型为创业者。虽然我从来都不是疯狂的码农(把自己关在地下室里一周,折腾出十万行代码这样 =。=),但我也曾经做过这样的转型。在创办HelpSpot的这些年中,我确实也总结出了一些经验,以及人们会什么会转型失败。 1. 代码只占生意的5% 我见到的最多、最严重的问题就是开发者被代码绑架,花费数不清的时间让一个功能变得完美,或者炫耀最新的技术。是的,你的代码必须高质量,并且没有严重的 bug 和安全问题。但是你要记住,再好的代码如果没有人用的话都..
阅读全文