Spring Webflow 압축 풀기 문제


스프링의 web flow를 접해보고자
spring-webflow-2.0.6.RELEASE-with-dependencies.zip을
다운받아 압출 풀기 하는데...

파일 두개에 대해서 암호를 입력하라고 하더니만..
다시 압축 풀기 하니깐 암호 입력도 안나오네요..;;

이거 뭥미??
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/07/28 09:38 2009/07/28 09:38
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/185

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/185

Leave a comment

Eclipse Plugin 설치


Eclipse 사용시 사용하고자 하는 plugin을 설치할 일이 있을 것이다

웬만하면 [HELP] - [Software Updates]에서 해결 가능하다.
그러나 가끔씩 맘에 안들게 이 메뉴로 해결이 불가능 할 때가 있다.

그럴때에는 manual하게 설치를 해줘야 한다.
-모 그냥 심심풀이로 사용하고자 하는 경우에는 굳이
 스트레스 받으면서 할 필요 없다.

3.4버전 Eclipse인 Ganymede는 Europa와 달리
Plugin폴더에 파일만 복사하면 plugin이 설치가 안된다.
-그래서 조낸 힘들었다.. ㅠ.ㅜ
-Europa도 안써봤었는데.. 제길..
앞으로 만날 Maven, Ant가 무섭다.. xml 설정 같은거 지랄같이 못하는데..

여하튼... Ganymede에서 수동으로 plugin을 설치하려면
두개의 설정 파일과 두개의 폴더에 관련 파일들을 복사해 주어야
Ganymede가 기분좋게 인식해준다.
-[HELP]-[Software Updates]에서 의존성 문제로 설치안되던 녀석들도
너무 깔끔하게 설치된다는 사실.. 제길...

일단 수정되어야 할 파일
eclipse/artifacts.xml
eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info


그리고 수동으로 설치 할 plugin관련 파일들을 저장할 폴더 두곳
eclipse/features/
eclipse/plugins
/

그런데 문제는 각 파일과 폴더를 들여다 보면 막막할것이다.
파일안에 어떻게 내용을 넣어줘야하며, 폴더에는 어떤 파일들을 넣어줘야 하는지..

그래서 본좌는 개발용으로 사용하는 eclipse외에 버전별로(왜 버전별인지 플러그인 설치하다가 당해보면 알것이다.) 다운로드 받아놨다. ^^

그래서 원하는 plugin을 설치가 되는 eclipse에 설치 된 후,
그 eclipse에 저장된 폴더들과 파일의 관련 부분만을 긇어서 원래 개발용
eclipse에 첨가시켜주면 OK!!
젠장.. 이거 깨닫는데 한달 걸렸다..;;;



크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/05/19 20:28 2009/05/19 20:28
, , , , , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/137

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/137

Leave a comment

Ganymede 구버전 업데이트 매니저


출처: 미상

지금 한 석달여동안 처음 접하고 있는 Eclipse와 갖가지 툴들과
씨름하고 있는데.. Eclipse의 update 부분에서 막히면 참...
짜증지대로 였는데..

Ganymede 플러그인 수동 설치를 검색하다
구버전 업데이트 매니저에 관련된 글을 보고..
지금 테스트 해보는중..;; 왠지... 잘 됀다는 느낌..;;;

리눅스 설정이랑 이것저것 참 많이 건들여서 리눅스도 한번 다시 설치 했다는..;;

미상님께서 잘 정리하신글 중 필요한 부분

보기












크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/05/09 13:31 2009/05/09 13:31
, , ,
Response
0 Trackbacks , 2 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/130

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/130

Comments List

  1. 미상 2009/05/11 08:25 # M/D Reply Permalink

    첫 트랙백 감사합니다~ ^^

    1. gwlee 2009/05/11 08:39 # M/D Permalink

      업데이트에서 가끔씩 허우적 거렸었는데..
      저도 감사드립니다. ^^

Leave a comment

eclipse.ini 설정

평상시에는 메모리를 많이 잡을필요 없지만 플러그인 형태의 툴들을 여러개 실행시키고 웹 어플리케이션 돌리다보니 메모리가 부족하다고 에러를 내면서 Typing조차 어려워서..  ini파일 설정합니다.. ㅋ

