블로그 이미지
올해목표 // 10월 어학연수 떠나자~ 자수씨

카테고리

전체글 (1457)
Brand New! (28)
주절주절 (213)
MOT (11)
해외쇼핑 (49)
쇼핑노트 (150)
취미생활 (94)
iPhone (4)
Eclipse (121)
Google (83)
Spring (31)
JAVA (176)
JavaScript (59)
WEB (49)
Database (20)
OS (26)
Tools (8)
Tips (26)
IT정보 (1)
Book (21)
Programming (37)
외부행사 (43)
주변인들 (17)
여행노트 (60)
학교생활 (30)
회사생활 (52)
사회생활 (5)
외국어공부 (12)
잡동사니 (30)
Total
Today
Yesterday
 
05-20 00:06
 

달력

« » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
 

최근에 올라온 글

최근에 달린 댓글


GWT 로 프로젝트를 하다보니 컴파일을 할 경웨 Ant 로 정의해 놓고 처리하고 있다.

컴파일 결과가 html 과 js 파일이 나오게 되는데, 이클립스에서는 변경을 감지하지 몬하고 이러고 계신다...

그래서 항상 컴파일하고 refresh 를 해주었는데... 문득 책을 보다 보니 eclipse.refreshLocal 이라는 Ant Task 가 있다는 것을 보고서 바로 실행!!!

Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

위의 에러를 뱉어내는... 국내 카페/블로그 검색해보았지만 해결책을 찾지 못하였다.
(저 Ant Task 는 org.eclipse.core.resources 에 있다는 것을 찾았지만 라이브러리에 추가해도 실패...)

구글링 도중 무시하고 지나쳤던 페이지의 내용을 해보았더니.... 꼭 Ant 에서 안해도 되는 것을 확인해버렸다.
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-21071.html

이클립스에서 Window - Preferences - General - Workspace 에서 Refresh automatically 를 체크한다.

그럼 리소스가 변경되면 지가 알아서 refresh 를 해준다...

자동으로 리프레쉬를 하다보면 이클립스에 부담을 줄 수는 있을 것 같지만 요즘은 워낙 사양들이 좋은지라 그냥 달리면 될 것 같구만요...

Posted by 자수씨
, |
보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

거참... 자바 개발자로 남으려고 하니 배워야 할게 너무 많습니다.

한참 빠져 살고 있는 RCP 외에도 OSGi 가 자꾸만 눈에 밟히네요...

먼가 큰 도움을 줄 것만 같은???

회사내에서 강의라도 하면 빨리 이해할 수 있겠지요.


랄랄라~

Posted by 자수씨
, |

오라클에서 테이브를 만들고 iBatis 쿼리를 뚝딱뚝딱 만들고 테스트를 했는데..

안된다....  type = #type# 이런식으로 썼는데 안된다...

쿼리로 돌려보면 잘된다...

무슨 문제일까하고 봤더니....

type 컬럼을 CHAR 로 잡았던 것이다..... (된장) VARCHAR 로 잡아야 하는데..

털썩... 내 2시간은 에어컨 바람과 함께 사라지다~

Posted by 자수씨
, |

Portet 에서 RSS reader 를 구현하기 위해서 관련 라이브러리를 찾다가 찾은 것...

ROME: RSS and Atom Utilities

ROME is an set of open source Java tools for parsing, generating and publishing RSS and Atom feeds. The core ROME library depends only on the JDOM XML parser and supports parsing, generating and converting all of the popular RSS and Atom formats including RSS 0.90, RSS 0.91 Netscape, RSS 0.91 Userland, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, and Atom 1.0. You can parse to an RSS object model, an Atom object model or an abstract SyndFeed model that can model either family of formats.

 - 다양한 형식을 지원하는 것 같다? ㅋㅋㅋ
 - JDOM 1.0 이상을 필요로 한다. [관련링크]

사용법은 의외로 간단하다


reader 외에도 다른일을들 하는 것 같은데.... 귀찮아서 이번에는 패스요~


Posted by 자수씨
, |
흠... 프로젝트 초창기부터 봐왔던 오류였는데...

고쳐진줄 알았던 것이였지만... 그게 아니였었다.

파일을 읽을 때 발생하는 익셉션이므로

C로 코드를 짠 후에 JNI 를 이용해서 파일을 읽고 넘겨주면 익셉션은 없겠지??

JNI 는 지금부터 시작~

Posted by 자수씨
, |
출처: http://jcp.org/aboutJava/communityprocess/mrel/jsr056/index2.html

