`
文章列表
转载 http://blog.csdn.net/cutesource/article/details/8244250   最近在看《深入理解Java虚拟机》,书中给了几个例子,比较好的说明了几种OOM(OutOfMemory)产生的过程,大部分的程序员在写程序时不会太关注Java运行时数据区域的结构: 感觉有必要通过几个实在的例子来加深对这几个区域的了解 1)Java堆 所有对象的实例分配都在Java堆上分配内存,堆大小由-Xmx和-Xms来调节,sample如下所示:  
http://www.blogjava.net/hankchen/archive/2012/05/09/377735.html
http://jsfiddle.net/

seajs

    博客分类:
  • web
  1. data-config 和data-main的路径都是相对于seajs来的。 <script src="js/seajs/sea.js" data-config="config.js" data-main="init"></script>

Web文档

    博客分类:
  • web
http://wenku.baidu.com/view/07ff664ce518964bcf847c1b.html
java code @RequestMapping("/getAllLeagues") @ResponseBody public List<League> getAllLeagues(String feedId, String sportId) { return //code here  }   java script$.ajax({ url : 'getAllLeagues', data : { feedId : feedId, sportId : sportId }, dataType : 'json', type : 'POS ...
xml Bean 定义 引用 annotation Bean: 在xml文中加入   <context:annotation-config />    annotation Bean: 引用 xml Bean   方法, 使用注解Resource, 如 @Resource(name="xmlBeanName")      
sea.js  bootstrap, backbone, underscore

j2ssh

TBD
TBD

数据库操作

package com;   import java.io.Serializable; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.Map; import java.util.Set;   i ...

cometd 步骤

    博客分类:
  • web
1, depenency <dependency> <groupId>org.cometd.java</groupId> <artifactId>bayeux-api</artifactId> <version>2.5.0-beta2</version> </dependency> <dependency> <groupId>org.cometd.javascript</groupId> <artifactId>cometd-java ...

Redis Key 设计

TBD

Cometd

TBD
TBD
Global site tag (gtag.js) - Google Analytics