`
echohfut
  • 浏览: 231316 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
1. Cost Estimationg process input: Scope Statement WBS WBS Dictionary Project Management Plan Organization Process Assets Enterprise Environmental Factors tools: Bottom-up estimating Analogous estimating Project management software Parametric estimating Determine Resource Cost Rates Ven ...
Schedule Development Process It is the core of time management. it's the process where you put it all together. input: Resource Calendar/Network Diagram/Activity List/Activity Attributes/Activity Duration Estimates /Activity Resource Requirements/Project Management Plan/Organizational Process Ass ...
Time Management Time Management is all about breaking the work down into activities, so you can put them in order and come up with estimates for each of them. 1. Activity Definition process divide the work package(from WBS) into activities that can be estimated. tools and techniques: Decomposiit ...
Scope management means figuring out what's out of scope, not just what's part of scope. five scope management processes: 1. scope planning output: scope management plan 2. scope definition output:scope statement scope definition tools&techniques:stakeholder analysis,product ayalysis,alter ...
PMBOK(Project Management Body of Knowledge)PMBOK Guide divides into 44 processes that fall into 5 process groups. 5 process groups are: Initiating: Develop Project Charter,Develop Preliminary Scope Statement Plannig:Develop Project Management Plan,Risk Identification,Quality Planning,Activity Dura ...

设计原则

SOLID 1. SRP    A Single Responsibility Principle    A class should have one, and only one, reason to change. 2. OCP    A module should be open for extension but closed for modification.    polymorphism is a way to implement it.    Q: what's the difference between static polymorphism and dynamic p ...
现有一个遗留系统中,用到了很多多线程。其中等待机制是这么做的:1. 主线程在需要等待的时候,先开启一个等待线程。初始化时预定一个时间。等待线程启动后立刻wait()/wait(nTime).2. 主线程 join 等待线程3. 外部事件到达时,interrupt 等待线程。E.g. in a listener or update method4. 主线程继续执行下去 这种方式利用了InterruptedException控制业务逻辑,除了这个缺点外不知还有没有别的弊端?

Message Broker

Message Broker based on RMI
RMI provides the solution of communication between Java processes. For building a RMI Server/Client Application, below steps are considered:1. define the Remote interfaces extends from java.rmi.Remote   these interfaces will also be provided to client.   note: all remote interfaces throw java.rmi.Rem ...

LDAP command

#install ldap1. install BerkeleyDB.4.62. add /usr/local/BerkeleyDB.4.6/lib to /etc/ld.so.conf, then execute ldconfig3. env CPPFLAGS="-I/usr/local/BerkeleyDB.4.6/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.6/lib"  ./configure --prefix /usr/local/openldap4. make depend5. make6. make ...

日志系统

异步log to file1. 启动一个多线程,维护一个List列表。List中存放的是需要log的字符串。早期用Vector来考虑同步的问题,甚至可以包装Vector。加入wait/notify机制。2. 主程序启动时打开文件,主程序结束时关闭文件。其他还有异常,rotate file时也需要关闭文件。  // Open the file output stream            logOutputStream = new FileOutputStream(this.fileName);         &nbs
执行java程序时传入的系统参数可以通过以下方式在程序中获取:java  -D参数1=值1  java程序名    Properties props = new Properties(System.getProperties());    String outputMode = props.getProperty("参数1");
SessionJob 一定要声明在SessionScheduler 类外面。 如果用作SessionScheduler的内部类会产生莫名其妙的错误。
应用observer 模式的一个好处是,处理定时触发的业务逻辑可以分散放在各个模块内部。
SessionScheduler 中 jobToBeExecuted 是回调的逻辑。这里通过Observer 模式通知到具体的业务模块去处理。
Global site tag (gtag.js) - Google Analytics