`
文章列表
    应该遵循的规范: 类/接口/属性名,使用名词或形容词; 方法名使用动词。 Java Naming Conventions: http://www.oracle.com/technetwork/java/codeconventions-135099.html Ixxx、Service、servieimpl、dao、daoimpl,真的有必要吗? Naming the Java Implementation Classes: http://isagoksu.com/2009/development/java/naming-the-java-implementation-classes/ ...
  http://stackoverflow.com/questions/9850525/whats-the-use-of-enum-in-java引用An enum is an ordinary class with a predefined and enumerable set of instances. So, if you know in advance (in compile-time) how many instances a class will have and if the instances are easily enumerable, then use an enum. ...
    Annotations for Http params: @RequestBody @PathVariable @RequestParam @ModelAttribute @ExceptionHandler & @ControllerAdvice(这个advice注解是在 spring 3.2 之后才有的) 及基于它们两个的 Spring MVC 异常处理: 问题: spring MVC 在 json 反序列化(如通过 @Requ ...
Redis is a key-value store NoSQL database。 性能高的原因在于大部分数据都被放在内存中,所以你可以将它看成是个内存数据库。 Problems: key一定是String类型,怎么能够按照一定顺序,输出database中所有的keys?(keys * 不能保证有序) list all keys in some order? Redis Documentation: http://redis.io/documentation Redis, from the Ground Up: http://blog.mjrusso.com/2010/10/17/re ...
场景: 接口或抽象类,有多个实现/子类。使用Spring,&Autoinjected关联的是接口/抽象类,怎么让spring可以在运行时动态注入具体的实现那? 参考: How to use @Autowired to dynamically inject implementation like a factory pattern http://stackoverflow.com/questions/5725222/how-to-use-autowired-to-dynamically-inject-implementation-like-a-factory-patter How to ...
   Java Tutorials -> Concurrency: http://docs.oracle.com/javase/tutorial/essential/concurrency/index.html Java Concurrency Utilities: http://docs.oracle.com/javase/7/docs/technotes/guides/concurrency/index.html 作者 Doug Lea 的个人主页,里头不少好东西: http://g.oswego.edu/ http://www.vogella.com/articles/Jav ...
  测试的分类: http://stackoverflow.com/questions/520064/what-is-unit-test-integration-test-smoke-test-regression-test http://stackoverflow.com/questions/4904096/whats-the-difference-between-unit-functional-acceptance-and-integration-test http://stackoverflow.com/questions/3370334/difference- ...
    PostgreSQL Commands  QuickStart: http://www.thegeekstuff.com/2009/04/15-practical-postgresql-database-adminstration-commands/ http://www.linuxweblog.com/postgresql-reference #查看 PostgreSQL 命令行工具的帮助,最有用的一个!!!! \? #重启 postgresql 服务 (ubuntu下) $ sudo service postgresql restart #登陆 PostgreSQL 命令 ...
Spring+BoneCP+MyBatis下, 如果applicationcontex.xml中的boneCP datasource 最大连接数maxConnectionsPerPartition设为1且partitionCount也为1: <bean id="dataSourceNewsletter" class="com.jolbox.bonecp.BoneCPDataSource" destroy-method="close"> <property name="driverClass&q ...
  Useful Shortcut Keys In Ubuntu Ctrl + super(即start键,就是xp下常说的windows键) + d: 显示桌面; Ctrl + Alt + t: 打开一个新的terminal; http://maketecheasier.com/useful-shortcut-keys-in-ubuntu/2008/07/14引用须谨记的 terminal 命令摘录: ctrl + d : 退出当前terminal ctrl + l : shortcut for clear ctrl + c : Kill the current process. ...
《Hadoop: The Definitive Guide》reading notes: This, in a nutshell, is what Hadoop provides: a reliable shared storage and analysis system. The storage is provided by HDFS and analysis by MapReduce. There are other parts to Hadoop, but these capabilities are its kernel. MapReduce: http://strata.oreill ...
执行 mvn 命令时,指定goals避免该错误。 http://www.jrmh.net/exception/showexception.asp?ID=249 https://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
Gerrit Code Review for Git: http://gerrit-documentation.googlecode.com/svn/Documentation/2.4.2/index.html git post of mine: http://wuaner.iteye.com/blog/1681983 Git workflow: http://nvie.com/posts/a-successful-git-branching-model/ http://danielkummer.github.io/git-flow-cheatsheet/ https://www.atla ...
Srcs : Git Reference http://git-scm.com/docs http://www.kernel.org/pub/software/scm/git/docs/ Pro Git http://git-scm.com/book “Tracking Branches” And “Remote-Tracking Branches”: http://www.gitguys.com/topics/tracking-branches-and-remote-tracking-branches/引用在项目的 .git/config 文件里 存在 [branch <name> ...
Very useful http://javarevisited.blogspot.sg/2011/04/top-20-core-java-interview-questions.html
Global site tag (gtag.js) - Google Analytics