首页

搜索结果

"tag:"java""

<<上篇 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 下篇>>

标题及摘要 日期/时间
61
【3】Hadoop中常出现的错误以及解决方法 - 数据库 - Tech - ITeye论坛
1:Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out Answer: 程序里面需要打开多个文件,进行分析,系统一般默认数量是1024,(用ulimit -a可以看到)对于正常使用是够了,但是对于程序来讲,就太少了。 修改办法: 修改2个文件。 /etc/security/limits.conf vi /etc/security/limits.conf 加上: * soft nofile 102400 * hard nofile 4...
2014-11-28
1:31:00
62
从HTML文件中抽取正文的简单方案 试验结果 - hzxdark - ITeye技术网站
一、 简介 本文是根据alexjc的The Easy Way to Extract Useful Text from Arbitrary HTML一文进行实验的结果。原文见: http://ai-depot.com/articles/the-easy-way-to-extract-useful-text-from-arbitrary-html/ ——alexjc原文 http://blog.csdn.net/lanphaday/archive/2007/08/13/1741185...
2014-11-26
18:42:00
63
Fix Memory Leaks in Java Production Applications - Dynatrace APM Blog
Adding more memory to your JVMs (Java Virtual Machines) might be a temporary solution to fixing memory leaks in Java applications, but it for sure won’t fix the root cause of the issue. Instead of crashing once per day it may just crash every other ...
2014-11-24
17:18:00
64
Metrics 1.3.6
Metrics是一个十分强大的分析工具,主要分析代码的复杂性。同时可以统计如包的依赖性、代码的有效行数、方法的有效行数、包的数量、属性的数量等等。 Run Eclipse, go to Help menu - Software Updates - Find and Install ... On the opening dialog choose Search for new features to install. Add a new Remote site with the following url...
2014-10-21
18:04:00
65
java版的Metric工具介绍-hustfxj-ChinaUnix博客
Metrics是一个给JAVA服务的各项指标提供度量工具的包,在JAVA代码中嵌入Metrics代码,可以方便的对业务代码的各个指标进行监控,同时,Metrics能够很好的跟Ganlia、Graphite结合,方便的提供图形化接口。基本使用方式直接将core包(目前稳定版本3.0.1)导入pom文件...
2014-10-21
18:01:00
66
OpenCard Framework
The OpenCard Framework (OCF) is a smart card middleware implemented in Java. The framework allows a smart card aware application to access contact and contactless cards that implement commands using Application Protocol Data Units (APDUs) as defined by IS...
2014-9-22
18:52:00
67
Quickest way to convert XML to JSON in Java - Stack Overflow
TheJSON in Javapage on json.org has some great resources. Looks like XML.java and JSONML.java are the classes you're looking for: public class Main { public static int PRETTY_PRINT_INDENT_FACTOR = 4; public static String TEST_XML_STRING = ...
2014-9-12
20:18:00
68
SiteMesh工作原理 - George.Le的个人页面 - 开源中国社区
总的来说,SiteMesh就是用来让你脱离jsp:include/标签的苦海的,它会为你自动地添加页头、脚注或者导航栏。公司里总会有人问我:你是怎么看源码的?而我总是告诉他们:如果你在高中阶段不是填鸭式学习的话,你应该会知道怎么看源码。他们总是一脸疑惑的看着我。事实上,我看源码是基于“猜...
2014-9-11
18:17:00
69
大数据处理系列之(一)Java线程池使用 - cstar(小乐) - 博客园
ThreadPoolExecutor有界队列使用 public class ThreadPool { private final static String poolName = "mypool"; static private ThreadPool threadFixedPool = null; public ArrayBlockingQueueRunnable queue = new ArrayBlockingQueueRunnable(2); private Execut...
2014-8-29
3:16:00
70
Web services performance tuning - jboss web services - JBoss application server tutorials
web service performance tip #1 Use coarse grained web services One of the biggest mistakes that many developers make when approaching web services is defining operations and messages that are too fine-grained. By doing so, developers usually define more t...
2014-8-20
1:22:00
71
Analyzing Thread Dumps in Middleware - Part 2
This posting is the second section in the seriesAnalyzing Thread Dumps in Middleware This section details with when, how to capture and analyze thread dumps with special focus on WebLogic Application Server related thread dumps. Subsequent sections will ...
2014-8-18
23:04:00
72
Analyzing Thread Dumps in Middleware - Part 1
This posting deals with analysis of Thread dumps, for improving Middleware Performance (at App Server or Application level) as well as for general troubleshooting. It will also go into details of WebLogic Application Server specific Thread Dump Analysi...
2014-8-18
23:03:00
73
Dubbo架构设计详解 | 简单之美
Dubbo是Alibaba开源的分布式服务框架,它最大的特点是按照分层的方式来架构,使用这种方式可以使各个层之间解耦合(或者最大限度地松耦合)。从服务模型的角度来看,Dubbo采用的是一种非常简单的模型,要么是提供方提供服务,要么是消费方消费服务,所以基于这一点可以抽象出服务提供方(Provider...
2014-8-17
21:30:00
74
dubbo 分布式服务框架安装
dubbo 分布式服务框架安装,windows安装自行切换命令。以下步骤在win7下验证成功。 0. Install the git and maven command line: yum install git or: apt-get install git cd ~ wget http://www.apache.org/dist//maven/binaries/apache-maven-2.2.1-bin.tar.gz tar zxvf apache-ma...
2014-8-17
21:17:00
75
ActiveMq生产者流量控制(Producer Flow Control)_驯咆贸祷_新浪博客
在ActiveMQ5.0版本中,我们可以分别对一个共享连接上的各个生产者进行流量控制,而不需要挂起整个连接。“流量控制”意味着当代理(broker)检测到目标(destination)的内存,或temp-或file-store超过了限制,消息的流量可以被减慢。生产者将会被阻塞...
2014-8-11
17:55:00
76
使用jmeter对activemq进行压力测试的方法 - 123864643的日志 - 网易博客
使用JMETER对activemq机器进行压力测试的方法 1.复制ActiveMQ包和其依赖包到Jmeter的lib目录下 ./activemq-all-5.7.0.jar ./lib/optional/log4j-1.2.17.jar ./lib/slf4j-api-1.6.6.jar ./lib/optional/slf4j-log4j12-1.6.6.jar JMeter在测试时使用了JNDI,为了提供JNDI提供者的信息,需要提供jndi.properties。同时需要将jndi.properti...
2014-8-10
0:41:00
77
ActiveMq性能优化 - 王 庆 - 博客园
对性能影响很大的因素: 消息是否持久,非持久消息快10倍 消息是否异步,异步消息快10倍,点对点消息默认同步,采用异步需要设置brokerURL为: tcp://localhost:61616?jms.useAsyncSend=true ActiveMq运行是比较稳定的,数据的吞吐速度也很高,如果...
2014-8-9
23:10:00
78
关于 Jms Topic 持久订阅 - Bory.Chan
息中间件的 Topic 机制,一般情况下没有保存消息。一没连接,再次连接时不会收到失去连接期间的消息。这种机制在对消息可丢失的场景应用好。当然消息中间件都有保存消息的功能。Jms 规范里定义了 DurableSubscriber。 Jms 规范中的关于持久化订阅的一小段 非持久化订阅持续到它们订阅对象的生命周期。这意味着,客户端只能在订阅者活动 时看到相关主题发布的消息。如果订阅者不活动,它会错过相关主题的消息。 如果花费较大的开销,订阅者可以被定义为durable(持久化的)。持久...
2014-8-9
1:17:00
79
Spring整合JMS(二)——三种消息监听器 - 好好学习,天天向上 - ITeye技术网站
消息监听器MessageListener 在Spring整合JMS的应用中我们在定义消息监听器的时候一共可以定义三种类型的消息监听器,分别是MessageListener、SessionAwareMessageListener和MessageListenerAdapter。下面就分别来介绍一下这几种类型的区别。 1.3.1MessageListener MessageListener是最原始的消息监听器,它是JMS规范中定义的一个接口。其中定义了一个用于处理接收到的消息的onMessage方法,该方法只接...
2014-8-6
20:44:00
80
Synchronous Request Response with ActiveMQ and Spring | CodeDependents
Request Response with JMS ActiveMQ documentation actually has a pretty good overview ofhow request-responsesemanticswork in JMS. You might think at first that to implement request-response type operations in JMS that you should create a new consumer with ...
2014-8-6
1:55:00

<<上篇 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 下篇>>