-웬지 다른 이유가 있을듯 하지만..

vi eclipse.ini

showsplash org.eclipse.platform
--launcher.XXMaxPermSize 512m
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=512m
-Xms40m
-Xmx512m

Xms : 초기 시작할때 차지하는 메모리 크기
Xmx : 최대 사용할 수 있는 메모리 크기
XX:PermSize : 클래스 정보를 저장하는 메모리 크기
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/04/28 21:45 2009/04/28 21:45
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/120

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/120

Leave a comment

ResultSet를 사용한 행 갯수



SQL 문 (COUNT()) 에 의한 Row 갯수

public class count {
 
  public static void main(String[] args) throws Exception {
        String jdbcUrl = "jdbc:mysql://localhost:3306/"+database;
        String dbId = id;
        String dbPass= passwd;
       
        Class.forName("com.mysql.jdbc.Driver");
        Connection conn = DriverManager.getConnection(jdbcUrl,dbId,dbPass);       
        Statement stmt = conn.createStatement();
     
        int rowcount = 0;
        
        ResultSet rs = stmt.executeQuery("SELECT COUNT(*) FROM employee_tbl");
        if(rs.next()) {
          rowcount = rs.getInt(1);
        }
        System.out.println("Total rows : " + rowcount);
  }
}


ResultSet에 검색된 결과에 의한 Row 갯수 

public class count {
 
  public static void main(String[] args) throws Exception {
        String jdbcUrl = "jdbc:mysql://localhost:3306/"+database;
        String dbId = id;
        String dbPass= passwd;
       
        Class.forName("com.mysql.jdbc.Driver");
        Connection conn = DriverManager.getConnection(jdbcUrl,dbId,dbPass);       
        Statement stmt = conn.createStatement();

        int rowcount = 0;
    
        ResultSet rs = stmt.executeQuery("SELECT COUNT(*) FROM employee_tbl");
        rs.last();     
        int rowcount = rs.getRow();
        rs.beforeFirst();

        System.out.println("Total rows : " + rowcount);         
  }
}


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/04/28 21:39 2009/04/28 21:39
, , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/121

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/121

Leave a comment

Hibernate Compatibility


출처: http://www.hibernate.org/6.html


Compatibility Matrix

Package Version Core Annotations EntityManager Validator Search Shards Tools
Hibernate Core 3.2.6 GA - 3.2.x, 3.3.x 3.2.x, 3.3.x 3.0.x 3.0.x 3.0.x 3.2.x

3.3.0 SP1 - 3.4.x 3.4.x 3.1.x 3.1.x Not compatible Not compatible
Hibernate Annotations 3.3.1 GA 3.2.x - 3.3.x 3.0.x 3.0.x 3.0.x 3.2.x

3.4.0 GA 3.3.x - 3.4.x 3.1.x 3.1.x Not compatible Not compatible
Hibernate EntityManager 3.3.2 GA 3.2.x 3.3.x - 3.0.x 3.0.x Not compatible 3.2.x

3.4.0 GA 3.3.x 3.4.x - 3.1.x 3.1.x Not compatible not compatible
Hibernate Validator 3.0.0 GA 3.2.x 3.3.x 3.3.x - 3.0.x 3.0.x 3.2.x

3.1.0 GA 3.3.x 3.4.x 3.4.x - 3.1.x Not compatible Not compatible
Hibernate Search 3.0.1 GA >= 3.2.2 (better if >= 3.2.6) 3.3.x (better if >= 3.3.1 ) 3.3.x 3.0.x - 3.0.x (3.2.x)

3.1.0 GA 3.3 3.4 3.4 3.1 - Not tested (3.2.x)
Hibernate Shards 3.0.0 Beta2 3.2.x 3.3.x Not compatible 3.0.x 3.0.x - -
Hibernate Tools 3.2.2 3.2.x 3.2.x and 3.3.x 3.2.x and 3.3.x 3.0.x (3.2.0) - -


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/03/26 10:19 2009/03/26 10:19
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/100

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/100

Leave a comment

String 객체의 기본 메소드


String 객체의 기본 메소드


