<< 2007년 9월 20일 (목) | | 2007년 9월 22일 (토) >>

[알림] 웹 환경과 오피스 파일 포맷 활용 세미나

MS의 OpenXML과 쌍벽을 이루는 ODF에 대한 세미나가 있다고 합니다. 오랫만에 ODF에 대해서 이해를 도울 수 있는 좋은 기회가 될 것으로 보입니다.
아래는 세미나에 관한 정보입니다. 두루 살펴보고 관심있으신 분들은 무료니깐 ODF의 내용에 대해 조금더 가까이 갈 기회를 잡으시길 바라요.

□ 세미나 개요
o 세미나명 : 웹 환경과 오피스 파일 포맷 활용 세미나
o 일시 : 2007. 9. 28(금) 13:30 ~ 17:00
o 장소 : KIPA빌딩 5층 강당
o 참석자 : 관련 학계, 업계 관계자 및 개발자
o 주최 : 정보통신부
o 주관 : 한국소프트웨어진흥원

□ 세미나 주제
o ODF의 특징
o ODF 및 XML 활용에 대한 방안 소개
o 문서 포맷의 국제 표준 선정 과정에 대한 소개

□ 세미나 일정
o 13:30~14:00 세미나 등록
o 14:00~14:10 인사말 (한국소프트웨어진흥원 정호교 단장)
o 14:10~15:00 ODF의 특징
o 15:00~15:40 ODF 및 XML 활용방안(한글과컴퓨터 남동선 팀장)
o 15:40~16:00 휴식
o 16:00~16:40 문서 포맷의 국제 표준선정 과정기술표준원(강영식 연구사)
o 16:40~17:00 질의 응답

ODF는 플랫폼과 소프트웨어에 종속되지 않고 자유로운 문서 교환을 할 수 있도록 하는 사무용 문서의 표준 포맷입니다. ODF 의 표준화 작업은 2002년 12월에 OASIS 컨소시엄을 통하여 시작되었고, 표준화 작업에는 OpenOffice.org, Sun Microsystems, IBM, Corell, KDE 와 같은 다양한 업체와 커뮤니티가 참가하고 있습니다.
.또한 표준화된 Open Office의 특징은 소프트웨어에 종속되지 않고 자유로운 문서 교환 및 검색에 자유로울 수 있어 우리의 업무 환경에 많은 영역으로 확대될 것으로 보입니다.

태그 :

ehcache 사용법

1. 설치
 - 다운로드 : http://sourceforge.net/project/showfiles.php?group_id=93232
 - classpath에 ehcache-1.4.0-beta.jar, backport-util-concurrent-3.0.jar, jsr107cache-1.0.jar Copy
 
2. 설정 파일 수정
 - 캐시 네임 지정 : 필요에 따라 기능별로 네이밍을 정해서 추가해 줌
 - 아래 ehcache.xml 참조

<?xml version="1.0" encoding="UTF-8"?>
<ehcache>
    <diskStore path="user.home"/>
    <defaultCache
            maxElementsInMemory="10000"
            eternal="false"
            timeToIdleSeconds="120"
            timeToLiveSeconds="120"
            overflowToDisk="true"
            diskSpoolBufferSizeMB="30"
            maxElementsOnDisk="100"
            diskPersistent="false"
            diskExpiryThreadIntervalSeconds="120"
            memoryStoreEvictionPolicy="LRU"
            />

    <cache name="regCache"
           maxElementsInMemory="100"
           maxElementsOnDisk="50"
           eternal="false"
           overflowToDisk="true"
           diskSpoolBufferSizeMB="20"
           timeToIdleSeconds="216000"
           timeToLiveSeconds="216000"
            />

    <cache name="tuCache"
           maxElementsInMemory="700"
           maxElementsOnDisk="100"
           eternal="false"
           overflowToDisk="true"
           diskSpoolBufferSizeMB="20"
           timeToIdleSeconds="216000"
           timeToLiveSeconds="216000"
            />
</ehcache>

3. CacheManager에서 원하는 캐싱 정보 조회 Class구현
 - 아래 클래스는 없어도 되나 캐시 Input/Output 통합 관리를 위해 사용

 public class CacheImpl
{
 private static CacheManager manager;
 private static Cache cache;
 
 public CacheImpl() {
  // Default constructor.
 }
 
 public CacheManager getCacheManager()
 {
  try {
   URL url = getClass().getResource("/ehcache.xml");
   manager = CacheManager.create(url);
   
  } catch (CacheException e) {
   e.printStackTrace();
  }
  return manager;
 }
 
 public CacheManager getCacheManager(String configFilePath)
 {
  try {
   manager = CacheManager.create(configFilePath); 
  } catch (CacheException e) {
   e.printStackTrace();
  }
  return manager;
 }
 
 /**
  * Get cache using key stored name.
  * @param cacheName
  * @return
  */
 public Cache getCache(String cacheName)
 {
  cache = (Cache)manager.getCache(cacheName);
  return cache;
 }
 
 /**
  *
  * @param name
  * @param value
  */
 public void storeCache(String name , Serializable value) throws CacheException
 {
  Element element = new Element(name, value);
  cache.put(element);
 }
 
 public Serializable retrieveCache(String name) throws CacheException
 {
  return cache.get(name);
 }
}

4. 실제 기능 사용에서 구현 방법

  ........
   CacheImpl cachemgrImpl = null;
   try {
    cachemgrImpl = new CacheImpl();
    cachemgrImpl.getCacheManager();
    .....
    cachemgrImpl.getCache("regCache");
    ....
    Element cacheObj = (Element) cachemgrImpl.retrieveCache(bo.getBlockIp()); // GET
    ....
    cachemgrImpl.storeCache(bo.getBlockIp(), bo); // PUT
    ....
  } catch (Exception e) {}

태그 :