Use it!

  Last week,a friend in our LearnDiary Developing Group told me the key of learning english is two words:USE IT!I think it is right.

  So,from then on,I will try to write the most of my diary in english.And,I wish my friend in the LDDG communicate each other in english,email or our website.

  Last week,I listened sevral text of new concept english.but there are many text I havn't listened clearly.I should listen every word clear in the text,It approach my goal only in this way.

the summary of learning <>

  This week,I have learned chapter 7-10 of this book,this is the second time  learning it.

  There are four typies of diagram in OO analysis.They are class diagram,use-case diagram,interaction diagram(sequence diagram or collaboration diagram),state diagram.

  I have a question is if struts class should be imported in at this phase.I learned a book there is a seqence diagram,it includes struts class.But,I think,we should know what should we do in the analysis phase.the result should be used in any oop design,for example:.net.So,I think struts class shouldn't be imported at this time,but design phase.

  The state diagram is used to create method in a class.But I don't know it clearly.

  After analysis phase,We should choose a plan according with the environment and post it to the manage department.

  In design phase,the package diagram is used to dividing sub system.at this phase,We should use state diagram to write pseudocode of a method's logic of a class.

  The most valuable knowledge come from chapter 10--datebase design for me.especially oodb.The ability of OODB is exciting for me.It can support self definition data type and inheritance and other new charactor that relation db can't support.I should learn it later.

  In our LD project,We should use another db type it between relation db and oo db called hybrid object-relational DBMS.

  In hybrid object-relational DBMS,if there are several child class for a parent class. the child class can be processed in two ways.one is using a table that represent a super set of all these class,another is every child class is a table and the key of this table is outer-key(I can't understand it).

Floodwater towards heaven

  Corse,corse,40000;water,water,30 metres;no blood,no blood,only sadness...What an image!the tsunami in these days happening at seral countries beside the Indian Ocean. I want to cry!

  What can I do when if I faced the water it's 30 metres high?What?Nothing!I want to cry!

  40000 people have lost their lives,and a life is so helpless,a life is so 

slight!I want to cry!

  Human has been fighting nature a long time.But when we face this disaster,why we lost so many lives of our friends in a world?why?

  I think,if existed a network of preventing disaster like this:there are many detector at the ocean floor to detect the activity of the earth quake,It can broadcast the danger to all people who can be harmed as quickly as it can,we will don't lost so many lives.

  But,why there isn't a network like this?I don't know.

  What can we do now?what can the member of LDDG do now?If we think if it's us faced this situation?

  Things we can do now is blessing and blessing,blessing our friend in a world far away from the danger...

A mind for learning english in our project

    English is very important now.I have a mind of learning english,that is two words:use it!It's told me by a friend in the LearnDiary Developing Group(LDDG).And this friend introduce a english learning method-"study english reverse method" invented by generals Zhong DaoLong.This method can be downloaded at this address:,It's need pdf reader with Simpfied Chinese Support Package which can be downloaded at this address:.I suggest the friend like me to learn and exercise this method.

  So I have a mind,it's developing a part of our project in english.For example:private message management model in our project or other model.We can analyse,design,and code this model in english.

  Another,we can communicate each other in my website in english.In this way,we can learn english by using it.Of course,we should also take some other method introduced in manual writed by generals Zhong DaoLong.

  In order to learn english,I will write some type of diary in english,for example:nurture my daughter,felling in my life,and learn jsp.

  I hope there are many friend can join the team of learning english.

学习raorao的PostAdvice0Action.java

我在beforePostArt指的提交文章前的target,当提交文章后,这个target会保存在session

中。当重复提交失败后,页面会定向到beforePostArt所指的target。

因为raorao如果不改定向,提交日记定向的是diarysuccess所指的toSendMailOfGoalAction.do,这个target

提交日记前就已经保留在了session的beforePostArt中。重复提交日记失败后,调用

beforePostArt所指的target,自然就定向到了diarysuccess所指的toSendMailOfGoalAction.do,

就形成了重复发送邮件。

所以,raorao把重复提交日记失败后的target用isBackSubmit重新定向,避免了一般情况下的重复发送邮件。

但由于learndiaryV0.9本身没有彻底解决重复提交问题,在此基础上形成防止重复发送日记的代码在重复提交日记

成功后自然就被绕过了。而这正是学习日记程序设计队现在正在解决的目标之一。

 

xml的解析与用途

    xml是java开发中不可缺少的一部分,对于系统的配置,数据的存储都起着很大的作用。而系统对xml数据的读取过程就是对xml文档的解析过程。关于xml的解析有两种方式,一种是dom方式,一种是sax方式。dom是基于对象的,他依照xml文档在内存中建立树状结构,因此当xml文件较大时,dom的解析方式比较占用内存,因此一般的时候用sax方式,sax是基于事情的,当遇到特定的符号时就会触发相应的函数去执行。java中提供了相应的api函数,当然都是遵循xml标准的。关于xml,本人只开个头,希望大家都来商讨,商讨。

学习日记大事记

这篇日记用于记载学习日记网站发生的具有里程碑意义的事件。

1、2004年9月28日,中秋节,学习日记投入运行;

2、2004年11月18日,学习日记开发小组正式成立;

3、约2005年6月,将学习日记的代码提交到http://www.tigris.org开源社区,成立学习日记开源项目http://learndiary.tigris.org

 4、2007年6月中旬,停用Java版学习日记,关闭学习日记开源项目,学习日记改为使用wordpress搭建的个人博客。

老鼠成了替罪羊

    前几天,我看见咪妹手中的一件刚才还在玩的玩具丢了,我问她玩具到哪里去了。她一脸严肃,非常慎重的说了两个字:“耗耗。”。那样的神态就像福尔摩斯断案后的肯定。

    于是,我发现,只要我们问她某样东西哪里去了的时候,她都会这样一本正经的回答“耗耗。”。我估计是我不在家的时候,大人把她喜欢的东西藏起来的时候这样告诉她的。于是,老鼠成了替罪羊。

    问题是,我们大人应不应该以这样的方式骗她呢?

在倡议进行信息时代学习理论讨论的同时进行

    在需求分析设计队队长J_Key的来信的启发下,我删除了公告中的大部分其他公告,添加了开发小组成员参与新版学习平台的战略规划的帖子。希望大家可以在此或在学习日记创意集锦这个目标中展开新版学习平台未来的思考、讨论与建议。我觉得大家可以在学习日记创意集锦这个目标的日记中记录一些思考的过程,在战略规划的这个公告的评论中提出思考的结论。我会陆续在前者的日记中作一些学习理论和创意的思考。

    上周联系了一名学习理论的顾问,还在等待回复中。如果有了学习理论顾问的理论支援,我想我们的新版学习平台的理论指导会更完备的。

    上周开始在学习<<系统分析与设计>> 这本书的同时,学习javauml这本软件工程的电子书,为协助需求分析设计队队长J_Key的工作作准备。

    今天是圣诞节,我们这里地处内地,除了一些年龄不大的年青人参与赶时髦外,基本上没有过节的气氛。大家还是向往常一样过周末。不过,我想在学习日记开发小组的成员中,肯定有不少朋友正在欢度圣诞节。在这里祝他们圣诞节快乐。

    现在,临近过年了,大家都很忙,尤其是学生还要考试,我估计开发小组的工作会暂时比较宁静。但学生考试结束后,我想会热闹起来。只不过不知道他们什么时候放寒假。