웹 스타트로 어플리케이션을 개발하면서 오프라인 모드로 만들까 했는데

알아서 제공을 해주니 이렇게 좋을 수가~~

하지만 영어라서 해석이 필요하네요;;;;


일단 설명은 다음과 같습니다. (해석 준비...)

offline-allowed element: The optional offline-allowed element indicates if the application can work while the client system is disconnected from the network. The default is that an application only works if the client system is online
뭐 대충 네트워크가 연결안되도 클라이언트에서 실행 가능하게 한다라는 뜻이겠죠~

shortcut element: The optional shortcut element can be used to indicate an application's preferences for desktop integration. The shortcut element and its sub-elements provide hints that the JNLP Client may or may not use. The shortcut element can contain the optional online attribute, and the two optional sub-elements desktop and menu.
하위 element를 통해서 jnlp client의 바로가기를 만들지를 결정한다라는 뜻인 듯...

online attribute: The optional online attribute can be used in a shortcut element to describe the application's preference for creating a shortcut to run the application online or offline. If the value is "true" the application prefers to create a shortcut that will launch the application online. If the value is "false" the application prefers to create a shortcut that will launch the application offline.
온라인용으로 만들지 오프라인용으로 만들지를 결정한다는 이야기 인가.. 흠흠 역시 해봐야 알 듯....

desktop element: The optional desktop element can be used to indicate an application's preference for putting a shortcut on the users desktop.
바탕화면에 만들지를 결정???
 
menu element: The optional menu element can be used to indicate an application's preference for putting a menu item in the users start menus. The menu element can have a sub-menu attribute.
시작 - 프로그램에서 보일 메뉴???? 이것도 해봐야 알겠습니다.

submenu attribute: The optional submenu attribute can be used to indicate an application's preference for where to place the menu item, and can contain any string value.
하위 메뉴의 보여질 이름인듯

The shortcut element provides hints to the JNLP Client which may or may not be used.


뭐 대충 알았으니 이제 실전에 돌입해야 겠네요!!

Posted by 자수씨
, |
그냥 로컬에서 프로그램을 실행시켰을 때는 javaw.exe 프로세스가 잘 죽었는데

Java Web Start를 통해서 띄우게 되면 javaw.exe 프로세스가 죽지 않는다.

무언가 문제가 있는 상황...

Display 랑 Shell 들도 공유 안하고 잘 썼다고 생각했는데...

땜빵식이긴 하지만 이렇게 하면 문제는 해결됩니다.



흠;;; 먼가 맘에 들지는 않지만~~

급하니깐 고고싱!!!

Posted by 자수씨
, |

회사 프로젝트로 로컬편지함을 만들고 막상 팀원을에게 테스트를 하려고 보니

별의별 익셉션들이 떨어지고 문제가 좀 많이 있었습니다.

문제는 Java Web Start가 꼬인부분도 있었고 인증서가 꼬인부분도 있었습니다.

구글을 뒤져봐도 답은 안나오는 상태...

회사에서 친한 누나와 이야기를 나누던 중에 해결 방법을 찾았습니다.


위 문제로 고민이 많았었는데 누나와 아저씨의 도움으로 해결하였습니다. ㅋㄷ

만세~

Posted by 자수씨
, |
출처: http://www.caucho.com/resin-3.1/doc/jaxb-annotations.xtp

@XmlElements
다중 @XmlElement를 정의할 때 사용
super class의 sub class 들을 따로 관리할 때 사용하면 용의할 것 같음

XML Document



@XmlElementWrapper
list 형식의 Element를 serialized 하기 위한 annotate

XML Document



@XmlJavaTypeAdapter
-_-;;;;;  설명하기에는 영어실력이 딸려서.. ㅠ_ㅠ
XmlAdapter를 이용해서 Java Type에 맞게 convert해주는 것을 정의하는 것 같음....

XML Document



@XmlRootElement
xml에서 최상위 노드를 annotate.
하지만 하위노드에서도 사용을 한다.. 이유는???

XML Document



@XmlTransient
unserialrizable을 mark.....
이걸 찾으려고 이 고생을... ㅠ_ㅠ XmlAccessorType.FIELD 로 해도 되는 거 였구나...
예제는 없습니다. ㅋㅋㅋ


@XmlValue
하나의 property나 field만 있을 경우 해당 property나 field에 serialized.

XML Document

Posted by 자수씨
, |

글 보관함

최근에 받은 트랙백