Method리턴 값설명
length()int문자열의 길이를 리턴
charAt(int index)char 지정한 인덱스에 위치한 문자를 리턴(0에서 시작)
indexOf(String str) int str이 포함된 첫 번째 인덱스를 구한다. 없으면 -1
indexOf(String str, int fromindex) int fromindex이후에 str이 포함되어 있는 첫번째 인덱스를 구한다.
indexOf(char ch)int문자 ch의 첫번째 인덱스를 구한다.
indexOf(char ch, int fromindex)int fromindex이후 문자 ch 의 첫번째 인덱스를 구한다.
substring(int i) String인덱스 i 부터 나머지 문자열을 구한다.
substring(int i, int j) String i 부터 j-1 까지의 문자열을 구한다.
equals(String str)boolean현재 문자열이 str과 같은 경우 true를 리턴한다.
compareTo(String str)int문자가 같은경우 0, 앞/뒤에 따라 양수/음수 리턴
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/03/23 13:01 2009/03/23 13:01
, ,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/93

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/93

Leave a comment

사람을 위한 Eclipse 자동화 Plug-in

Eclipse에서 코드 분석하는 Plug-in들 조만간 사용하게 될 듯해서..;;
-본인의 코딩 스타일이 좀 지랄같아야지.. ㅋㅋ

출처:  사람을 위한 자동화 시리즈 中  Eclipse 플러그인으로 코드 품질 높이기

CheckStyle 코딩 표준 분석 http://eclipse-cs.sourceforge.net/update/
Coverlipse 코드 커버리지 테스트 http://coverlipse.sf.net/update
CPD Copy/Paste 탐지 http://pmd.sourceforge.net/eclipse/
JDepend 패키지 의존성 분석 http://andrei.gmxhome.de/eclipse/
Metrics Complexity monitoring http://metrics.sourceforge.net/update

  • CheckStyle: 코딩 표준
  • PMD의 CPD: 코드 중복 발견
  • Coverlipse: 코드 커버리지 측정
  • JDepend: 의존성 분석 제공
  • Eclipse Metrics 플러그인: 복잡성 탐지



    그냥.. 이제 해야되는 것들이라서..
    쫌금이라도 더 많은 정보 축적을 위해 Study Blog 활용중.. ㅋㅋ

  • 크리에이티브 커먼즈 라이센스
    Creative Commons License

    Posted by gwlee

    2009/02/18 16:26 2009/02/18 16:26
    ,
    Response
    0 Trackbacks , 0 Comments
    RSS :
    http://thegreatgoodplace.com/tt/study/rss/response/75

    Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/75

    Leave a comment

    JAVA API Flow


    필요할듯 해서.. ㅠㅠ

    사용자 삽입 이미지

    크리에이티브 커먼즈 라이센스
    Creative Commons License

    Posted by gwlee

    2009/01/22 13:31 2009/01/22 13:31
    ,
    Response
    0 Trackbacks , 0 Comments
    RSS :
    http://thegreatgoodplace.com/tt/study/rss/response/66

    Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/66

    Leave a comment

    자바에서 엑셀작업



    jetzt님의 블로그

    sirius2k님의 블로그



    자바로 엑셀을 핸들링 할 수 있는 방법은 크게 두가지로 나누어 진다.

    1. Java Excel API
        http://www.andykhan.com/jexcelapi/
    2. POI
        http://jakarta.apache.org/poi/index.html



    새로이 Excel파일을 만드는 방법은 기본적으로 다음과 같다.

    1. WorkBook를 만든다 (즉, 파일이 될 부분을 만든다)
    2. WorkBook안에 sheet를 만든다
    3. sheet안에 행을 만든다
    4. 행 안에 기본단위인 셀을 만든다

    ps. 물론 본인은 Java를 안건들기에 될련지는 몰르겠습니다.  후훗.. ㅡ.ㅡv


    크리에이티브 커먼즈 라이센스
    Creative Commons License

    Posted by gwlee

    2008/08/25 01:34 2008/08/25 01:34
    ,
    Response
    0 Trackbacks , 0 Comments
    RSS :
    http://thegreatgoodplace.com/tt/study/rss/response/20

    Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/20

    Leave a comment

    블로그 이미지

    Stay Hungry Stary Foolish!

    - gwlee

    TC-Cumulus by reznoa requires Flash Player 9 or better.

    Site Stats

    Total hits:
    62336
    Today:
    17
    Yesterday:
    65