ITeye博客

2011 年文章归档

共 54 篇文章

php入门

php入门环境搭建(win xp && win 7) 很不错的。。 环境搭建及软件下载 http://www.webjx.com/php/php_2007_12_18_2226_4.html http://wenku.baidu.com/view/c6118b1810a6f524ccbf85f9.html http://v.youku.com/v_show/id_XMjg4MDY1OTE2.html 安装软件 http://cn2.php.net/get/php-5.2.17.tar.bz2/from/a/mirror http://www.appservnetwork.com/ (下载集成…

2011-11-29 22:36

java keytool 使用总结(转)

http://hi.baidu.com/%B0%D7%D4%C6%D2%BB%C2%C6/blog/item/aae0b1c2d3f73e010ff4771c.html Keytool是一个Java数据证书的管理工具 ,Keytool将密钥(key)和证书(certificates)存在一个称为keystore的文件中在keystore里,包含两种数据: 密钥实体(Key entity)——密钥(secret key)又或者是私钥和配对公钥(采用非对称加密) 可信任的证书实体(trusted certificate entries)——只包含公钥 ailas(别名)每个keystore都关联…

2011-11-11 11:38

could not find the main class, Program will exit(已解决)

@(报错)could not find the main class, Program will exit(已解决) 2010-04-12 20:59:43|分类: 电脑 |标签: myeclipse |字号大中小 订阅 (很抱歉,如果你希望能更加清楚地看清图片或是图上的文字的话,你可以按住ctrl不动,然后向上滚动鼠标的滚轮。要改变回来同理向下滚动即可、) -------------------------------------------------------------------- 今天2011.4.20: 这篇文章是我刚接触myeclipse的时候写的,一年过去了,感觉自己成熟…

2011-11-10 11:25

EMS6.0配置存储到数据库过程中遇到的问题

配置过程: 1 Enable the database store feature in the tibemsd.conf by setting the parameters 2 Setup and configure stores in the stores.conf file 3 Associate destinations with the configured stores. 4 Export database tables (具体过程参见user guide和sample--config--tibemsd-db.conf) 具体文件: tibemsd.conf: dbstore_c…

2011-11-09 11:12

Eclipse3.6.1 && Myeclipse6.5反编译插件的安装

在IDE中反编译插件益处多多,这个想必都已经知道。在安装过程中走了点弯路,不过现在搞定,现在把经验和大家分享一下。 MyEclipse6.5的插件安装参考了好多文件,弄的我都无语了。竟然犯了一个低级的错误,就是下载最新的jadClipse.jar包,包放置的位置是 (C:\Program Files\MyEclipse 6.5\eclipse\plugins)其它步骤是一样的。 Eclipse3.6.1中的安装: 一、下载插件: JAD : http://www.kpdus.com/jad.html#download(选择与操作系统对应的版本) JadClipse:http://source…

2011-11-08 14:06

浅谈利用jspsmart实现文件上传下载(转)

浅谈利用jspsmart实现文件上传下载 http://developer.51cto.com/art/200907/134497.htm

2011-10-31 18:30

ssl && https

SSL(Secure Sockets Layer 安全套接层),及其继任者传输层安全(Transport Layer Security,TLS)是为网络通信提供安全及数据完整性的一种安全协议。TLS与SSL在传输层对网络连接进行加密。 SL协议提供的服务主要有: 1)认证用户和服务器,确保数据发送到正确的客户机和服务器; 2)加密数据以防止数据中途被窃取; 3)维护数据的完整性,确保数据在传输过程中不被改变。 服务器认证阶段:1) 客户端 向服务器发送一个开始信息“Hello”以便开始一个新的会话连接;2)服务器根据客户的信息确定是否需要生成新的主密钥,如需要则服务器在响应客户的“Hello…

2011-10-27 10:01

Overview of Web Services

An organization can offer its application services to other organization by using the standards-based model of web services. Web services can be used within a business to integrate various critical applications, or web services can be made available to other businesses or individuals. Web services …

2011-10-24 16:10

Tibco designer questions and answers

TIBCO Designer Q: Why can't we edit the Domain and Deplyoment GLOBAL VARIABLES though they are in editable mode? A: Users should not be manually modifying the Global Variables, Domain and Deplyoment, either using Designer or using any other tools. These Global Variables are used for Business Works …

2011-10-12 11:13

TIBCO adapter for database(三表同步)

三表同步过程: 报错: 报错: Subscription error. Subscription service INFMASTER1_SUB failed to deserialize the event received on subject ADB. INFMASTER and SDK exception thrown is Code = AESDKC-0087, Category = Metadata, Severity = errorRole, Description = Class 原因: 包一中没有包含包二,三的描述文件,表一在插入数据发送主题时按一的描述发送,表二,三在接收时…

2011-10-10 16:08

some tibco error

