2008-04-15

雨夜感慨,前途漫漫!

关键字: 职场
毕业到现在转眼都4年了,虽然现在在公司的头衔是高级程序员,其实自己清楚自己的斤两,顶多算个初级程序员。究其原因还是自己没有做过像样的项目,都是在已有的项目上修修补补,别说全生命周期的大项目开发,哪怕一个像样的module都没有写过,自己在家里捣鼓的东西都是半途而废,半路夭折,没有坚持,所以可以说是一个不太合格的程序员。基本的技术框架都摸过,但都不深入,顶多算个知不道先生,碰到一点问题还是得求助于google,debug老半天,属于典型的笨鸟后飞,而且还经常飞飞停停,一晃都26岁了,一年一年一晃就过去了,以前经常在心里埋怨一个老同事,30多岁了的人了,整天混日子,写出来的代码不如刚毕业的,其实自 ...
最近在看JVM(深入java虚拟机) 一个简单的java程序 int i = 0; for (;;) { i += 1; i *= 2; } 对应的byteCode以及助记操作码如下 // Bytecode stream: 03 3b 84 00 01 1a 05 68 3b a7 ff f9 // Disassembly: mnemonic bytecode offset iconst_0   // 03        0 istore_0   / ...
2007-10-23

XML NEWBIE NOTE1

关键字: XML,入门
What is for? It's XML Prolog. prolog. The minimal prolog contains a declaration that identifies the document The declaration may also contain additional information: version: Identifies the version of the XML markup language used in the data. This attribute is not optional. • encoding: ...
  • 16:18
  • 浏览 (243)
  • 评论 (0)
Reusing SQL Fragments we use the tags and . The tag contains the fragment to reuse, the tag includes such a fragment in a statement. For example: <sql id="selectItem_fragment">   FROM items    WHERE parentid = 6&n ...
  • 18:13
  • 浏览 (283)
  • 评论 (0)
BeanFactory vs ApplicationContext Both of them are Interface ApplicationContext extends BeanFactory indirectly. (api for ApplicationContext:http://www.springframework.org/docs/api/org/springframework/context/ApplicationContext.html) ApplicationContext provide extra functionality such as I ...
以动手实践为荣,以只看不练为耻。 以打印日志为荣,以出错不报为耻。 以局部变量为荣,以全局变量为耻。 以单元测试为荣,以手工测试为耻。 以代码重用为荣,以复制粘贴为耻。 以多态应用为荣,以分支判断为耻。 以定义常量为荣,以魔法数字为耻。 以总结思考为荣,以不求甚解为耻。 好像我“耻”的还是蛮多的,大家呢?
2007-09-08

Core Java之序列化

关键字: core java, serialization
original from : java.sun.com/developer/technicalArticles/Programming/serialization(Discover the secrets of the Java Serialization API) Serialization is a built in mechnism in java, the serializable  works as a marker interface, which mean no other method need to be&n ...
There are 3 ways for processing mapping from DispatcherServlet to Controller BeanNameUrlHandlerMapping   map to url based on the name of Controller SimpleUrlHandlerMapping           map to url withe the colletion of properties which confi ...
2007-09-04

Spring MVC学习笔记一

关键字: Spring MVC
Sequence: 1)在SpringMVC中,DispatcherServlet作为前端控制器来负责接收用户通过浏览器发送的一个请求。 2)然后DispatcherServlet开始查询一个或多个HandlerMapping(记录了mapping between controller object and url 3)DispatcherServlet delegate the request to the correspondent Controller in which actually delegate to business Object. 4)After busin ...
写了好几年的程序的人不见得全部对语言基础都非常了解 比如说Java的内部类,除了在些框架里提供的之如spring里的callback以及GUI里面的常用匿名内部类,至少我个人很少在其他地方利用到,正好不忙,把这块部分好好补一补。 下面是总结的一些tips: 1.static inner class. 用法一:用于改进的singleton类(created by Jeremy Manson and Brian Goetz) the Initialization on Demand Holder (IODH) idiom which requires very little code a ...
不吃鱼的猫
搜索本博客
博客分类
最近加入圈子
存档
最新评论