Andrew's Garage

Shrunk Expand

Primary Navigation

← Older postsNewer posts→
  • Category Archives JAVA
  • 비공개 » 참고를 위한 저장물 » JAVA » javascript | WAS, Servet Containers | 일반 » jboss&tomcat | JEUS & WEBToB
  • 자바 토큰 토크나이져(StringTokenizer)로 파일입력 파일출력

    import java.io.*; import java.util.*; public class A {   public static void main(String[] args) throws IOException{ FileInputStream fin = new FileInputStream(“a.txt”); BufferedReader in = …


    Continue reading → Post ID 208

    Posted on 2014-07-21 9:34 PM by andrew Comment
    JAVA 참고를 위한 저장물
  • [개발팁] Spring + Quartz에서 파라미터를 가져오는 방법

    일전에 예약작업을 실행하는 몇가지 방법에 대해 살펴봤는데여.. Spring + Quartz를 이용할때 사용자 파라미터를 Job 설정파일에 등록하고 실행시 이를 가져올 수 있습니다.. 먼저 Job 설정파일에 아래와 같이 사용자 파라미터를 추가하고 <bean id=”MyJob” class=”org.springframewor…


    Continue reading → Post ID 170

    Posted on 2014-07-08 11:08 PM by andrew Comment
    JAVA 참고를 위한 저장물
  • [개발팁] Spring + Quartz에서 작업의 동시실행을 막는 방법

    예약작업이 흔히 DB나 파일을 다루다보니 작업이 한번에 하나씩만 실행되어야할때가 많습니다.. 예를 들어 디렉토리를 폴링하는 경우 선행 작업이 끝나지 않은 상태에서 다음 작업이 실행된다면 하나의 파일을 동시에 두개의 작업이 처리할 지도 모르니까요.. 스프링 스케쥴링 문서를 보면 “MethodInvokingJobDetailFactoryBean…


    Continue reading → Post ID 168

    Posted on 2014-07-08 10:49 PM by andrew Comment
    JAVA 참고를 위한 저장물
  • reading text file with utf-8 encoding using java

    CASE 1. PrintStream out =newPrintStream(System.out,true,”UTF-8″); out.println(str); CASE 2. import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.IOException;…


    Continue reading → Post ID 156

    Posted on 2014-07-06 8:11 PM by andrew Comment
    JAVA 참고를 위한 저장물
  • Reading a UTF-8 Encoded File

    public static String parseTemplate(String templatePath) { File aFile = new File(templatePath); InputStreamReader reader = null; String template; StringBuffer temp = new StringBuffer(); int counter = 0…


    Continue reading → Post ID 154

    Posted on 2014-07-06 8:09 PM by andrew Comment
    JAVA 참고를 위한 저장물
  • 한 WAS 서버에서 UTF-8 과 EUC-KR 둘다 지원하기..

    한 웹서버에 UTF-8과 EUC-KR 을 같이 사용할 수 있는 TIP이 있긴 합니다…실제로 사용하고 있으나, 테스트는 꼭 해보세요.. 사용환경은 리눅스(CENTOS)+APACH+TOMCAT+SPRING2.5 web.xml 에서 필터를 추가해주는데요 UTF-8용과 EUC-KR 둘다 필터를 추가해줍니다. <filter> <displa…


    Continue reading → Post ID 148

    Posted on 2014-07-03 9:22 PM by andrew Comment
    WAS, Servet Containers 참고를 위한 저장물
  • JDBC Connection Pool Timeout Errors

    If the database server times out a connection, the connection pool on Tomcat side would not be aware of its disconnection. If the database server times out a connection, the connection pool on Tomcat…


    Continue reading → Post ID 139

    Posted on 2014-06-24 4:05 PM by andrew Comment
    WAS, Servet Containers 참고를 위한 저장물
  • Tomcat MySQL Connection – Using JDBC to Connect Tomcat to MySQL

    Tomcat MySQL Connection – Using JDBC to Connect Tomcat to MySQL Stumped by Tomcat JDBC connections? Can’t get your head around MySQL drivers, connection pools, and JNDI resources? This art…


    Continue reading → Post ID 135

    Posted on 2014-06-24 4:03 PM by andrew Comment
    WAS, Servet Containers 참고를 위한 저장물
  • Tomcat JDBC Connection Pool configuration for production and development

    Tomcat JDBC Connection Pool configuration for production and development As mentioned in the post Install Eclipse Kepler 64 bit on Windows 7 64 bit, Podcastpedia.org uses Apache Tomcat 7 as applicatio…


    Continue reading → Post ID 133

    Posted on 2014-06-24 4:01 PM by andrew Comment
    WAS, Servet Containers 참고를 위한 저장물
  • Simple Spring Quartz Web App with Maven and Eclipse

    Simple Spring Quartz Web App with Maven and Eclipse 1. Create a Maven Web App project with Eclipse File -> New -> Project -> Other -> Maven Project -> Next -> Next -> You should b…


    Continue reading → Post ID 130

    Posted on 2014-06-23 7:39 AM by andrew Comment
    JAVA 참고를 위한 저장물

Posts navigation

Previous 1 … 3 4 5 … 7 Next


©2025 boots Entries RSS and Comments RSS Child theme Boots of Raindrops Theme
 

Loading Comments...