- 博客(102)
- 资源 (8)
- 收藏
- 关注
原创 SpringMVC 注解配置
在Spring项目开发中呢,最好是搞明白原理,其次装上Spring为eclipse开发的插件,这样会大大提高开发效率,而且减少了大量信息的记忆负担。SpringIDE插件,可自行到eclipse插件库中进行下载,还有其他Spring相关的plugin可以自行研究下。当装好这个插件之后呢,可以根据向导创建一个简单的SpringMVC项目,大量的基本信息都可以自动生成,当然了是建立在明白原理的基础上,
2013-07-21 20:03:27 1587
原创 SpringMVC request生命周期
When the request leaves the browser, it carries information about what the user is asking for. At very least, the request will be carrying the requested URL. But it may also carry additional data su
2013-07-21 14:59:54 2398
原创 eclipse plugin 插件 推荐
1. 安装插件方式 比较方便的还是eclipse->help->marketpplace,但是速度上真的是相当不容乐观。 另一种是在eclipse网站的插件库中直接拖拽到eclipse工作空间中安装。 1.1 help->marketplace 方式 1.2 拖拽式
2013-07-08 12:41:57 3298
原创 eclipse oracle Database Manager plugin oracle数据库连接插件
在eclipseIDE中开发项目需要经常连接oracle数据库,装一些oracle client 去连接数据库,界面来回切换比较麻烦,所以专门找了一个eclipse插件专门连接oracle,跟大家分享一下。
2013-07-06 18:18:07 4537
原创 eclipse svn 配置
1.安装svnhttp://subversion.apache.org/到apache网站上下载svn2、在eclipse中安装svn插件在eclipse->help->eclipse marketplace中搜索svn3. 从svn上checkout项目3.1在eclipse菜单new中(从svn检出项目)3.2 e
2013-07-06 17:36:45 3017
原创 eclipse weblogic debug 简易配置版
你还在为eclipse调试weblogic安装的web发愁么?你还在为如何配置eclipse调试weblogic安装的项目么?
2013-07-06 12:51:17 3405
原创 Android游戏开发学习路线
要想使学习Android游戏开发道路平缓,有以下几条建议:1、反复阅读《Thinking In Java》即《Java编程思想》,反复练习,透彻理解Java语言特性,打牢Java基础。2、阅读《深入理解Java虚拟机》周志明著,至少前五章,理解Java内存管理机制,继而可以有理有据进行代码优化。3、深入学习《Design Patterns》,掌握常用设计模式,非 常用的设计模式可能在游
2013-04-18 19:48:51 2297
原创 Android模拟器快捷键指南---Android Emulator Keyboard Commands
Emulated Device KeyKeyboard KeyHomeHOMEMenu (left softkey)F2 or Page-up buttonStar (right softkey)Shift-F2 or Page DownBackESCCall/dial butt
2013-04-18 11:01:16 1490
原创 How to Plan an Iteration?
There are many approaches, but the following is relatively typical:1. Step one is to decide the length of the iteration; 26 weeks is the common range. In general, shorter is better.
2013-04-12 12:36:53 934
原创 Package Design
Package DesignObjectivesOrganize packages to reduce the impact of changes.Know alternative UML package structure notation.Introduction If some package X is widely depended upon by the
2013-04-08 15:45:25 1933
原创 Architectural Analysis
Architectural AnalysisObjectivesCreate architectural factor tables. Create technical memos that record architectural decisions.Introduction Architectural analysis can be viewed as aspe
2013-04-08 14:12:13 1897
原创 Logical Architecture
What is the Logical Architecture? And Layers? The logical architecture is the large-scale organization of the software classes into packages (or namespaces), subsystems, and layers. It's c
2013-03-27 14:26:19 2278
原创 OperationContracts
OperationContractsObjectives· Define system operations.· Create contracts for system operations.What are the Sections of a Contract? A descrip
2013-03-26 16:44:44 1993
原创 System Sequence Diagram --- SSD
SSD A system sequence diagram (SSD) is a fast and easily created artifact that illustrates input and output events related tothe systems under discussion. They are input to operation contracts
2013-03-26 12:44:16 3027
原创 Domain Model Analysis and Design
What is a Domain Model? A domain model is a visual representation of conceptual classes or real-situation objects in adomain [MO95, Fowler96]. Domain models have also been calledconceptual m
2013-03-22 17:19:20 1687
原创 UP Artifacts and Timing
Sample Unified Process Artifacts and Timing (s-start; r-refine)DisciplineArtifactIncep.Elab.Const.Trans. IterationI1E1..EnC1..Cn
2013-03-21 17:22:02 1100
原创 General Responsibility Assignment Software Patterns or Principles (GRASP)
Understandingresponsibilities is key to good object-oriented design. ---MartinFowler Gene
2013-03-20 13:48:15 1510
原创 OOA -- OOD Conception
What is Analysis and Design? Ø Analysis Analysis emphasizes an investigation of the problem and requirements, rather than a solution. Ø Design Design emphasizes a conceptua
2013-03-20 13:34:49 881
翻译 Replace Assignment with Initialization -- 以初始化值取代赋值
Replace Assignment with InitializationRefactoring contributed by Mats HenricsonYou have code that first declares a variable and then assigns a value to it你有段代码首先声明了一个变量,然后才去进行赋值。Make it
2013-03-19 12:01:28 1314
翻译 Reduce Scope of Variable -- 缩小变量作用域
Reduce Scope of VariableRefactoring contributed by Mats HenricsonYou have a local variable declared in a scope that is larger than where it is used你有一个局部变量,其声明和使用离得太远。Reduce the scope of
2013-03-19 10:57:29 3773
翻译 Replace Static Variable with Parameter -- 以参数变量取代静态变量
Replace Static Variable with ParameterRefactoring contributed by Marian VittekA function depending on a static variable needs to be reused in more general context.依赖一个静态变量的方法需要更多的通用性进行重用。
2013-03-18 21:35:25 1037
翻译 Remove Double Negative -- 移除双重否定
Remove Double NegativeRefactoring contributed by Ashley Frieze and Martin FowlerYou have a double negative conditional.你有一个双重否定条件语句Make it a single positive conditional使其变为一个肯定条件语句。
2013-03-18 21:00:41 1141
翻译 Reverse Conditional -- 反转条件
Reverse ConditionalRefactoring contributed by Bill Murphy and Martin FowlerYou have a conditional that would be easier to understand if you reversed its sense.通过反转条件语句能使得条件语句更容易理解。Revers
2013-03-18 20:47:45 1077
翻译 Split Loop -- 分离循环
Split LoopRefactoring contributed by Martin FowlerYou have a loop that is doing two things一个循环做了两件事情。Duplicate the loop复制循环。void printValues() { double averageAge = 0; double tot
2013-03-18 20:35:28 1616
翻译 Move Class -- 移动类
Move ClassRefactoring contributed by Gerard M. DavisonYou have a class that is in a package that contains other classes that it is not related to in function.在包里有一个类和其他的类在功能上没啥关系。Move th
2013-03-18 19:51:23 1644
翻译 Extract Package -- 抽取包
Refactoring contributed by Gerard M. DavisonA package either has too many classes to be easily understandable or it suffers from the 'Promiscuous packages' smell.一个包有太多类以至于不易理解或者有种“混杂包”的坏味道。
2013-03-18 12:25:51 1474
翻译 Convert Dynamic to Static Construction -- 动态到静态构造转换
Refactoring contributed by Gerard M. Davison You have code that loads other classes dynamically. This can introduce a un-warranted overhead and can produce code that is more fragile.你有一段代码利用
2013-03-17 23:17:32 1709
原创 设计模式--行为模式--策略模式--Java
IntentDefine a family of algorithms, encapsulate each one, and make the minter changeable. Strategy lets the algorithm vary independently from clients that use it.定义一套算法进行封装,使得可以改变。策略使得算法在调用段可以独立变
2013-03-17 22:27:37 1321
原创 设计模式--行为模式--迭代模式--Java
Intent 目的Providea way to access the elements of an aggregate object sequentially withoutexposing its underlying representation.提供一种方法顺序访问一个聚合对象中各个元素, 而又不需暴露该对象的内部表示。applicability 适应性to a
2013-03-17 22:11:25 931
原创 设计模式--行为模式--Collecting Parameter--Java
Collecting Parameter场景You have a single bulky method that accumulates information to a local variable.你有一个较长方法,其主要为了积累局部信息。定义A Collecting Parameter is an object that you pass to method
2013-03-11 11:23:16 2859 1
原创 设计模式--行为模式--NULL Object--Java
NULL OBJECT Patterns 第一次发现此模式时,是由于Bob大叔的经典著作《Agile Principles, Patterns, and Practices In C#》! 下面是出自书中的例子作为引例: Employee e = DB.GetEmployee("Bob"); if (e != nul
2013-03-09 14:12:25 1364
原创 设计模式--行为模式--状态模式--Java
StateIntent•Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.applicabilityAn object's behavior depends on its state, an
2013-03-09 12:56:01 1443
原创 设计模式--结构模式--装饰模式--Java
decoratorintentAttachadditional responsibilities to an object dynamically. Decorators provide aflexible alternative to subclassing for extending functionality为一个类动态地增加一些功能,比通过继承更灵活
2013-03-09 00:44:41 1251
原创 设计模式--结构模式--组合模式--Java
CompositeintentComposeobjects into tree structures to represent part-whole hierarchies. Compositelets clients treat individual objects and compositions of objects uniformly将对象组合成树形结构以表示“部分
2013-03-09 00:00:05 1415
原创 设计模式--结构模式--享元模式--Java
FlyweightIntent 目的Use sharing to support large numbers of fine-grained objects efficiently利用共享,使大量细粒度的对象得到有效的利用Applicability 适用性Anapplication uses a large number of objects应用程序大量
2013-03-08 22:49:03 1300
原创 设计模式--结构模式--门面模式--Java
Facade PatternsIntent 目的•Providea unified interface to a set of interfaces in a subsystem. Facade defines ahigher-level interface that makes the subsystem easier to use.•为子系统提供一个统一的接口。•Façad
2013-03-08 21:41:24 1224
Apress - Pro JPA 2 Mastering the Java Persistence API (November 2009) (ATTiCA)
2013-08-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人