自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

郝文浩的专栏

天蓝蓝,水悠悠,青草绿绿风清扬

  • 博客(21)
  • 收藏
  • 关注

原创 spring-cloud-starter-alibaba-nacos-discovery

目录代码结构 重要的类代码结构

2021-09-18 18:07:54 1743

原创 Scala : Map的过滤

Scala : Map的过滤

2017-04-17 01:05:22 2422 1

原创 java性能测试,追踪,优化Eclipse 插件系列之 TPTP for Galileo 3.5.x

Eclipse 3.5.x版本适用Install TPTP 4.6.0 using the Galileo update siteGalileo is the Eclipse simultaneous release in 2009. It includes TPTP 4.6.0 and all of its dependencies. The Galileo update site

2012-11-23 14:24:22 803

原创 javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out

Once you encounter the error as title , you are considering how to set the time out for the webservice client .The senario is JAX-WS type in webservice .    The java.net.HTTPURLConnection is used

2011-06-07 18:23:00 5478 1

原创 How to transform a pdf file from database@server side to client ?

<br />   Requirements :  Client calls the webservice or EJB to get the pdf file stored in database @ server side .<br />   In my case , the pdf is stored in oralce database as Blob .The first step is to get the byte[] of the pdf file .It's not a problem. A

2011-05-26 14:03:00 879

原创 Moving database : Transform schema by using toad (一)

     If you want to move a database from one server to another , there are some ways to go . The way I follow is to transform the users to another database . I use the utility wizard in toad to complete this mission.      Now assume that I have a database

2010-12-19 22:55:00 718

原创 ( 二) SVN Server Setup in Solaris 10(X86)

<br />The last time . apache2 works well . <br />But today it's not so lucky for me . When I check the svn dependency lib ,I got the the error <br />====>>libintl.so.8 (Not found) .Later I found that I forgot to install the libintl-3.4.0-sol10-x86-local.gz

2010-12-16 03:01:00 664

原创 ( 一 ) SVN Server Setup in Solaris 10(X86)

<br />    Firstly,go to  http://www.sunfreeware.com to find out the relavent software for you soalris. Mine is x86. Click the subversion link to see the below page .      subversion-1.6.12-sol10-x86-local.gz <br /> <br /> <br />     Down load the softwares

2010-12-09 00:46:00 1104

原创 VMWare tools for Solaris 10

       网上的文章都差不多,说是mount iso文件(solaris.iso ,我的是在vm安装目录下)后可以在/cdrom/vmwaretools 下找到安装文件,但是我用vm6.0  mount iso后确得到一个空文件夹,幸运的是之前用vm7.0成功安装vmware tools,在vm7.0中,reinstall vmware tools之后,在 /cdrom/vmwaretools下找到了安装文件,然后拷贝到vm6.0中,进行安装。有了这个安装文件问题就解决了,按照网上的说法,进行安装就ok

2010-11-02 23:44:00 2380

原创 Solaris 10(x86)安装 weblogic 10

<br />    下载了文件wls1032_solaris32.bin,然后到#./wls1032_solaris32.bin,发现有error.并不是没有执行权限,后来执行,#file  wls1032_solaris32.bin ,输出为  wls1032_solaris32.bin:  ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped。 居然是SPARC版本,而#uname -a 之后发现如下提示,SunO

2010-09-23 22:41:00 1201

原创 Digester解析XML的一个列子

    关于Digester的原理这里就不阐述了,感兴趣的可以网上去查找。这里只是记录一个例子。    如果有这样的需求,客户要上传excel文件到Server,Server端需要验证这个excel的格式是否符合指定的格式(表格的column数量以及column name是否符合指定格式)。格式存储在XML文件中,并且以id作为标识,如下。f001编号姓名年龄职位收入f002编号

2010-09-20 23:17:00 855

原创 Solaris 10 安装 JDK1.6

Step 1 : download the jdk from http://java.sun.com/javase/downloads/index.jsp ,mine is jdk-6u21-solaris-i586.tar.Z Step 2 : Assume that  the jdk is put in folder located /usr/downloads.Go to /usr/downloads.           unpackage the file   #zcat jdk-6u21-sol

2010-09-16 23:30:00 2322

