ITeye博客

业精于勤荒于嬉,行成于思毁于随

teacake · 共 20 篇文章

Encache

源文档 < http://wj98127.iteye.com/blog/342397 > EhCache 一般用途如下: Hibernate 缓存, DAO 缓存,安全性凭证缓存( Acegi ), Web 缓存,应用持久化和分布式缓存。 EhCache 在默认情况下,即在用户未提供自身配置文件ehcache.xml或ehcache-failsafe.xml时,EhCache会依据其自身Jar存档包含的ehcache-failsafe.xml文件所定制的策略来管理缓存。如果用户在classpath下提供了ehcache.xml或ehcache-failsafe.xml文件,那么EhCache…

2009-03-12 23:22 · Cache · 评论(0)

java 内存模型、多线程

文档来源: < http://www.iteye.com/topic/108927 > 本文参照Java Language Specific对原文做了部分修改。 1. java 内存模型 ( java memory model ) All instance fields, static fields and array elements are stored in heap memory . Local variables ( §14.4) , formal method parameters ( §8.4.1) or exception handler parameters are nev…

2009-03-12 21:07 · Java && EE · 评论(0)

Hibernate缓存管理

文章来源:http://www.qqread.com/java/2008/01/u390226.html 1、Cache简介 缓存(Cache )是计算机领域非常通用的概念。它介于应用程序和永久性 数据存储 源(如硬盘上的文件或者数据库)之间,其作用是降低应用程序直接读写永久性数据存储源的频率,从而提高应用的运行性能。缓存中的数据是数据存储源中数据的拷贝,应用程序在运行时直接读写缓存中的数据,只在某些特定时刻按照缓存中的数据来同步更新数据存储源。 缓存的物理介质通常是内存,而永久性数据存储源的物理介质通常是硬盘或磁盘,应用程序读写内在的速度显然比读写硬盘的速度快,如果缓存中存放的数据量非常大…

2009-03-12 20:29 · Cache · 评论(0)

c内存管理

文章来源:http://happy.swjtu.edu.cn/supesite/index.php/117189/viewspace-2599 C内存管理2008-05-21 10:04一个由c/C++编译的程序占用的内存分为以下几个部分 1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。 2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收 。注意它与数据结构中的堆 是两回事,分配方式倒是类似于链表,呵呵。 3、全局区(静态区)(static)—,全局变量和静态变量的存储是放在一块的,初…

2009-03-12 19:07 · C语言 · 评论(0)

负载均衡技术

原文章地址: http://www.net130.com/CMS/Pub/special/special_fzjh/special_fzjh_jj/2007_02_05_15031.htm 本文转自:http://zyycaesar.iteye.com/blog/293839 前言 当前,业务量的发展超出了过去最乐观的估计,即使按照最优配置建设的网络,也会感到吃力。尤其是各个网络的核心部分,其数据流量和计算强度之大, 使得单一设备根本无法承担,而如何在完成同样功能的多个网络设备之间实现合理的业务 <script src="/CMS/JS/newsad.js"></script> 量分配,使之…

2009-03-11 21:01 · Cluster · 评论(0)

JBPM in a Jboss Cluster

Mission / scope The goal of this article is to show how to achieve near-linear scalability of jBPM workflow engine by tuning its configuration and setting it up on a JBoss cluster with distributed TreeCache. Readers will be guided through all steps required to cluster jBPM efficiently – from cluste…

2009-03-11 20:56 · Cluster · 评论(0)

JBPM in a Jboss Cluster

Mission / scope The goal of this article is to show how to achieve near-linear scalability of jBPM workflow engine by tuning its configuration and setting it up on a JBoss cluster with distributed TreeCache. Readers will be guided through all steps required to cluster jBPM efficiently – from cluste…

2009-03-11 20:53 · Cluster · 评论(0)

Jboss4集群配置

