Category Archives: JAVA

B2 Setup with Spring

1. Source Loading -> Tomcat load web.xml initially. 2. web.xml 2.1 filters loaded -> Spring Configuration Load * Several DispatcherServlet could be loaded order by the load-on-startup value (precedent check),cause corresponding to the servlet mapping can take part of front-end controller 2.2. Set dispatcher URI 2.3. dispatcher for backend (Refer to the ContextLoaderListener) 3. web.xml… Read More »

5,845 total views, 5 views today

Troubleshooting Guide for Java SE 6 with HotSpot VM

source link: Direct download: Troubleshooting Guide for Java SE 6 with HotSpot VM Preface This document helps in troubleshooting problems that might occur with applications that are developed using the release of JavaTM Platform, Standard Edition Development Kit 6 (JDKTM 6 release or Java SE 6 release). In particular, this guide addresses possible problems between the… Read More »

2,246 total views, 4 views today

Java SE 6 HotSpot[tm] Virtual Machine Garbage Collection Tuning

Cite from Table of Contents Introduction Ergonomics Generations Performance Considerations Measurement Sizing the Generations Total Heap The Young Generation Survivor Space Sizing Available Collectors Selecting a Collector The Parallel Collector Generations Ergonomics Priority of goals Generation Size Adjustments Default Heap Size Excessive GC Time and OutOfMemoryError Measurements The Concurrent Collector Overhead of Concurrency Concurrent… Read More »

2,742 total views, no views today

ActiveMQ 를 알아보자(1)

Blackboard 사의 Blackboard LMS 는 웹 서버를 추가하는 수평 확장을 지원한다. 따라서 여러대의 웹 서버에 대한 Task Queuing 을 위해서 ActiveMQ를 사용하고 있으며, 문서에서도 각종 배치 프로세싱에 대해 이 기능이 핵심적인 역할을 담당하고 있다고 언급하고 있다. ActiveMQ란 무엇이냐…. 를 설명하자니 내가 모르는 게 참 많다는 생각이 든다. Wikipedia 에서부터 하나씩 시작해보자. 위키에는 다음과 같이 정의되어… Read More »

16,083 total views, 4 views today

HttpClient로 Curl 대체하기

Original Curl command: curl -k -w %%{http_code} -H “Content-Type:text” -u ID:PWD –data-binary @c:\abc.txt http://xxx… Source code to replace curl command using HTTP Client… /* ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding… Read More »

5,871 total views, 3 views today

[libcurl with Java]

** Building procedure of the libcurl-java-0.2.3 to get libcurl.jar cited from: referred: Blackboard System 의 Data Integration 절차 중 Feedfile(CSV) 를 curl 로 전송하는 부분이 있다. 이 부분을 자동화 하려면 jar 형태의 libcurl 이 필요한데… 이게 C language based building procedure 때문에 급 멘붕.. Get the package of libcurl for java in some directory: On… Read More »

3,952 total views, 1 views today