- ACCA F2重要知识:Planning and Control丨ACCA F2微课堂(2)
ACCA学习帮
干货丨拓展丨趣闻丨指南ACCAF2丨文:EstelleACCAF2把管理活动总结为三个词:planning,controlanddecision-making.这里通过举例讲解一下Planningandcontrol.1.Planning(关键词是objective/goalandstrategy)(i)Establishthecompany’sgoal:increaseprofitby20%in
- Unity3d学习笔记
明月海子
Mecanin动画系统.pngNavigation导航系统.pngShader渲染基础.png面向对象六大原则.png策略模式Strategy.png工厂模式Factory产品工厂.png观察者Observer.png结构设计模式总结.png模板方法模式TemplateMethod.png适配器模式Adapter.png外观模式Facade.png职责连模式ChainofResponsibilit
- 名诗我译(伊丽莎白·布朗宁篇)——Sonnets From The Portuguese(34) 葡萄牙的十四行诗 第34首
臻念
译文:真念一思作者:伊丽莎白·布朗宁Withthesameheart,Isaid,I'llanswertheeAsthose,whenthoushaltcallmebymyname--Lo,thevainpromise!Isthesame,thesame,Perplexedandruffledbylife'sstrategy?Whencalledbefore,ItoldhowhastilyIdro
- recover device type disk copy of database 还不会用!!!!
jnrjian
数据库oracle
ImplementingaDualBackupStrategywithBackupstoDiskandRecoveryAppliance(DocID2154461.1)RMAN-HowtoimplementDualBackupstrategy(DocID3003000.1)ZeroDataLossRecoveryApplianceSoftware-Version12.1.0.1.0andlater
- 【软件设计】常用设计模式--策略模式
秦哈哈
软件设计设计模式策略模式
软件设计模式(三)策略模式(StrategyPattern)1.概念2.模式结构3.UML类图4.实现方式C#示例步骤1:定义策略接口步骤2:实现具体策略类步骤3:实现上下文类步骤4:使用策略模式Java示例步骤1:定义策略接口步骤2:实现具体策略类步骤3:实现上下文类步骤4:使用策略模式5.优点6.缺点7.应用场景8.与其他模式的比较小结策略模式变体和实际应用场景1.变体变体1:组合模式与策略模
- 设计模式 -- 策略模式(Strategy Pattern)
xiaoyu❅
设计模式设计模式策略模式
1问题引出1.1鸭子项目有各种鸭子(比如野鸭、北京鸭、水鸭等,鸭子有各种行为,比如叫、飞行等)显示鸭子的信息1.2传统方式其它鸭子,都继承了Duck类,所以fly让所有子类都会飞了,这是不正确的上面说的1的问题,其实是继承带来的问题:对类的局部改动,尤其超类的局部改动,会影响其他部分。会有溢出效应为了改进1问题,我们可以通过覆盖fly方法来解决=>覆盖解决问题又来了,如果我们有一个玩具鸭子ToyD
- 设计模式生产环境实践------策略模式
hungteshun
设计模式策略模式
一、业务背景前端有一棵树形结构的目录,需要实现目录层级的拖拽来变换顺序二、定义接口publicinterfaceITreeStructureStrategy{/***操作树形结构*@paramreqDTO*/voidoperate(TreeStructureOperateReqDTOreqDTO);/***策略实现类-操作类型**@return*/IntegergetType();}三、接口实现定
- EasyExcel表格导出自动列宽设定
SheldonChang
POIexcelpoi
EasyExcel表格导出自动列宽设定publicstaticclassAutoColumnWidthStrategyimplementsCellWriteHandler{@OverridepublicvoidbeforeCellCreate(WriteSheetHolderwriteSheetHolder,WriteTableHolderwriteTableHolder,Rowrow,Headh
- 工厂模式和策略模式的区别
Stringzhua
每日一问策略模式工厂模式
文章目录工厂模式(FactoryPattern)设计意图适用场景结构优点缺点Java实现案例策略模式(StrategyPattern)设计意图适用场景结构优点缺点Java实现案例对比总结工厂模式(FactoryPattern)设计意图工厂模式的主要目的是将对象的创建与使用分离,通过一个工厂类来负责创建实例。这样,当我们需要创建新的对象时,不需要直接使用构造函数,而是通过工厂类来生成对象。这种模式在
- feign调用走不走网关全局拦截_feign在服务间传递header
小葙
场景:用户登陆后,再次访问网页,将用户信息loginToken放在request的header中,首先经过网关,然后到达A服务,然后A服务调用B服务时如何把loginToken传递给B服务1.修改hytrix配置,配置hytrix的strategy为SEMAPHORE。Hystrix提供两种执行隔离策略(ExecutionIsolationStrategy):SEMAPHORE、THREADSEM
- DragonFireFury
lanyue456
Alongtimeago,inapowerfulcountry,therewasakingwholovedmoneyverymuch.Hewantedatreasurewithalotofgemsinthemountainsbuthewasveryafraidofthetyrannosaurusthatguardedthetreasure.Sohecameupwithastrategy,hecal
- springboot策略解决低耦合 函数计算调用问题
烟雨国度
springboot状态模式后端
当然,我理解您现在可能感到有些混乱。让我为您创建一个详细的程序执行流程图,以帮助您更好地理解整个过程。策略选择和计算前端请求处理CalculationStrategyFactory初始化应用启动扫描组件注入策略列表遍历策略列表获取类名转为小写策略实例HTTPPOST解析请求体获取toolname根据toolname查找返回策略实例返回计算结果调用CalculationStrategyFactory
- 解决 Resolved versions for app (26.1.0) and test app (27.1.1) differ的办法
tgcity
在对应的build.gradle文件中添加configurations.all{resolutionStrategy.force'com.android.support:support-annotations:26.1.0'}
- EasyExcel--自定义表头(标题)样式策略
南晓枫
前言:在项目开发中,我们有时候会遇到自定义表头样式的需求。EasyExcel官方文档中关于表头样式的说明有两种(以设置表头颜色为例):方式1:通过使用注解来设置颜色(优点:使用非常方便,缺点:对于复杂表头就无能为力了,例如无法单独设置父表头和子表头的颜色)方式2:通过使用HorizontalCellStyleStrategy策略的方式来设置表头颜色(优点:通过此策略可以对表头设置更多的样式,缺点:
- 【重走编程路】设计模式概述(八) -- 策略模式、模板方法模式
咖啡+=方糖
重走编程路设计模式策略模式模板方法模式
文章目录前言13.策略模式(Strategy)定义解决方案应用场景优缺点14.模板方法模式(TemplateMethod)问题解决方案应用场景优缺点前言行为型模式关注对象之间的交互以及如何分配职责,提供了一种定义对象之间的行为和职责的最佳方式。本章介绍创建型模式中的策略模式和模板方法模式。13.策略模式(Strategy)定义策略模式定义了一系列算法,并将每一种算法封装起来,使它们可以相互替换。策
- 《认知行为疗法入门》回避策略 自弃策略
心理咨询师卜彬
贝克认为,个体为了遮掩其负性核心信念,会发展出一套心理策略,并且通过这套策略使自己看起来(不是别人看来)是正面的形象。这套心理策略被称为补偿策略(CompensatoryStrategy)。对多数个体而言,比较常见的负性核心信念是“无能的”和“不可爱的”两类。常见的补偿策略有以下七个类别:●努力策略;●回避策略;●顺从策略;●归因策略;●警惕策略;●自弃策略;●自恋策略。回避策略是最常见的补偿策略
- 设计模式--策略模式
Liu_Junwei
设计模式设计模式策略模式java
策略模式(StrategyPattern)是一种行为型设计模式,用于定义一系列算法,并将每一个算法封装起来,使它们可以相互替换。策略模式让算法的变化独立于使用算法的客户。主要角色策略(Strategy)接口:定义了一个公共接口,所有具体策略类都需要实现这个接口。具体策略(ConcreteStrategy):实现了策略接口的具体算法。上下文(Context):持有一个策略对象的引用,用于调用策略对象
- 行为模式6.备忘录模式------文本的撤销和保存
臣妾写不来啊
23种设计模式备忘录模式
行为型模式模板方法模式(TemplateMethodPattern)命令模式(CommandPattern)迭代器模式(IteratorPattern)观察者模式(ObserverPattern)中介者模式(MediatorPattern)备忘录模式(MementoPattern)解释器模式(InterpreterPattern)状态模式(StatePattern)策略模式(StrategyPat
- 设计模式-工厂模式和策略模式的区别
workflower
设计方法策略模式设计模式架构课程设计设计规范
工厂模式和策略模式都是设计模式中的重要组件,它们用于解决不同类型的软件设计问题。以下是它们之间的区别:目的不同:工厂模式(FactoryPattern)的主要目的是创建对象。它提供了一种创建对象的接口,使得子类可以决定实例化哪一个类。工厂模式的重点在于如何创建和管理对象。策略模式(StrategyPattern)旨在定义一系列算法,将每个算法封装起来,并使它们可以互换。策略模式使得算法可以在不影响
- Unity游戏中常用的设计模式——策略模式
LittleBridLibrary
Unity3D设计模式unity
策略模式策略模式:它定义了算法家族,分别封装起来,让它们之间可以互相替换,策略模式让算法的变化,不会影响到使用算法的客户。//抽象算法类策略类publicabstractclassStrategy{//算法方法publicabstractvoidAlgorithmInterface();}//具体算法ApublicclassConcreteStrategyA:Strategy{//算法A实现pub
- 【Unity3D与23种设计模式】策略模式(Strategy)
林尧彬
设计模式游戏
GoF中定义:“定义一组算法,并封装每个算法,让它们之间可以彼此交换使用。策略模式让这些算法在客户端使用它们时能更加独立。”游戏开发过程中不同的角色会有不同的属性计算方法初级解决方法便是:ifelse,不够再来几个ifelse高级点儿的就用switchcase配合enum对于小型项目或者快速开发验证用的项目而言,这么做是没问题的但是开发规模或产品化项目时,最好还是选择策略模式在策略模式中,算法中的
- Unity中的策略模式
菜园赤子
设计模式
策略模式主要用于游戏中的数值计算。为不同角色的相同方法提供统一的接口。方便管理。usingUnityEngine;publicclassTest:MonoBehaviour{privatevoidStart(){StrategyContextstrategyContext=newStrategyContext(newConcreteStrategyA());strategyContext.Do()
- 策略模式
蜗牛ICU
前言:因为现在设计模式在网络上已经泛滥,但是还是有好多程序员不能够灵活的运用设计模式,这个是对设计模式简单的介绍,因为网络上比较多类似的文章,所以本人就从网络上抄了一部分,等23种设计模式整理完成之后会根据实际的需求利用设计模式在代码中设计一些开源的插件,请继续关注。原版[菜鸟教程]简介:在策略模式(StrategyPattern)中,一个类的行为或其算法可以在运行时更改。这种类型的设计模式属于行
- 工厂模式和策略模式的核心区别与最佳实践
范范0825
策略模式bash开发语言
工厂模式和策略模式的核心区别与最佳实践在软件设计中,设计模式是解决特定问题的常用方法。工厂模式(FactoryPattern)和策略模式(StrategyPattern)是两种非常重要的设计模式,广泛应用于Java开发中。尽管它们都属于行为设计模式,并且有助于创建灵活、可扩展的代码,但它们的应用场景和核心思想有明显的区别。本文将详细探讨工厂模式和策略模式的核心区别,并结合最佳实践,帮助开发人员在合
- 金融工程--基础策略构建
bw876720687
金融工程金融python
背景1、如何构建良好的策略框架或者多决策模式来保证交易的稳定程度策略SMA策略简单移动平均线(SMA)策略是一种在金融市场中常用的技术分析方法,它通过计算特定时间段内资产价格的平均值来识别市场趋势。SMA策略的核心思想是,当短期SMA上穿长期SMA时,可能是一个买入信号;相反,当短期SMA下穿长期SMA时,则可能是一个卖出信号。classSMAStrategy(bt.Strategy):param
- 23种设计模式之11种行为型模式
如意如意525
设计模式java
11种行为型设计模式行为型设计模式用于处理对象之间的职责、责任和算法的分配。以下是一些常见的行为型设计模式:策略模式(StrategyPattern):定义一系列算法,将它们封装成独立的策略类,使得它们可以互相替换而不影响客户端。观察者模式(ObserverPattern):定义一种一对多的依赖关系,使得当一个对象的状态发生改变时,所有依赖于它的对象都会得到通知和自动更新。模板方法模式(Templ
- 设计模式-策略
ZjyMac
一,策略模式详解概念定义一系列的算法,把他们一个个封装起来,并且使他们可以相互替换,本模式使得算法可独立使用它的客户变化使用场景一个类中定义了多种行为,并且这些行为在这个类的方法中以多个条件语句的形式出现,那么可以使用策略模式避免在类中使用大量的条件语句UMLimage.png代码示例publicinterfaceAbstractStrategy{intcalculatePrice(intkm);
- 深度学习设计模式之策略模式
智航云科技
设计模式策略模式
文章目录前言一、介绍二、特点三、详细介绍1.核心组成2.代码示例3.优缺点优点缺点4.使用场景总结前言策略模式定义一系列算法,封装每个算法,并使它们可以互换。一、介绍策略模式(StrategyPattern)是一种行为型设计模式,它定义了一系列算法,并将每一个算法封装起来,使它们可以互换,算法的变化不会影响到使用算法的客户。二、特点算法封装:策略模式将算法封装在独立的策略类中,使得算法可以在运行时
- 工厂模式与策略模式的区别及其在Java中的应用
范范0825
策略模式javabash
工厂模式与策略模式的区别及其在Java中的应用1.引言在软件开发中,设计模式被广泛应用于解决各种常见问题,提高代码的可维护性、可扩展性和可读性。工厂模式(FactoryPattern)和策略模式(StrategyPattern)是两种非常重要的设计模式,它们解决了不同的设计问题,并且在许多情况下可以结合使用。本篇文章将详细讲解工厂模式和策略模式的概念、区别、在Java中的应用场景及其源码实现,帮助
- Jenkins使用Publish Over SSH插件远程部署程序到阿里云服务器
Joe192
jenkinsssh阿里云
前言使用Jenkins远程构建springboot服务到阿里云上,Jenkins版本:Version2.462.11、准备在可选插件中,搜索MavenIntegration,Gitlab和PublishOverSSH三个插件:如果需要多用户管理那就安装:Role-basedAuthorizationStrategy插件即可2、配置PublishOverSSH服务如果这块出现问题,请查看下面问题解决
- 数据采集高并发的架构应用
3golden
.net
问题的出发点:
最近公司为了发展需要,要扩大对用户的信息采集,每个用户的采集量估计约2W。如果用户量增加的话,将会大量照成采集量成3W倍的增长,但是又要满足日常业务需要,特别是指令要及时得到响应的频率次数远大于预期。
&n
- 不停止 MySQL 服务增加从库的两种方式
brotherlamp
linuxlinux视频linux资料linux教程linux自学
现在生产环境MySQL数据库是一主一从,由于业务量访问不断增大,故再增加一台从库。前提是不能影响线上业务使用,也就是说不能重启MySQL服务,为了避免出现其他情况,选择在网站访问量低峰期时间段操作。
一般在线增加从库有两种方式,一种是通过mysqldump备份主库,恢复到从库,mysqldump是逻辑备份,数据量大时,备份速度会很慢,锁表的时间也会很长。另一种是通过xtrabacku
- Quartz——SimpleTrigger触发器
eksliang
SimpleTriggerTriggerUtilsquartz
转载请出自出处:http://eksliang.iteye.com/blog/2208166 一.概述
SimpleTrigger触发器,当且仅需触发一次或者以固定时间间隔周期触发执行;
二.SimpleTrigger的构造函数
SimpleTrigger(String name, String group):通过该构造函数指定Trigger所属组和名称;
Simpl
- Informatica应用(1)
18289753290
sqlworkflowlookup组件Informatica
1.如果要在workflow中调用shell脚本有一个command组件,在里面设置shell的路径;调度wf可以右键出现schedule,现在用的是HP的tidal调度wf的执行。
2.designer里面的router类似于SSIS中的broadcast(多播组件);Reset_Workflow_Var:参数重置 (比如说我这个参数初始是1在workflow跑得过程中变成了3我要在结束时还要
- python 获取图片验证码中文字
酷的飞上天空
python
根据现成的开源项目 http://code.google.com/p/pytesser/改写
在window上用easy_install安装不上 看了下源码发现代码很少 于是就想自己改写一下
添加支持网络图片的直接解析
#coding:utf-8
#import sys
#reload(sys)
#sys.s
- AJAX
永夜-极光
Ajax
1.AJAX功能:动态更新页面,减少流量消耗,减轻服务器负担
2.代码结构:
<html>
<head>
<script type="text/javascript">
function loadXMLDoc()
{
.... AJAX script goes here ...
- 创业OR读研
随便小屋
创业
现在研一,有种想创业的想法,不知道该不该去实施。因为对于的我情况这两者是矛盾的,可能就是鱼与熊掌不能兼得。
研一的生活刚刚过去两个月,我们学校主要的是
- 需求做得好与坏直接关系着程序员生活质量
aijuans
IT 生活
这个故事还得从去年换工作的事情说起,由于自己不太喜欢第一家公司的环境我选择了换一份工作。去年九月份我入职现在的这家公司,专门从事金融业内软件的开发。十一月份我们整个项目组前往北京做现场开发,从此苦逼的日子开始了。
系统背景:五月份就有同事前往甲方了解需求一直到6月份,后续几个月也完
- 如何定义和区分高级软件开发工程师
aoyouzi
在软件开发领域,高级开发工程师通常是指那些编写代码超过 3 年的人。这些人可能会被放到领导的位置,但经常会产生非常糟糕的结果。Matt Briggs 是一名高级开发工程师兼 Scrum 管理员。他认为,单纯使用年限来划分开发人员存在问题,两个同样具有 10 年开发经验的开发人员可能大不相同。近日,他发表了一篇博文,根据开发者所能发挥的作用划分软件开发工程师的成长阶段。
初
- Servlet的请求与响应
百合不是茶
servletget提交java处理post提交
Servlet是tomcat中的一个重要组成,也是负责客户端和服务端的中介
1,Http的请求方式(get ,post);
客户端的请求一般都会都是Servlet来接受的,在接收之前怎么来确定是那种方式提交的,以及如何反馈,Servlet中有相应的方法, http的get方式 servlet就是都doGet(
- web.xml配置详解之listener
bijian1013
javaweb.xmllistener
一.定义
<listener>
<listen-class>com.myapp.MyListener</listen-class>
</listener>
二.作用 该元素用来注册一个监听器类。可以收到事件什么时候发生以及用什么作为响
- Web页面性能优化(yahoo技术)
Bill_chen
JavaScriptAjaxWebcssYahoo
1.尽可能的减少HTTP请求数 content
2.使用CDN server
3.添加Expires头(或者 Cache-control) server
4.Gzip 组件 server
5.把CSS样式放在页面的上方。 css
6.将脚本放在底部(包括内联的) javascript
7.避免在CSS中使用Expressions css
8.将javascript和css独立成外部文
- 【MongoDB学习笔记八】MongoDB游标、分页查询、查询结果排序
bit1129
mongodb
游标
游标,简单的说就是一个查询结果的指针。游标作为数据库的一个对象,使用它是包括
声明
打开
循环抓去一定数目的文档直到结果集中的所有文档已经抓取完
关闭游标
游标的基本用法,类似于JDBC的ResultSet(hasNext判断是否抓去完,next移动游标到下一条文档),在获取一个文档集时,可以提供一个类似JDBC的FetchSize
- ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 的解决方法
白糖_
ORA-12514
今天通过Oracle SQL*Plus连接远端服务器的时候提示“监听程序当前无法识别连接描述符中请求服务”,遂在网上找到了解决方案:
①打开Oracle服务器安装目录\NETWORK\ADMIN\listener.ora文件,你会看到如下信息:
# listener.ora Network Configuration File: D:\database\Oracle\net
- Eclipse 问题 A resource exists with a different case
bozch
eclipse
在使用Eclipse进行开发的时候,出现了如下的问题:
Description Resource Path Location TypeThe project was not built due to "A resource exists with a different case: '/SeenTaoImp_zhV2/bin/seentao'.&
- 编程之美-小飞的电梯调度算法
bylijinnan
编程之美
public class AptElevator {
/**
* 编程之美 小飞 电梯调度算法
* 在繁忙的时间,每次电梯从一层往上走时,我们只允许电梯停在其中的某一层。
* 所有乘客都从一楼上电梯,到达某层楼后,电梯听下来,所有乘客再从这里爬楼梯到自己的目的层。
* 在一楼时,每个乘客选择自己的目的层,电梯则自动计算出应停的楼层。
* 问:电梯停在哪
- SQL注入相关概念
chenbowen00
sqlWeb安全
SQL Injection:就是通过把SQL命令插入到Web表单递交或输入域名或页面请求的查询字符串,最终达到欺骗服务器执行恶意的SQL命令。
具体来说,它是利用现有应用程序,将(恶意)的SQL命令注入到后台数据库引擎执行的能力,它可以通过在Web表单中输入(恶意)SQL语句得到一个存在安全漏洞的网站上的数据库,而不是按照设计者意图去执行SQL语句。
首先让我们了解什么时候可能发生SQ
- [光与电]光子信号战防御原理
comsci
原理
无论是在战场上,还是在后方,敌人都有可能用光子信号对人体进行控制和攻击,那么采取什么样的防御方法,最简单,最有效呢?
我们这里有几个山寨的办法,可能有些作用,大家如果有兴趣可以去实验一下
根据光
- oracle 11g新特性:Pending Statistics
daizj
oracledbms_stats
oracle 11g新特性:Pending Statistics 转
从11g开始,表与索引的统计信息收集完毕后,可以选择收集的统信息立即发布,也可以选择使新收集的统计信息处于pending状态,待确定处于pending状态的统计信息是安全的,再使处于pending状态的统计信息发布,这样就会避免一些因为收集统计信息立即发布而导致SQL执行计划走错的灾难。
在 11g 之前的版本中,D
- 快速理解RequireJs
dengkane
jqueryrequirejs
RequireJs已经流行很久了,我们在项目中也打算使用它。它提供了以下功能:
声明不同js文件之间的依赖
可以按需、并行、延时载入js库
可以让我们的代码以模块化的方式组织
初看起来并不复杂。 在html中引入requirejs
在HTML中,添加这样的 <script> 标签:
<script src="/path/to
- C语言学习四流程控制if条件选择、for循环和强制类型转换
dcj3sjt126com
c
# include <stdio.h>
int main(void)
{
int i, j;
scanf("%d %d", &i, &j);
if (i > j)
printf("i大于j\n");
else
printf("i小于j\n");
retu
- dictionary的使用要注意
dcj3sjt126com
IO
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
user.user_id , @"id",
user.username , @"username",
- Android 中的资源访问(Resource)
finally_m
xmlandroidStringdrawablecolor
简单的说,Android中的资源是指非代码部分。例如,在我们的Android程序中要使用一些图片来设置界面,要使用一些音频文件来设置铃声,要使用一些动画来显示特效,要使用一些字符串来显示提示信息。那么,这些图片、音频、动画和字符串等叫做Android中的资源文件。
在Eclipse创建的工程中,我们可以看到res和assets两个文件夹,是用来保存资源文件的,在assets中保存的一般是原生
- Spring使用Cache、整合Ehcache
234390216
springcacheehcache@Cacheable
Spring使用Cache
从3.1开始,Spring引入了对Cache的支持。其使用方法和原理都类似于Spring对事务管理的支持。Spring Cache是作用在方法上的,其核心思想是这样的:当我们在调用一个缓存方法时会把该方法参数和返回结果作为一个键值对存放在缓存中,等到下次利用同样的
- 当druid遇上oracle blob(clob)
jackyrong
oracle
http://blog.csdn.net/renfufei/article/details/44887371
众所周知,Oracle有很多坑, 所以才有了去IOE。
在使用Druid做数据库连接池后,其实偶尔也会碰到小坑,这就是使用开源项目所必须去填平的。【如果使用不开源的产品,那就不是坑,而是陷阱了,你都不知道怎么去填坑】
用Druid连接池,通过JDBC往Oracle数据库的
- easyui datagrid pagination获得分页页码、总页数等信息
ldzyz007
var grid = $('#datagrid');
var options = grid.datagrid('getPager').data("pagination").options;
var curr = options.pageNumber;
var total = options.total;
var max =
- 浅析awk里的数组
nigelzeng
二维数组array数组awk
awk绝对是文本处理中的神器,它本身也是一门编程语言,还有许多功能本人没有使用到。这篇文章就单单针对awk里的数组来进行讨论,如何利用数组来帮助完成文本分析。
有这么一组数据:
abcd,91#31#2012-12-31 11:24:00
case_a,136#19#2012-12-31 11:24:00
case_a,136#23#2012-12-31 1
- 搭建 CentOS 6 服务器(6) - TigerVNC
rensanning
centos
安装GNOME桌面环境
# yum groupinstall "X Window System" "Desktop"
安装TigerVNC
# yum -y install tigervnc-server tigervnc
启动VNC服务
# /etc/init.d/vncserver restart
# vncser
- Spring 数据库连接整理
tomcat_oracle
springbeanjdbc
1、数据库连接jdbc.properties配置详解 jdbc.url=jdbc:hsqldb:hsql://localhost/xdb jdbc.username=sa jdbc.password= jdbc.driver=不同的数据库厂商驱动,此处不一一列举 接下来,详细配置代码如下:
Spring连接池  
- Dom4J解析使用xpath java.lang.NoClassDefFoundError: org/jaxen/JaxenException异常
xp9802
用Dom4J解析xml,以前没注意,今天使用dom4j包解析xml时在xpath使用处报错
异常栈:java.lang.NoClassDefFoundError: org/jaxen/JaxenException异常
导入包 jaxen-1.1-beta-6.jar 解决;
&nb