스프링의 web flow를 접해보고자
spring-webflow-2.0.6.RELEASE-with-dependencies.zip을
다운받아 압출 풀기 하는데...
파일 두개에 대해서 암호를 입력하라고 하더니만..
다시 압축 풀기 하니깐 암호 입력도 안나오네요..;;
이거 뭥미??
Posted by gwlee
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/185
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/137
보기
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/130
평상시에는 메모리를 많이 잡을필요 없지만 플러그인 형태의 툴들을 여러개 실행시키고 웹 어플리케이션 돌리다보니 메모리가 부족하다고 에러를 내면서 Typing조차 어려워서.. ini파일 설정합니다.. ㅋ
-웬지 다른 이유가 있을듯 하지만..
vi eclipse.ini
showsplash org.eclipse.platform
--launcher.XXMaxPermSize 512m
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=512m
-Xms40m
-Xmx512m
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/120
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();
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/121
| 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) | - | - |
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/100
| 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, 앞/뒤에 따라 양수/음수 리턴 |
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/93
| 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 |
그냥.. 이제 해야되는 것들이라서..
쫌금이라도 더 많은 정보 축적을 위해 Study Blog 활용중.. ㅋㅋ
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/75

Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/66
Posted by gwlee
Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/20
Stay Hungry Stary Foolish!
- gwlee