原创 Solaris 10 学习笔记step by step(一)

Module 2UsingCommand-LineFeatures and Online Help ResourcesObjectivesThis module describes how to use the command-line syntax and displaythe online manual pages.Upon completion of this module, you should be able to:1.Construct and execute commands from the

2010-09-16 21:30:00 463

原创 PL/SQL 一个简单游标的使用

<br /> 从HELP表中获取每一行数据集,进行输出处理。<br /> 这里给出2种简单的方法 : <br /> <br />create or replace PROCEDURE PROCEDURE3 AS TOPIC HELP.TOPIC%TYPE; -- SEQ HELP.SEQ%TYPE; -- 1. DEFINE VARIABLES %TYPE is used to INFO HELP.INFO%TYPE; -- define data type o

2010-09-13 23:16:00 453

原创 一个简单而标准的PL/SQL

<br /> set SERVEROUTPUT on //打开服务器输出功能 DECLARE //first block v_width INTEGER; //define the width v_height INTEGER := 2; //init the height v_area INTEGER := 6; //init the area BEGIN //second block v_width :=

2010-09-09 23:29:00 553

原创 JS面向对象的基础(四)

<br />   JavaScript反射机制的直接用途是获得js对象内部的成员属性及其value值。语法为 : <mce:script type="text/javascript"><!-- var obj = {name:'kenneth',age:20}; for(var p in obj){ alert('property name is ' + p); alert('value is '+ obj[p]); }// --></mce:script><br /> <br

2010-09-08 21:57:00 457

转载 程序员平庸or伟大,证据就在代码里

<br />导读:许多公司招聘程序员,相比程序员的技术水平,他们更看重程序员的沟通与协作能力。然而,笔者却提出了相反的看法。到底怎样评价一个程序员是平庸还是伟大?还是让代码来说话吧。<br />全文如下:<br />招聘一个程序员,唯一对你有意义的是他能写出好程序的能力。很少人像这样去招人,他们更喜欢去挑剔程序员的个人癖好和性格缺点。<br />我一说出这样的话,人们大量的评论就会批评道:你错了,错了,完全的错了。好的程序员需要具备沟通交流的技能,他们要有跟他人一起合作的能力。团队里不止你一个人!事实上,人

2010-08-31 23:31:00 412

原创 JS面向对象的基础(三)

<br />   上节记录了自定义函数(类)的prototype的一些操作,使得自定义函数(类)能够通过prototype原型对象增加对象的属性和方法。那么是否可以通过prototype原型对象的操作,来实现对内置对象的属性以及方法进行修改呢?<br /> 在JavaScript中,有很多内置对象:如 Function,  Object , Array , Date , RegExp ,Math ,Error 。通过prototype原型对象的操作,可以对这些内置对象进行二次封装。<br />   任何一个

2010-08-31 23:17:00 486

原创 JS面向对象的基础(二)

<br />     在Design Patten For Java中,关于Prototype原型对象的设计需求是这样的。<br />The Prototype Pattern copies or clones an existing class rather than creating a new instance when creating new instances is more expensive.<br />     当创建类的实例,如果需要花费较多的时间或者创建方式上较为复杂,这个时候可以考虑

2010-08-24 00:40:00 443

原创 Socket编程基础范例

<br />   socket 通讯简单的说,就是服务器监听端口,客户端根据服务器地址和端口发出请求,服务器处理请求后返回数据给客户端。比如说,需要开发一个简单的qq聊天室,客户端发出各种请求,加好友,发消息,网络视屏等等。服务器进过处理后,可以将消息进行转发给不同的客户端。<br />   以下范例的目的是,从客户端发送数据,请求服务器执行指定方法,并且返回结果给客户端。 此范例一共包含3个java类。<br />  <br />   首先给出我们的数据传输对象,Message类。<br />   pac

2010-08-20 17:28:00 666

原创 JS面向对象的基础(一)

<br />     JavaScript中定义一个类,也就是一个函数.<br /> function class1(){ //类成员定义以及构造函数 this.name = 'kenneth'; //公共成员属性 this.age = 20; //公共成员属性 var secret = 'secret'; //私有成员属性 function

2010-08-19 23:36:00 448

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除