`
giga_Zhang
  • 浏览: 155261 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表

LINQ Tools for Java

    博客分类:
  • j2se
 
LINQ Tools for Java   今天先介绍工具: 1、JoSQL        http://sourceforge.net/projects/josql/?source=navbar JoSQL (Java Objects SQL) provides SQL capabilities for querying, ordering and grouping of collections of Java objects (POJOs). It allows a SQL statement to be applied to the collection of objects ...
Bad: Cubicle  Better: Office  Best: Whatever works best for you.   Bad: Meetings without agendas.  Better: Meetings with agendas.  Best: Meetings whose need is so obvious to everyone that no agenda is needed.   Bad: Specs, waterfall, Systems Development Life Cycle.  Better: Prototyping, agi ...
静态分析 http://www.jutils.com/index.html http://www.jutils.com/maven-plugin/index.html http://pmd.sourceforge.net/   http://maven.apache.org/plugins/maven-pmd-plugin/ http://maven.apache.org/plugins/maven-checkstyle-plugin/ http://findbugs.sourceforge.net/downloads.html   appperfect可以检查Jsp,同时还是 ...
web项目中加载配置信息,废话不说,直接上代码   ClassLoader loader = Thread.currentThread().getContextClassLoader(); URL url = null; String propertyName = "url.properties"; if (loader instanceof URLClassLoader) { URLClassLoader ucl = (URLClassLoader) loader; url = ucl.findResource(pr ...
  图片说话:
安装vsftp CentOS # yum install vsftpd Rpm rpm -ivh vsftpd-2.0.5-12.el5.i386.rpm 服务 # chkconfig vsftpd on auto on chkconfig --level 35 vsftpd on # service vsftpd start/stop/restart Firewall # vi /etc/sysconfig/iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --d ...

Eclipse插件

一:Eclipse Software Update Help > Install New Software > Add 二:Market Help > Eclipse Marketplace... 二:下载插件 把解压的文件分别拷贝到eclipse plugins features 重启eclipse 如果插件不能升效,则请eclipse/configuration/org.eclipse.update目录删除后再启动eclipse:) 三:LINK 文件方式: 插件解压到eclipse/XXX/eclipse/plugins*featu ...
1、maven包查询:    http://mvnrepository.com/ 2、maven公共仓库 :    http://mirrors.ibiblio.org/pub/mirrors/maven2/    http://gradle.artifactoryonline.com/gradle/libs    http://gradle.artifactoryonline.com/gradle/plugins    http://google-maven-repository.googlecode.com/svn/repository ...

Jboss7 配置

Jboss应用默认只能本地访问,需要修改如下配置使其能网络访问 <interfaces> <interface name="management"> <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> </interface> <interface name="public"> < ...
Xmind无法启动,显示下图: 解决方法如下(以winXP为例): 在C:/Program Files/XMind/ 里找到xmind.ini文件,用记事本打开 (MAC OS的话在相应的安装文件夹里找到该文件即可) 然后把-XX:MaxPermSize=256m这行拉到-vmargs的上面 变成以下的顺序 -XX:MaxPermSize=256m -vmargs -Xms128m -Xmx512m 保存文件,关闭,重新启动XMind即可

autocomplete

$("#department").autocomplete('/oms/orgAjax/getSimilarNames', { width: 162, minChars: 2,         dataType: 'json',         highlight: false,         scroll: true,         scrollHeight: 300,         parse: function(data) { var array = new Array(); for(var i = 0 ; i < data.orgN ...

html5本地存储

直接上例子,自己体会 :       <html> <head> <title>HTML5 contenteditable example</title> <style type="text/css"> #scribble-pad {        margin-left:auto;        margin-right:auto;        height: 475px;        width: 475px;        background-image:url(https: ...

CronTrigger Tutorial

CronTrigger Tutorial Introduction cron is a UNIX tool that has been around for a long time, so its scheduling capabilities are powerful and proven. The CronTrigger class is based on the scheduling capabilities of cron. CronTrigger uses "cron expressions", which are able to create ...
  apache ab压力测试 以前安装好APACHE总是不知道该如何测试APACHE的性能,现在总算找到一个测试工具了。就是APACHE自带的测试工具AB(apache benchmark).在APACHE的bin目录下。格式: ./ab [options] [http://]hostname[:port]/path参数:    -n requests     Number of requests to perform    //在测试会话中所执行的请求个数。默认时,仅执行一个请求    -c concurrency Number of multiple requests to mak ...
      Java语言的一个重要特性是引入了自动的内存管理机制,使得开发人员不用自己来管理应用中的内存。C/C++开发人员需要通过malloc/free 和new/delete等函数来显式的分配和释放内存。这对开发人员提出了比较高的要求,容易造成内存访问错误和内存泄露等问题。一个常见的问题是会产生“悬挂引用(dangling references)”,即一个对象引用所指向的内存区块已经被错误的回收并重新分配给新的对象了,程序如果继续使用这个引用的话会造成不可预期的结果。开发人员有可能忘记显式的调用释放内存的函数而造成内存泄露。而自动的内存管理则是把管理内存的任务交给编程语言的运行环境来完成。开 ...
Global site tag (gtag.js) - Google Analytics