??
IntentService is a base class for Services
that handle asynchronous requests (expressed as Intents)
on demand. Clients send requests through startService(Intent) calls;
the service is starte...
分类:
其他好文 时间:
2014-06-05 03:03:46
阅读次数:
262
今天在centOS下装mysql时出现了一个错误:
解决方案就是如图所示kill 4734 kill 4839
最后再执行[root@localhost src]# service mysql start就可以了...
分类:
数据库 时间:
2014-06-05 02:03:02
阅读次数:
409
有三个步骤
1.讲searchd进程写成一个服务,不然每次调用都要打开这个进程很麻烦。
g:\service\coreseek\bin\searchd --install --config g:/service/coreseek/etc/csft_mysql.conf --servicename Coreseek
同样的万变不离其宗还是跟配置文件有关系
一个参数是你searchd的路径...
1,建索引很简单,一行代码
g:/service/coreseek/bin/indexer -c g:/service/coreseek/etc/csft_mysql.conf person
前面是你bin目录下的indexer程序 后面-c指后面会跟配置文件 然后是配置文件地址 最好都用绝对地址 在后面是索引 也可以用--all 即对配置文件的所有部分都做索引
然后写成一个批处理文...
分类:
其他好文 时间:
2014-06-04 23:22:13
阅读次数:
256
红色字体部分为关键,其他都是浮云。。
/**
*
* 由于该Service用于多线程下载文件,需要确保原子性,一直处理一个DownLoadFilePO对象
*
* detailed comment
* @see
* @since 1.0
*/
public class DownLoadService extends Service {
p...
分类:
其他好文 时间:
2014-06-04 22:03:23
阅读次数:
423
XFire创建WebService实例应用
XFire使得在JavaEE应用中发布Web服务变得轻而易举。和其他Web服务引擎相比,
XFire的配置非常简单,可以非常容易地和Spring集成。
下载地址:http://xfire.codehaus.org/Download。
一. 使用XFire发布WebService
1. 创建service接...
分类:
Web程序 时间:
2014-06-03 04:51:48
阅读次数:
307
Google Player Service replace GoogleAdMobAdsSdk-6.4.1, new method to add admob for android application....
分类:
其他好文 时间:
2014-06-03 01:49:10
阅读次数:
384
Reactor模式和NIO
本文可看成是对Doug Lea Scalable IO in Java一文的翻译。
当前分布式计算 Web Services盛行天下,这些网络服务的底层都离不开对socket的操作。他们都有一个共同的结构:
1. Read request
2. Decode request
3. Process service
4. Encode reply
5. S...
分类:
其他好文 时间:
2014-06-02 23:14:47
阅读次数:
356
OO(ObjectOriented,面向对象),用一张图表示OO进行系统开发的特性:
SO(Service-Oriented,面向服务),用一张图表示SO系统开发与运行的特性:
通过这两图的对比,如果抽象一点来说的话,这两张图其实都是...
分类:
其他好文 时间:
2014-05-31 22:37:18
阅读次数:
567
无法向会话状态服务器发出会话状态请求。请确保 ASP.NET State Service
(ASP.NET 状态服务)已启动,并且客户端端口与服务器端口相同。如果服务器位于远程计算机上,请检查
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\...
分类:
其他好文 时间:
2014-05-31 18:34:17
阅读次数:
222