- 浏览: 103609 次
- 性别:
- 来自: 深圳
最新评论
-
chifanbua:
我基本上在iteye上很少留言的 不过你的这个写的确实不错 用 ...
Oracle decode函数说明 -
shaoxuexue86:
谢谢啊
RMI 开发步骤 -
huxiaojun_198213:
RMIRegistHelper只是负责注册远程对象,与客户端所 ...
RMI 开发步骤 -
shaoxuexue86:
请问客户端程序ClientTest 与 RMIRegistHe ...
RMI 开发步骤 -
huxiaojun_198213:
本章节可能有一些细节方面翻译得不是很好,有出入的地方,还请各 ...
RMI动态类加载
文章列表
$HADOOP_INSTALL/hadoop/conf文件夹包含Hadoop的相关配置文件.它们是:
hadoop-env.sh - 此文件包含运行Hadoop的环境变量.可以使用这些配置来改变Hadoop后台线程的行为.比如:修改日志文件的存储位置,以及Hadoop可以使用的最大堆数量等.此文件中唯一需要修改的变量是JAVA_HOME,以用来指定JDK的安装目录.
slaves - 此文件用于配置运行Hadoop slave daemons(datanodes和tasktrackers)的主机,每行一个主机.缺省情况下,此文件只包含一个localhost条目.
hadoop-defaul ...
$HADOOP_INSTALL/hadoop/bin目录包含一些运行Hadoop DFS和Map/Reduce的后台线程。它们是:
start-dfs.sh - 用于启动HadoopDFS的后台线程,namenode,datanodes.执行start-mapred.sh脚本前,须先执行此脚本.
stop-dfs.sh - 停止Hadoop DFS后台线程.
start-mapred.sh - 用于启动Hadoop Map/Reduce后台线程,jobtracker和tasktrackers.
stop-mapred.sh - Stops the Hadoop Map/Reduce da ...
Apache Hadoop官网
Hadoop适用的Jave运行时环境
Hadoop中的重要概念
windows下使用Eclipse开发Hadoop
Running Hadoop on Ubuntu Linux (Single-Node Cluster)
Running Hadoop on Ubuntu Linux (Multi-Node Cluster)
Yahoo! Hadoop Tutoria
This article shows how to integrate JSF2, PrimeFaces3, Spring3 and Hibernate4 Technologies. It provides a general project template for Java developers.
Also if Spring is not used for Business and Data Access layer, JSF –PrimeFaces & Hibernate Integration Project can be offered.
Used Technolog ...
In this tutorial, we will show you how to integrate JSF 2.0 with Spring 3 using :
1.JSF XML faces-config.xml
2.Spring annotations
3.JSR-330 standard injection
Tools and technologies used :
1.JSF 2.1.13
2.Spring 3.1.2.RELEASE
3.Maven 3
4.Eclipse 4.2
5.Tomcat 6 or 7
1. Directory Structure
A standard ...
primefaces cook book 源代码分享
Full Web Application Tomcat JSF Primefaces JPA Hibernate – Part 2
This post continues from part 1 of this tutorial.
In the “com.mb” package you will need to create the classes bellow:
package com.mb;
import org.primefaces.context.RequestContext;
import com.util.JSFMessageUtil;
public cl ...
Full Web Application Tomcat JSF Primefaces JPA Hibernate – Part 1
We created this post that will show how to create a full web application using the following tools: Tomcat7, JSF2 (Facelets and Libraries) with Primefaces (with AutoComplete), JPA / Hibernate (with a relationship NxN), Login with Filt ...
导出数据库表结构到csv,word
package com.app.common.util.word;
import com.jacob.activeX.*;
import com.jacob.com.*;
/**
* Microsoft Word工具类,使用jacob实现(须将相应的dll拷贝到%JAVA_HOME%/BIN下)
* @author Administrator
*
*/
public class MSWordManager {
//word 文档
private Dispatch doc;
//word运行程序对象
priv ...
使用Apache Commons Compress进行文件压缩
package com.app.common.util.zip;
import java.io.*;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
import org.apache.commons.compress.utils.IOUtils;
/**
* 文件压缩抽象 ...
使用Apache Commons Compress进行文件解压
package com.app.common.util.zip;
import java.io.*;
import java.util.Enumeration;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
import org.apache.commons.compress.archivers.zip.ZipFile;
/**
* 抽象文件解压类
* @author Administrator
*
*/
...
Lazy JSF Primefaces Datatable Pagination – Part 2
The page code is very simple and there is no complication. Check the “index.xhtml” code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html x ...
Lazy JSF Primefaces Datatable Pagination – Part 1
Today we will do JSF datatable pagination with a Lazy List with a view scoped managed bean. What all those words/expressions mean?
There are several JSF frameworks today that provide datatables with a ready pagination, columns sorter and others func ...
经常我老婆让我帮她从她的手机导出图片,为了避免下次再打搅我玩游戏,索性动手写了一段程序.以下程序有重复造轮子之嫌(这个需求完全可以使用Apache Commons IO来处理),但自己动手玩一下,也能从中体会良多.
package com.app.common.util.file.selector;
import java.io.File;
import java.io.FileFilter;
import java.util.*;
/**
* 此过滤器用来过滤大于最后修改时间之后的文件
* @author Administrator
*
*/
publi ...