[ITOnAir]데브멘토 동영상, 장선진 소프트웨어인라이프 대표 (2/2부)_Dev & Tech Festival
<!--StartFragment-->소셜네트워크게임 시장 현황구글 앱 엔진으로 무엇을 개발할 수 있는가유지보수 비용, 확장성, 관리성 등 구글 앱 엔진의 장단점구글 앱 엔진을 활용한 SNG 개발하기 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />본 영상은 데브멘토 ITOnAir (tv.devmento.co.kr) 또는 다음tv팟(tvpot.daum.net/pot/Itonair)을 통해 웹과 모바일로 시청하실 수 있습니다.
12. Google App Engine의 정의
SDK API
Operating system App Runtime
Fault tolerance Load balancing
Hardware Networking
• Google App Engine이란 Google의 인프라스트럭처를
이용하여 원하는 웹 어플리케이션 등을 쉽게 개발/배포/
관리 할 수 있는 Cloud Computing을 지원하는 플랫폼이
다.
13. Google App Engine의 장단점
• Google App Engine을 사용할 경
우 다음과 같은 장단점이 있다.
• 장점
– 유지보수 비용 절감
– 전세계적인 확장의 용이성
– 관리의 용이성
• 단점
– GAE 관련 기술 종속
– 데이터 누수 및 안정성 부족
15. Google App Engine의 실행환경
Python기반의 실행 환경 Java 기반의 실행 환경
• Release: 2008.04 Release: 2009.08
• GAE SDK 1.4.2 GAE SDK 1.4.2
• Python 2.5.2 JDK 1.6
– C 기반의 확장을 지원하지 ◦ EJB와 같은 JavaEE 관련 기술
않음. 을 모두 지원하지 않음.
• Django ◦ Thread 생성을 지원하지 않음.
– Webapp라는 간단한 웹 프레 Servlet(JSP)
임웍 지원 ◦ Google Web Toolkit(GWT)
16. GAE for Java 개발 환경
Java SDK
◦ http://java.sun.com/javase/downloads/index.jsp
Google Web Toolkit
◦ http://code.google.com/intl/ko-KR/webtoolkit/
Eclipse IDE
◦ http://www.eclipse.org/downloads/
Google Plugin for Eclipse, for Eclipse 3.5 (Galileo):
◦ http://dl.google.com/eclipse/plugin/3.5
17. GAE for Java 지원 기술 사항
• Java Data Objects (JDO) XML processing APIs
• Java Persistence API (JPA) including DOM, SAX, and
XSLT
• Java Server Faces (JSF) 1.1 -
2.0 ** HTTP Session support
(need to enable explicitly)
• Java Server Pages (JSP) +
JSTL *** JRuby (Ruby)
Jython (Python)
• Java Servlet API 2.4
Quercus (PHP)
• JavaBeans™ Activation
Framework (JAF) Rhino (JavaScript)
• Java Architecture for XML Spring Framework
Binding (JAXB)
• JavaMail **: JSF 1.2 and JSF 2.0 should also work if you set
the com.sun.faces.enableMultiThreadedStartup
context parameter to false to your web.xml file.
*** JSP session beans are not supported; to enable
EL parsing, add <%@page isElIgnored="false" %>
to your JSP.
http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine
18. GAE for Java 미지원 기술 사항
• Enterprise Java Beans (EJB) Remote Method
• JAX-RPC Invocation (RMI)
• JAX-WS Apache POI
• Java Database Connectivity ICEFaces
(JDBC) ** Hibernate
• Java EE™ Connector
Architecture (JCA)
• Java Management
Extensions (JMX)
• Java Message Service (JMS)
보안 ‘sandbox’ 환경에서 구동
• Java Naming and Directory - 쓰레드를 독자적으로 실행할 수 없음
Interface (JNDI) - 로컬 파일 시스템에 접근할 수 없음
- Socket 오픈 할 수 없음
http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine
20. Google App Engine 아키텍처
Google App Engine SDK
Dev WEB
Uploader DEV API
Server
Virtual Java Virtual Data
Service Framework Store
Account
Admin
Python VM Java VM Console
Service
Cron URL 패치
Service Service
STD Lib Application
XMPP Image
Google Application Engine Data Store
Service Service
BigTable
Google File System
Mail
Memcache
Service
Google Server Cluster
20
22. Google Apps Marketplace
• The Google Apps Marketplace offers products and services designed for Google users,
including installable apps that integrate directly with Google Apps. Installable apps are easy
to use because they include single sign-on, Google's universal navigation, and some even
include features that integrate with your domain's data.
• http://www.google.com/enterprise/marketplace/