Error one:========== Error: FA initialization starting at 2011-10-10T11:25:09 Startup error. SDK Error: JMS Error: Failed to create Jms Subscriber ExitSubscriberJMS : Invalid destination. The error occurred on starting the adapter after initialization. The Repository URL is C:\TEMP\AT_adfiles_41248…

2011-10-10 15:58

DBError: Database driver code: HYC00

Hi Everyone, I am trying to test my ADB in designer. It's connecting to an Oracle XE database. I have tried both the Oracle and the TIBCO/DataDirect driver and no luck. When I run the ADB through the adapter tester I get the following: ****************the sulotion: Verify the DSN optional feature..…

2011-09-30 17:11

Products introduce about Tibco(wikipedia)

TIBCO's products focus on fulfilling the company's vision for "Enterprise 3.0," [4] in which technology delivers the right information in the right place at the right time with the right context, giving businesses and organizations a significant advantage in serving their customers and managing the…

2011-09-27 13:37

jsp乱码问题

java中文乱码 http://www.cnblogs.com/yechensi/archive/2009/09/08/1562208.html 解决乱码问题一: js-- var url = "/Prj2-1struts/AJAXServer?name=" + encodeURI($("#name").val()); servlet-- String name = new String(reqest.getParameter("name").getBytes("ISO-8859-1"),"UTF-8"); //由服务器决定是否为"ISO-8859-1" 解决乱码问题二: js-- var …

2011-09-05 14:50

Error creating bean with name 'org.springframework.context.annotation.internalRequiredAnnotationProc

异常信息: xml 文件配置注解时报错 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanC…

2011-08-28 09:45

一些面试题

1、如何编写java管道程序,给出实例及应用。 2、文件的分割与合并。( http://www.knowsky.com/368018.html ) 3、TCP与UDP的区别? package com.interview01; import java.io.*; import util.P; public class PipedStreamTest { //分别用两个线程来读取,避免了出现死锁 public static void main(String[] args) { Sender sender = new Sender(); Receiver receiver = new Receiv…

2011-08-11 16:15

再谈“我是怎么招骋程序员的”

再谈“我是怎么招骋程序员的” 这是一篇很不错的关于面试的文章,他从一个侧面也告诉面试者应当怎么做。最难得的是对IT这个行业的"掘金者"提出了很多中肯的警示和经验。 http://www.20ju.com/content/V167371.htm

2011-08-11 15:49

面试题“赛马”

题目: 一共有25匹马,有一个赛场,赛场有5个赛道,就是说最多同时可以有5匹马一起比赛。假设每匹马都跑的很稳定,不用任何其他工具,只通过马与马之间的比赛,试问,最少得比多少场才能知道跑得最快的5匹马? 思考:这些马只有都进行比赛,才能比出哪匹是跑的最快的。如何都参赛,只有5个赛道各5匹马了,每组有排名,第一再比。这是最笨的各自冒泡,每组第一再冒泡。(看原 文得来) 对于原文后面的分析,没太看懂,用淘汰的方法减少对比的次数。原文中说从上到下是由快到慢,不知道这个怎么得来的,为什么第一次会淘汰掉那些马? 明白的给说明一下,谢谢。 参考文章: http://www.20ju.com/content…

2011-08-11 15:25

面试题“火车运煤”

题目: 你是山西的一个煤老板,你在矿区开采了有3000吨煤需要运送到市场上去卖,从你的矿区到市场有1000公里,你手里有一列烧煤的火车,这个火车最多只能装1000吨煤,且其能耗比较大——每一公里需要耗一吨煤。请问,作为一个懂编程的煤老板的你,你会怎么运送才能运最多的煤到集市? 思考:画个草图。 思路一:没解,1000公里,火车上限也只能拉1000吨,到地也没了。第一反应。 思路二:只要思考就是好事,1000公里3000吨煤。 情况一,第一次拉一千,到目的地后没有剩余,不行。 情况二,拉一千走500公里再回来,那更惨,最多也就走500公里。 情况三,拉一千走400,在400公里处放下200,再…

2011-08-11 15:04

程序员需要牢记的一点

对于一个程序员,需要学习的知识很多,但有一点感觉是需要牢记的: 用尽一切办法了解自己所做的,包括业务和技术,那你会在这个阶段做到你想要的。 很多程序员在某个阶段会感觉自己要学的东西真是太多了,自己不会的东西也太多了,去csdn去转一圈又感叹技术更新的太快了。然而相比起自己的时间来说,这还不算快。我个人不提倡把所有的知识都要掌握,但对于我们有兴趣的,当下就要用到的,项目里会涉及到的,我们都要尽自己十份的努力去学。在适当的阶段用“趁热打铁”的兴趣去迫使自己学习,那你在这行就会做的更大更强。有人会问,要学习到什么程度?最近找到了一个比较好的例子,就是去IBM develper转一圈,看看人家是怎样…

2011-08-11 14:32