Dev@Free

zJun's Tech Weblog

01 2007 档案

[转] 常用 JPA annotation 参考
     摘要: Table
Table用来定义entity主表的name,catalog,schema等属性。
元数据属性说明:
name: 表名
catalog: 对应关系数据库中的catalog
schema:对应关系数据库中的schema
UniqueConstraints:定义一个UniqueConstraint数组,指定需要建唯一约束的列   阅读全文

posted @ 2007-01-24 15:46 zJun's帛罗阁 阅读(21963) | 评论 (0)  编辑

使用POI生成Excel文件
     摘要: Apache的Jakata项目的POI子项目,目标是处理ole2对象。POI可以到 http://www.apache.org/dyn/closer.cgi/jakarta/poi/下载。编译好的jar主要有这样4个:poi包,poi Browser包,poi hdf包,poi hssf例程包。实际运行时,需要有poi包就可以了。  阅读全文

posted @ 2007-01-22 17:59 zJun's帛罗阁 阅读(22196) | 评论 (6)  编辑

剔除List中的重复值
     摘要: 方法一:循环元素删除
方法二:通过HashSet剔除
方法三:删除ArrayList中重复元素,保持顺序  阅读全文

posted @ 2007-01-18 13:48 zJun's帛罗阁 阅读(4628) | 评论 (0)  编辑

Prototype 1.5.0发布

posted @ 2007-01-17 18:01 zJun's帛罗阁 阅读(740) | 评论 (0)  编辑

[转] 破解MySQL的MD5函数
     摘要: As per the documentation on MySQL I moved the storage of passwords from using Password() to using MD5(). I read a number of places that stated that this was a method that couldn't be reversed and it was far more secure than the previous method. I was feeling confident that life was about to get a little more secure. While going through my daily RSS feeds and mailing lists for SpikeSource, I happenned upon a thread about someone discussing how easy it was to break MD5 hashes. It was a simple matt  阅读全文

posted @ 2007-01-17 16:22 zJun's帛罗阁 阅读(2568) | 评论 (0)  编辑

Displaytag (partialList ="true") 分页例子子
     摘要: name="resultList" 将记录集存在session或者request中的键值
pagesize="100" 每页显示100条数据
sort="external" 外部排序
id="row" 表格id值,用于程序得相关的参数
partialList="true" 分段从数据库中读数据
size="resultSize" 记录的总条数,用于计算总页数  阅读全文

posted @ 2007-01-17 15:04 zJun's帛罗阁 阅读(5292) | 评论 (3)  编辑

[转] 常用Java开源工具包介绍
     摘要: Apache jakarta 各项目主要用途及简单说明
opensymphony 各專案主要用途及簡單說明  阅读全文

posted @ 2007-01-16 17:07 zJun's帛罗阁 阅读(1421) | 评论 (0)  编辑

[转] 大腕-软件开发版
     摘要: 一定得是N层结构,
层数越多越好,层少了用户会误会我们不重视,
什么数据访问层呀,实体控制层啊,能给他加上的全加上。
    
程序员一定都得是老鸟,30以下基本不考虑,
还得清一色的外企空降兵,
都有10年以上编程经验的那种,用过的语言越多越好,
编程都不带查MSDN的,牛吧!
程序员个个都配IBM笔记本,
CPU要3G以上的,内存硬盘和屏幕都要最大的,
扩展槽别剩下,能插上的全插上。
能安的操作系统全安上,开机一屏幕上就一堆系统等你选,
倍有面子!
    
系统平台就得是J2EE,人家竞争对手除了C++就是JAVA,
你要用一.NET都不好意思和别人打招呼。
你说这样的系统设计出来得卖多少钱?
我觉得怎么也得100万吧?
100万,那是单机版!
1000万起!
你还别嫌太贵,还不免实施服务费。
你得研究有钱用户得心理,
愿意花1000万买这套软件用的,
根本不在乎再多花上几百万!
     阅读全文

posted @ 2007-01-12 17:36 zJun's帛罗阁 阅读(482) | 评论 (0)  编辑

Spring管理Struts Action
     摘要: 参考文档:使用 Spring 更好地处理 Struts 动作

可以通过三种方式实现Spring管理Struts Action:
1.使用 Spring 的 ActionSupport 类整合 Structs
2.使用 Spring 的 DelegatingRequestProcessor 覆盖 Struts 的 RequestProcessor
3.将 Struts Action 管理委托给 Spring 框架   阅读全文

posted @ 2007-01-08 16:57 zJun's帛罗阁 阅读(1809) | 评论 (0)  编辑

导航

<2007年1月>
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

统计

常用链接

留言簿(15)

随笔分类

随笔档案

相册

收藏夹

博客

文档

站点

论坛

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