上一页 1 ··· 5 6 7 8 9 10 下一页

2004年11月6日

摘要: IPC, inter-process communication, is offten used in enterprise system because programes (processes) are not stand alone usually. The following are common approaches for IPC: exchange files via a net ... 阅读全文

posted @ 2004-11-06 22:35 Samuel Chen 阅读(728) 评论(0) 推荐(0) 编辑

摘要: Martin Fowler's lively and humorous words fire the debate. And then Don Boxsneer -- J2EE's O/R layer steps back to 90'. see more : http://www.eweek.com/article2/0,1759,1699480,00.asp discuss : http... 阅读全文

posted @ 2004-11-06 22:33 Samuel Chen 阅读(994) 评论(0) 推荐(0) 编辑

2004年10月27日

摘要: 最近公司要竞标一个项目,对方指定要.Net,因此又重操旧业,整理一些.Net的技术优缺点。水平所限,若有错误之处,请斧正。 Web Service: 基于SOAP协议的功能抽象层,利用xml作为载体的文本内容完全可以通过http协议访问,具有穿透防火墙的能力,同时满足远程/本地调用以及b/s c/s调用,能极大程度的隐藏实现细节;不同的service可以部署于不同的host进行分布式调用而分散压... 阅读全文

posted @ 2004-10-27 10:40 Samuel Chen 阅读(4701) 评论(5) 推荐(0) 编辑

2004年9月15日

摘要: 如何使用相对路径 ---摘自互联网 我们在程序中经常要用到数据文件或资源文件(如图象),如果在程序中用绝对路径,就会使程序失去灵活性。例如我们的应用程序目录是D:\NECS,而数据目录是 D:\NECS\DataBase,如果我们使用数据文件时用D:\NECS\DataBase目录名。那么当我们程序被移到C盘的时候,就会出错,因为这时数据目录变成了C:\NECS\DataBase。所以我们要使用... 阅读全文

posted @ 2004-09-15 15:20 Samuel Chen 阅读(12599) 评论(8) 推荐(0) 编辑

2004年9月1日

摘要: 以basename是messages的为例。 内容如下的utf-8的中文化文件messages_zh_CN.properties.src: name=张三sex=男city=北京menu_return=返回主菜单 第一步,先确定原文件是GB/GBK编码的(很重要),如果是utf-8的先要转成GB/GBK的; 第二步,用$JDK/bin/native2ascii.exe进行转换 >native2as... 阅读全文

posted @ 2004-09-01 17:52 Samuel Chen 阅读(2475) 评论(0) 推荐(0) 编辑

2004年7月29日

摘要: 在使用了JSTL的TagLib来进行消息显示时,使用了message.properties 来配置信息。由于(估计)其内部使用了国际化支持,因此警告 ResourceBundle [messages] not found for MessageSource: Can't find bundle for base name messages, locale zh_CN。为了解决这个,我复制了一个me... 阅读全文

posted @ 2004-07-29 15:23 Samuel Chen 阅读(6626) 评论(3) 推荐(0) 编辑

2004年7月28日

摘要: From the example on spring official site, I conclude the flow of Spring's MVC.1. Request --> org.springframework.web.servlet.DispatcherServlet --> parse [ServletName]-servlet.xml --> dispatch to Contr... 阅读全文

posted @ 2004-07-28 17:15 Samuel Chen 阅读(1483) 评论(0) 推荐(0) 编辑

2004年7月26日

摘要: In SpringFramework, for logging by Log4J subsystem, we can config it with the file named log4j.properties and put it in the folder web-inf/class/ (If using WSAD, you should put it in JavaSource/. It ... 阅读全文

posted @ 2004-07-26 16:11 Samuel Chen 阅读(1743) 评论(0) 推荐(0) 编辑

摘要: 在用WSAD5.1.1学习 http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-1.html 的过程中, 已经引用了Spring.jar,然后把*.HTM map 到 org.springframework.web.servlet.DispatcherServlet,结果在访问*... 阅读全文

posted @ 2004-07-26 15:28 Samuel Chen 阅读(1655) 评论(0) 推荐(0) 编辑

摘要: 最近要做一个新的项目,前期做了些研究,决定用Java来做,因此很长时间没来这里,荒芜的都长草了。其实技术这个东西,是不分国界,不分语言的 —— 所以也不应该分“语言”吧。所以呢,也就冒着被拍死的大不为,在这个.Net的地方记录一点关于Java的心得(MS和Sun都和解了,我怕什么)。开了一个Spring的category。Spring是一个基于AOP思想的框架,可伸缩性非常的强。目前完成的是Jav... 阅读全文

posted @ 2004-07-26 15:20 Samuel Chen 阅读(2659) 评论(15) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 下一页