Programming/jsp2014. 4. 18. 19:17
학원에서 배울 commons 패키지...

타입에 맞게 값을 받아오도록 도와주는 패키지
However, there are some occasions where dynamic access to Java object properties (without compiled-in knowledge of the property getter and setter methods to be called) is needed. Example use cases include:
[링크 : http://commons.apache.org/proper/commons-beanutils/]

라이브러리 디버깅등의 목적으로 로그를 남기는 것을 도와주는 패키지
When writing a library it is very useful to log information. However there are many logging implementations out there, and a library cannot impose the use of a particular one on the overall application that the library is a part of.
[링크 : http://commons.apache.org/proper/commons-logging/]

XML에 저장한 값들을 불러 초기화에 쓰기 용이하도록 도와주는 패키지
Many projects read XML configuration files to provide initialization of various Java objects within the system. There are several ways of doing this, and the Digester component was designed to provide a common implementation that can be used in many different projects.
[링크 : http://commons.apache.org/proper/commons-digester/]

'Programming > jsp' 카테고리의 다른 글

tomcat war deploy  (0) 2014.04.23
javax.servlet.http cannot be resolved?!?!  (0) 2014.04.23
maven  (0) 2014.04.18
jsp EL/JSTL 사용법  (0) 2014.04.13
jsp / el과 jstl  (0) 2014.04.13
Posted by 구차니
Programming/jsp2014. 4. 18. 16:50
project object model (POM) 어쩌구 하는데 먼진 모르겠고
'프로젝트 빌드관리를 위한 툴' 이거 하나면 정리 되려나?

아무튼 이녀석이.. 
프로젝트 추가시 빌드할 목록에 자동으로 추가하고
자동으로 이클립스에서 저장하면 빌드하는 등의 역활을 하는 것으로 보인다.

Maven's Objectives

Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with:

  • Making the build process easy
  • Providing a uniform build system
  • Providing quality project information
  • Providing guidelines for best practices development
  • Allowing transparent migration to new features
[링크 : http://maven.apache.org/what-is-maven.html
[링크 : http://maven.apache.org/


그리고 이클립스 특유의 프로젝트 폴더 구조인
java / resource / webapps 가 바로 maven에서 관리하는 것으로 보여진다.
(물론 pom.xml은.. 이클립스에서 maven plugin - m2eclipse - 가 알아서 하니까 존재도 몰랐네..)
간단하게 생각하세요. 
maven 의 주임무는 라이브러리(dependency) 목록의 관리가 되겠습니다. (pom.xml) 
여기서 pom.xml은 협업개발자들이 모두 공유하기때문에 신경쓸일없습니다. 
자기 업무에 필요한 라이브러리(dependency)를 추가했을경우 커밋만해주면 끝. 
pom.xml 에 설정한대로 필요한 모든 라이브러리를 관리해준다.(등록/삭제) 

maven 으로 웹프로젝트시 폴더구조가 특이하죠? 
src/main/java => 이곳에 모든 자바소스, 패키지들이 들어갑니다. 
src/main/resource => 이곳에 xml 설정파일들이 들어갑니다. 
src/main/webapps => 이곳에 jsp (프레젠테이션) 부분들이 모두 들어갑니다. 

[링크 : http://www.okjsp.net/bbs?seq=158969]


'Programming > jsp' 카테고리의 다른 글

javax.servlet.http cannot be resolved?!?!  (0) 2014.04.23
apache commons / beanutils , logging, digester  (0) 2014.04.18
jsp EL/JSTL 사용법  (0) 2014.04.13
jsp / el과 jstl  (0) 2014.04.13
jdbc는 DESCRIBE를 지원안해?  (0) 2014.04.11
Posted by 구차니
쉬면서 쉬는게 아니라고 하면 웃기겠지만
회사다닐때 보다 더 빡센거 같고고시간도 없고 돈도없고
내가 왜 이덜 듣고있나 역시 학원에 대한 환상이 있었던걸까까 싶으면서도


나혼자 책보고 이렇게 열심히 할리는 없잖아?라는 현실에
자꾸만 마음이 꺽인다.... 
Posted by 구차니
Programming/C++ STL2014. 4. 16. 17:14
펑터
c++의 객체중 컨스트럭터를 이용하여 마치 함수처럼 사용할 수 있는 객체를 의미하는데..
kdlp문서를 참고하여 고민을 해보니
동적 타입 바인딩일 통해(템플릿?) 타입에 특화되어 더욱 빠르게 타입별 inline으로 변환될 수 있는
특수한 형태의 클래스라고 생각이 되어진다.

[링크 : https://kldp.org/node/58727]
[링크 : http://printf.egloos.com/1807595]
[링크 : http://frompt.egloos.com/2415603]
[링크 : http://en.wikipedia.org/wiki/Function_object]
[링크 : http://en.wikipedia.org/wiki/Functor_(C++)]



람다
원래 함수언어에서 사용하던 녀석인데.. 여전히 멀하는 녀석인지 모르겠지만..
C++에서는 펑터로 사용하는게 귀찮아서 이를 더욱 간편하게 사용하는 용도로
이름이 없는 객체 식으로 운영되는걸로 들었는데... 써보질 않으니 알수가 없다. ㅠㅠ

[링크 : http://frompt.egloos.com/2767144

'Programming > C++ STL' 카테고리의 다른 글

std::endl  (0) 2015.06.24
c++ 현변환 연산자(cast operator in c++)  (0) 2015.01.26
cpp static 변수 및 메소드  (0) 2014.03.18
cpp scope 연산자  (0) 2014.03.18
cpp class에서 변수값을 미리 선언 못하는 이유  (0) 2014.03.15
Posted by 구차니
14.04 LTS용 리파지터리에는 추가 된 것으로 보인다.
[링크 : http://packages.ubuntu.com/trusty/mariadb-server-5.5]
[링크 : http://packages.ubuntu.com/trusty/mariadb-client-5.5]

Trusty는 14.04의 이름이다.(Trusty Tahr)
[링크 : https://wiki.ubuntu.com/TrustyTahr/ReleaseSchedule]




12.04 LTS 등에서는 별도의 리파지터리를 추가해서 설치해야 하는 것으로 보여진다.
아래는 12.04 LTS에서 2014/04/16 일 검색한 결과
$ sudo apt-cache search maria
libmng-dev - M-N-G library (Development headers)
libmng1 - Multiple-image Network Graphics library
maria - reachability analyzer for Algebraic System Nets
maria-doc - documentation of Maria 

[링크 : http://mcchae.egloos.com/11020293]
[링크 : http://tecadmin.net/install-mariadb-5-5-in-ubuntu

'프로그램 사용 > mysql & mariaDB' 카테고리의 다른 글

mysql 데이터 베이스를 이용한 ip 주소 필드 타입  (0) 2014.05.11
mysql trigger 지원  (0) 2014.04.25
mysql / mariaDB  (1) 2014.04.16
mysql transaction  (0) 2014.04.08
mysql grant 문  (0) 2014.04.01
Posted by 구차니
Linux/Ubuntu2014. 4. 16. 02:53
어디 시간인 기준인지 모르겠다만.. 아무튼 17일날 2014년 LTS 공개!!!
부디 가볍게 구성되었길 ㅠㅠ
그리고 Gnome 제발.. 구버전 형태의 기본 윈도우 매니저로 돌아오길 ㅠㅠ

 London 15th April 2014: Canonical today announces Ubuntu 14.04 LTS will be released on 17th April 2014, bringing a new level of reliability, performance and interoperability to cloud and scale out environments with support and maintenance for five years.

[링크 : http://insights.ubuntu.com/news/ubuntu-14-04-lts-the-cloud-platform-of-choice/

Posted by 구차니
악의 축 볼드모드에 대해
창시자님이 빡쳐서 이름만 바꾼 듯한... 느낌인데

그러고보니
openoffice -> libreoffice에 이어서
mysql -> mariaDB
그리고
java -> openjdk 이런식으로

oracle이 인수한건 죄다 개명해서 새롭게 태어나는건가?

[링크 : https://mariadb.org/]

'프로그램 사용 > mysql & mariaDB' 카테고리의 다른 글

mysql trigger 지원  (0) 2014.04.25
mariaDB 우분투에 설치하기  (0) 2014.04.16
mysql transaction  (0) 2014.04.08
mysql grant 문  (0) 2014.04.01
mysql 암호변경하기  (0) 2013.02.21
Posted by 구차니
댓글관련해서
대개 re_level이나 sequence에 깊이 정보를 저장하는데
그게 아니라 1:N으로 구성해서
콤마로 구분해 저장하면 그게 1:N으로 하는걸까? 하는 의구심이 든다.

아무튼 steamTokinzer등으로 콤마 분류해서
글 숫자를 N개 해주면
어떻게 되지 않으려...나?

[링크 : http://www.sqler.com/bSQLQA/451491]
[링크 : http://www.gurubee.net/article/46467]
[링크 : http://database.sarang.net/?inc=read&aid=34711&criteria=oracle]


2014.04.19 추가
예제를 보니.. 이런 1:N 이나 N:M 관계에서는
db table을 새로 만들고
그 테이블 값을 통해 join으로 1:N 관계 값을 추출하는 것으로 생각이 되네...
[링크 : http://stackoverflow.com/questions/3397349/meaing-of-nm-and-1n-in-database-design ]
[링크 : http://stackoverflow.com/questions/8706971/complex-mysql-query-1-n-relationship ]

'Programming > 데이터베이스' 카테고리의 다른 글

데이터베이스 1:n 관계 구현  (0) 2016.02.29
CRUD  (0) 2014.05.17
데이터베이스 - 키 관련  (0) 2014.04.28
카티젼 프로덕트, join  (0) 2014.04.26
3-tier 구성?  (0) 2014.04.14
Posted by 구차니
개소리 왈왈/자전거2014. 4. 15. 13:46
자다 일어나서 멍 때리는데
자전거 대행진 한다고 해서 후다닥 신청 ㅋㅋ
오늘 10시 부터 하는 바람에 사이트 폭!주!


큰맘먹고 날 꼬신 분과 맞춰가기 위해 상급자로 ㅋㅋㅋ
끄아아 백수에게 만원은 크다규 ㅠㅠ


Posted by 구차니
웹서비스 / 서버 구성 / IDC 센터 인증에 대해서
3 tier라는 용어가 나오는데

원래는 서버 구성에 대한 것에서 파생되어
서비스를 3개의 물리적 서버로 분리하여 미들웨어를 통해 확장성을 꾀하는걸로 용어가 확장/변질된 것으로 보인다.

[링크 : http://blog.naver.com/stkang11/36426893]
[링크 : http://blog.naver.com/image07/60019414768]
[링크 : http://blog.lemonbrain.net/21]
[링크 : http://www.hoons.net/lecture/view/472]
[링크 : http://dpnm.postech.ac.kr/thesis/97/kissok/powerpoint.pdf]



검색하다 보니 IDC에는 인증관련해서 IDC 서비스 품질관련해서 용어가 존재한다.
Tier 1 (99.671%) status would allow 1729.224 minutes
Tier 2 (99.741%) status would allow 1361.304 minutes
Tier 3 (99.982%) status would allow 94.608 minutes
Tier 4 (99.995%) status would allow 26.28 minutes 

[링크 : http://en.wikipedia.org/wiki/Data_center
[링크 : http://en.wikipedia.org/wiki/Teleprocessing_monitor]  

'Programming > 데이터베이스' 카테고리의 다른 글

데이터베이스 1:n 관계 구현  (0) 2016.02.29
CRUD  (0) 2014.05.17
데이터베이스 - 키 관련  (0) 2014.04.28
카티젼 프로덕트, join  (0) 2014.04.26
database 1:N 구성?  (0) 2014.04.15
Posted by 구차니