java
文章平均质量分 64
丶不二
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(转)JavaBean中DAO设计模式介绍
一、信息系统的开发架构 客户层-------显示层-------业务层---------数据层---------数据库 1.客户层:客户层就是客户端,简单的来说就是浏览器。 2.显示层:JSP/Servlet,用于给浏览器显示。 3.业务层:对于数据层的原子操作进行整合。 4.数据层:对于数据库进行的原子操作,增加、删除等; 二、DAO(Data转载 2014-09-01 09:51:39 · 672 阅读 · 0 评论 -
获取系统当前时间,Time过时
用Time获取系统当前时间时会出现警告: The type Time is deprecated, The method setToNow() from the type Time is deprecated, The method format2445() from the type Time is deprecated; 解决方案之一就是使用java.util.Gregor原创 2017-09-13 11:24:39 · 1176 阅读 · 0 评论 -
字符串与十六进制的互转
//字符串转十六进制 private static String stringToHexString(String string){ char[] c=new char[string.length()]; c = string.toCharArray(); String hesStr = ""; for (int i = 0; i hesStr = hesStr + Integer.原创 2017-11-20 11:45:28 · 3374 阅读 · 0 评论
分享