<<上篇 | 首页 | 下篇>>

How To Get Started Using JNA - 如何用Java调用本地dll或so库

Java Native Access (JNA) is A small set of Java language utilities and conventions for dynamically accessing native libraries (for example, .dll's on Windows or .so's on Solaris) on any supported platform without writing anything but Java code—no JNI or native code is required, and access is dynamic at runtime without code generation.

阅读全文……

标签 : ,

Java性能-Java performance

这是一篇讲述java性能的blog,内容包括,提高I/O性能,防止内存泄露,提高Java应用性能

阅读全文……

标签 :

用Spring和EHCache缓存中间Service的方法结果集

Caching the result of methods using Spring and EHCache

之前知道,在J2ee应用里可以用oscache缓存jsp页面,也可以用ehcache等作为hibernate等ORM缓存方案,为j2ee应用提高性能,减少数据库负荷压力。 而这篇文档Caching the result of methods using Spring and EHCache ,描述了用ehcache和spring ioc来缓存中间Service方法的结果集。这是很妙的想法。

阅读全文……

标签 : , ,