Archive for the ‘程序语言’ Category

svnant

Posted: 19th 四月 2010 by admin in java

参考文章:http://subclipse.tigris.org/svnant.html 可以将生成的jar包自动提交到svn服务器。

groovy 数据库连接

Posted: 26th 五月 2009 by admin in java

最近有空的时候在看groovy.下午看到了一个数据库连接的例子竟然花费了一个小时才调试通过。 开始的时候eclipse出问题,没办法只好重新下载一个。然后运行的时候提示找不到com.mysql.jdbc.Driver。原来是没有jdbc包。google了下找到这篇文章http://tellixu.javaeye.com/blog/166268。又下了一个mysql-connector-java-5.1.7.zip。解压后把mysql-connector-java-5.1.7-bin.jar加到项目的lib中就可以运行了。用了groovy后,数据库的代码很简单 import groovy.sql.Sql; import java.util.Properties; public class SqlTest {  public static void main(String[] args) {     Sql sql=Sql.newInstance("jdbc:mysql://xxxxx:3306/shuihu","shuihu", "pass","com.mysql.jdbc.Driver");   sql.eachRow("select * from p_chief "){    println it.id;   }  } }

Facebook如何管理150亿张照片(转载)

Posted: 2nd 五月 2009 by admin in java

原文地址:http://www.javaeye.com/news/7267-facebook-how-to-manage-the-15-billion-photos

纪念Sun的历史时刻(图)(转载)

Posted: 30th 四月 2009 by admin in java

原文出处http://www.javaeye.com/news/7217-to-commemorate-the-historic-moment-of-sun-chart

原文出处:http://www.javaeye.com/news/7198-mootools-1-2-2-released-as-well-as-the-new-mootools-more 关键是更新了this.parent(),其他的还没看,有空再研究下。 以前的版本中,这个parent()方法的执行效率确实低了点。为了查找这个原因费了不少时间,现在总算更新了。

中国经营报:甲骨文收购大戏的背后(转载)

Posted: 27th 四月 2009 by admin in java

非常不错的文章,分析的好! 原文地址:http://www.javaeye.com/news/7148-china-business-news-oracle-to-acquire-drama-behind