Andrew's Garage

Shrunk Expand

Primary Navigation

← Older postsNewer posts→
  • Category Archives JAVA
  • 비공개 » 참고를 위한 저장물 » JAVA » javascript | WAS, Servet Containers | 일반 » jboss&tomcat | JEUS & WEBToB
  • 하이버네이트 사용시에 오라클에서 날짜 형식으로 조회시에 Index 안

    하이버네이트 사용시에 오라클에서 날짜 형식으로 조회시에 Index 안타는 문제가 발생..   내용을 요약하면.. 하이버네이트가 날짜 형식으로 인식 못하고 파라미터 기준으로 문자 ( 필드 ) 와 날짜 ( 파라미터)라 판단 하고 필드를 함수 쒸어서 날짜 형식으로 변경 함.. 그래서 인덱스 못 탐.. 결론 적으로 하이버 네이트한데 이 필드가 날짜 형식이…


    Continue reading → Post ID 544

    Posted on 2015-01-07 5:47 PM by andrew Comment
    JAVA 기술
  • java ssl client 개발시 Trusting an expired certificate 오류

    하기 코드를 사용하면 모든 인증서( 테스트, 유효기간 지난거.. 등 )을 모두 신뢰해버린다. ( Real 적용하면 보안에 문에 있음. ) ====================================================================== try { SSLContext ctx = SSLContext.getInstance(“TLS”)…


    Continue reading → Post ID 531

    Posted on 2014-12-29 11:43 PM by andrew Comment
    JAVA jboss&tomcat JEUS & WEBToB 일반
  • 읽어 볼만한 슬라이드

    기술적 변화를 이끌어가기 from Jaewoo Ahn   [ 다른거.. ] http://tutorialzine.com/2014/12/the-languages-and-frameworks-that-you-should-learn-in-2015/   [ 또 다른거. ] http://www.bloter.net/archives/216209


    Continue reading → Post ID 501

    Posted on 2014-12-24 12:04 AM by andrew Comment
    일반
  • send file sftp java example

    public void send (String fileName) { String SFTPHOST = “host:IP”; int SFTPPORT = 22; String SFTPUSER = “username”; String SFTPPASS = “password”; String SFTPWORKINGDIR = “file/to/transfer”; Session ses…


    Continue reading → Post ID 487

    Posted on 2014-12-18 11:54 PM by andrew Comment
    JAVA
  • [펌]Gmail SMTP Server를 이용한 메일전송 예제

    Gmail SMTP Server를 이용한 메일전송 예제 (무료 SMTP & Authentication) http://unionbaby.tistory.com/category/+%20Programer/*%20java?page=2 + Programer/* java Gmail, Authentication in JavaMail JavaMail 1.4.1:ht…


    Continue reading → Post ID 450

    Posted on 2014-12-18 10:59 PM by andrew Comment
    JAVA
  • [펌]Java Mail 발송 (GMail SMTP 이용) example 예제

    java mail API를 이용하여 GMail의 SMTP를 이용하여 메일을 발송하는 것에 대해 아주 간략하게 알아본다. 메일을 발송하기 위해서는 Java Mail API와 GMail 계정이 필요하다. (GMail SMTP는 SSL로 계정 인증을 해야 사용이 가능하다.) 발송되는 메일의 텍스트는 HTML이며, UTF-8이다. Text나 다른 캐릭터셋을 원한다…


    Continue reading → Post ID 448

    Posted on 2014-12-18 10:58 PM by andrew Comment
    JAVA
  • [펌]JMX를 이용하여 JVM 모니터링 하기

    JMX를 이용하여 JVM 모니터링 하기 JDK 1.5 부터 JVM에는 Platform MBeanServer가 내장되어 있어 jvm 파라미터로  Platform MBeanServer가 동작하도록할 수 있습니다. 모니터링 대상 프로그램 구동시 다음과 같은 jvm 파라미터를 사용하여 실행합니다.   jvm 파라미터:   -Dcom.sun.man…


    Continue reading → Post ID 444

    Posted on 2014-12-18 10:56 PM by andrew Comment
    jboss&tomcat WAS, Servet Containers 참고를 위한 저장물
  • apache SSL virtual host 설정 sample

    UL { MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm } OL { MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm } P { MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm } P { MARGIN-TOP: 2px; MARGIN-BOTTOM: 2px } <VirtualHost *:443> JkMo…


    Continue reading → Post ID 433

    Posted on 2014-12-10 7:39 PM by andrew Comment
    jboss&tomcat WAS, Servet Containers
  • jboss 컨테이너 추가 하기..

    컨테이너 추가 하고 ajp연결에서 사용하는 port를 변경 하기 위해서는 /usr/local/jboss-6.1.0.Final/server/컨테이너명/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml 에서 Ports03Bindings 에 해당 컨테이너의 port offset을 수정 하면 된다. 여기에…


    Continue reading → Post ID 408

    Posted on 2014-11-04 11:58 PM by andrew Comment
    jboss&tomcat
  • [JAVA] 자릿수 만큼 0으로 채우기..

    예를 들어.. 3자리수를 표현한다고 하면, 001,002,010 뭐 이런식으로 표현하고 싶을때가 있다. (일련번호등을 표시할때 ) 아래와 같이 하면 쉽게 표현할 수 있다. int serial = 3; String suffix = String.format(“%03d”, serial); System.out.println(suffix); 결…


    Continue reading → Post ID 351

    Posted on 2014-08-18 10:23 AM by andrew Comment
    JAVA 참고를 위한 저장물

Posts navigation

Previous 1 2 3 … 7 Next


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