本文来自 http://jijian91.com 1.前言 2006年, Jboss 公司被 Redhat 公司收购了。这直接导致Jboss产品结构调整,并将以前收费的Jboss AS文档改为免费。 jijian91 本次集群试验的最初依据就是由此得到的 Jboss 4.0.5集群配置文档 。 但这份官方文档并不可靠,在一些关键配置上含混不清,而且夹杂了很多适用于过去版本、现已作废的Jboss集群配置内容。这导致本次jboss集群 配置试验很大程度上是依靠猜测和反复尝试完成的。究其原因,是因为Jboss的集群特性尚处于发展之中,Jboss开发者还在不停地修改、完善、增加特 性,版本间的变化很…

2009-03-11 20:47 · Cluster · 评论(0)

Uncover the hood of j2ee clustering

文章来源:http://www.theserverside.com/tt/articles/article.tss?l=J2EEClustering 文章讨论:http://www.theserverside.com/news/thread.tss?thread_id=35831 Preface More and more mission-critical and large scale applications are now running on Java 2, Enterprise Edition (J2EE). Those mission-critical applications …

2009-03-11 19:17 · Cluster · 评论(0)

读Servlet规范小记

1.Containers 又名 Servlet Engines, 是对 Web 服务器的扩展,提供了 servlet functionality. 2.Servlet Containers 是 web server 或 application server 的部分,它负责发送 requests/responses ,decodes MIME-based requests, format MIM-based responses ,同时管理 Servlet 、 Filter 的生命周期。 3.Servlet : 由容器根据其配置来调用, Servlet 只负责处理 requests/respon…

2009-03-06 20:39 · Java && EE · 评论(0)

JPA四大要素及其关系

内容来源于阅读 JPA 2.0 规范、 Apache OpenJPA 相关文档、 Seam in Action 后的总结。 1. 四大要素 : Entities ( Persistence Contexts( 状态缓存 ) ) Persistence ( 整个 persistence.xml ,包含多个 unit ,每个 unit 对应一个 EntityManagerFactory) EntityManager ( EntityManagerFactory 创建) Transactions(JTA or Resource-Local) 2. 四大要素关系用图表示如下: Persistence…

2009-03-06 20:30 · Java && EE · 评论(0)

arcgis server 编辑的例子

基于ArcGIS Server对ShapeFile文件的编辑功能实现 收藏 http://blog.csdn.net/swfcsunboy/archive/2008/03/01/2136751.aspx Java 实现点的在线添加 http://virgos.iteye.com/blog/200421 加载地图数据的几种方法(AE + C#) http://seven7680.iteye.com/blog/279029 ArcGIS Server 9.2实现基于web浏览器的在线编辑 收藏 http://blog.csdn.net/sony0732/archive/2007/10/16/18…

2009-01-22 15:25 · 杂七杂八 · 评论(0)

Computer Science Lunch & Learn

转自:http://www.peerbox.com:8668/space/start/2006-05-16/1 『更多的在线免费学习资源:http://freescienceonline.blogspot.com/』 Below is a list of sites which have Computer Science related videos and/or audio. I use this list to find material for "Computer Science Lunch & Learn" sessions that I host at work. As the n…

2008-11-18 22:41 · 藏经阁 · 评论(0)

25个免费在线教育资源

教育机构提供的课程 Annenberg Media - 范围很广的视频课程,从美国的西部文化到变态心理学都有涵盖。 ArsDigita University - ArsDigita 最初是MIT的一项计算机科学计划,在关闭了之后,所有的课程资源都放在了网上。 BBC Learning - BBC的在线课程。[ 弥缝 注:非常有用,做Projects常常用到] BruinCast - UCLA的在线课程。 Chinese University Lectures - 中国14所知名大学的课程。 iTunes U - 众多知名大学的课程播客。 Learning From YouTube - Pit…

2008-11-18 22:39 · 藏经阁 · 评论(0)

经典英文歌曲100首及MTY100首

1.100首经典英文歌曲 http://www.zoann.com/downloads/best_songs/1.mp3 ...... ..... ..... ..... http://www.zoann.com/downloads/best_songs/100.mp3 2.100首经典MTV http://blog.xunlei.com/web/category.html?uin=waly33&category_id=89&keyword=%e8%8b%b1%e6%96%87%4d%54%56

2008-03-02 20:24 · 英语 · 评论(0)