My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
20100926  
2010-09-26 멘토링 정리
2주차, 멘토링
Updated Sep 26, 2010 by sungkipyung@gmail.com

Restful

  • soap 기반의 web service의 한계를 극복하기 위하여 등장
  • http 기반으로 만들어 졌으며 다른 기종 통합 환경을 구축한다.
  • 쉽고 간단하다.
  • 표준 규약은 없다.
  • url interface는 동사형이 아닌 명사형으로 한다. (http://localhost/swm/mantees
  • No session, no cookie => state less
  • component - REST - {Android, iPhone, iPad, Web}

Jersey

  • 요청한 데이터가 존재하지 않을 때 응답코드를 통한 에러 헨들링이나 프로토콜을 정의하여 리턴 값을 참조하도록 한다.
  • JPA, JDO(모든 매체 연결 가능 by data nuclear)

cloud computing

  • main frame, idc
  • PaaS(Platform as a Service), SaaS(Service as a Service), IaaS(Infrastructure as a Service)

여담

  • 기술은 금방 바뀌기 때문에 불안전 합니다.
  • 도메인!, 비즈니스를 염두해 두셔야 합니다.
  • 소자본으로 창업이 가능하다.( without IDC) google, amazon hosting service

Big Table

  • key-value storage(like HashMap)
  • indexing
  • load valancing

HSQL?

  • Hibernate

JPA, JDO

  • ORM 처럼 추상화 시켜준다.
  • JDO를 쓸 것이다.
  • google web engine은 Big Table, Glass Fish로 옮겨 탈 경우를 염두해두자.

JDO

  • default 생성자가 있어야 한다.
  • annotation 기반
  • jdocnofig.xml로 설정 가능
  • 리턴 타입은 proxy 객체로 detach(proxy를 까준다.)
  • JPA toplink, hibernate, JDO 참고
  • JDO -> Big Table(jdoconfig.xml 로 환경설정)

JAX-RS

  • The Java API for RESTful web Service
  • annotation driven
  • App Engine에서 Jax-Binding : JSON, XMl이 지원 되는지 알아 볼 것

공지

  • 문서화가 중요합니다. wiki에 정리하세요
  • REST framework design(어떠한 환경에서 개발을 할 것인가)
  • url 설계
  • Jsersey representation (JAXB - XML or JSON 직렬화 추상화 시키는 방법) 조사 및 wiki 정리
Powered by Google Project Hosting