1 / 26

Java 2 Enterprise Edition (J2EE) 의 CBD 방법과 지원도구

PD99- 부서번호 - 일련번호. 별표 4( 국문 ). Java 2 Enterprise Edition (J2EE) 의 CBD 방법과 지원도구. 2001. 5. 30. 이 우 진 woojin@etri.re.kr S/W 공학연구부 - 컴포넌트공학연구팀. 컴퓨터  소프트웨어기술연구소. 목 차. CBD 개발 방법의 필요성 J2EE 의 구조 Enterprise Java Beans (EJB) 프로그래밍 J2EE 지원 도구 MS .Net 의 개요 J2EE 와 .Net 의 비교

dustin
Télécharger la présentation

Java 2 Enterprise Edition (J2EE) 의 CBD 방법과 지원도구

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PD99-부서번호-일련번호 별표4(국문) Java 2 Enterprise Edition (J2EE)의 CBD 방법과 지원도구 2001. 5. 30. 이 우 진 woojin@etri.re.kr S/W 공학연구부-컴포넌트공학연구팀 컴퓨터소프트웨어기술연구소

  2. 목 차 • CBD 개발 방법의 필요성 • J2EE의 구조 • Enterprise Java Beans (EJB) 프로그래밍 • J2EE 지원 도구 • MS .Net의 개요 • J2EE와 .Net의 비교 • eBusiness 개발자의 변화 • Q & A

  3. eCommunity 산업 추세 $250M/ $1,017M/ $1,713M $3,252M/ $5,864M/ $179B $207B $240B $277B $318B Source : IDC 2000, eCommunity Software, 2000-2004, as Percent of All Software

  4. eBusiness Speed

  5. eBusiness의 성공 요건 Good Item Time to Market 개발 기간 단축 • Divide-and-conquer • Parallel Processing • Pipelining 재사용 병행 개발 Cost 감축

  6. 테스팅 & 디버깅 요구분석 개략설계 상세설계 유지보수 구현 S/W 개발 방법론의 변천 S/W Development Phase : integration mechanism : reuse

  7. 컴포넌트 기반 개발 영역 모델링 컴포넌트 식별 컴포넌트 다이어그램 생성 (인터페이스 정의) 컴포넌트별 상세 설계 • independent • iterative • incremental

  8. 방 화 벽 방 화 벽 전형적인 3-계층 구조 프리젠테이션 계층 RMI/IIOP 비즈니스 계층 데이타베이스 접속 API HTTP HTML 클라이언트 시스템 데이터베이스 계층

  9. J2EE의 5 –계층 구조

  10. EJB 프로그래밍(1/5) Enterprise JavaBeans client Enterprise JavaBeans Enterprise JavaBeans Vendor 1 IIOP, RMI Java IDL client EJB Server EJB Server IIOP IIOP Vendor 2 CORBA client Vendor 4 Vendor 5 IIOP Application Server Vendor 3

  11. EJB 프로그래밍(2/5) Client 프로그램 Container Lookup(JNDI 이용 Bean 찾기) EJB Bean Home Interface Home Interface 가져오기 Home을 이용 빈 생성 Remote Interface Remote Interface 사용 Context initial = new InitalContext(); Object objref = initial.lookup(“MyConverter”); ConverterHome home = (ConverterHome) PortableRemoteObject.narrow(objref,ConverterHome.class); Converter currencyCon = home.create(); Double amount = currencyCon.dollarToYen(100.00); Other EJB Beans Application Server

  12. EJB 프로그래밍(3/5) • Two Type of Beans : Session Bean • Executes on behalf of a single client. • Can be transaction-aware. • Updates shared data in an underlying database. • Does not represent directly shared data in the database, although it may access and update such data. • Is relatively short-lived. • Is removed when the EJB server crashes. • Stateful vs Stateless Session Beans

  13. EJB 프로그래밍(4/5) • Two Type of Beans : Entity Bean • Represents data in the database. • Is transactional. • Allows shared access from multiple users. • Can be long-lived. • Survives crashes of the EJB server.. • Persistence Type • Container Managed Persistence (CMP) • Bean-Managed Persistence (BMP)

  14. EJB 프로그래밍(5/5) Deployer Tool Deployment Descriptor Application Assembler deploy Combine EJB-JARs Bean Provider Application Server (Container + EJB Server)

  15. J2EE 1.2, J2EE 1.3 • - EJB 1.3, EJB 2.0 J2EE 지원 도구 J2EE 표준 Application Server Development Tools • Weblogic 6.0 • Gemstone • WebSphere • Cool:Jeo 2.0 • Together 5.0 (TogetherSoft) • Cobalt 1.0 (ETRI)

  16. 코블 프로그램 연계기 응용컴포넌트 추출기 아키텍쳐 모델러 컴포넌트 합성기 컴포넌트 개조기 웹 프로그램 변환기 영역 모델러 코드 생성기 컴포넌트 모델러 DB 연계기 COBALT 도구 개요 전체 통합 G U I 컴포넌트 생성 지원 도구 컴포넌트 조립 지원도구 컴포넌트 변환 도구 생성 통합 G U I 조립 통합 G U I G U I 모델 정보 관리기 모델 정보 관리기

  17. 컴포넌트 생성지원 도구의 흐름도 Domain Modeling Describe Use Case Model Describe Object Model Describe Object Sequence Diagram Initialize Component Diagram Identify Components Component Modeling Edit Component Diagram Describe Component Sequence Diagram Add Extracted Components Initialize Component Class Diagram Component Design Edit Component Class Diagram Import/Export DB Tables Describe Class Sequence Diagram SRE Support Code Gen. Deploy Components Generate EJB Testing Client Edit Source Code

  18. MS .Net에 관하여 • 2000년 중반에 MS에서 차세대 인터넷(Next Generation Internet)으로 발표됨 • 웹 서비스(web service)를 지원하는 새로운 플랫폼 • 웹 서비스를 통한 인터넷 상에서 어플리케이션의 통합 • 표준 프로토콜(SOAP) 을 이용한 다양한 클라이언트 환경 제공 • 느슨한(loose) 통합을 지원하는 분산 컴퓨팅 실현 • 다양한 언어를 지원하는 개방형 프로그래밍 플랫폼 제공

  19. 서비스 제공자 클라이언트 Web Service SOAP DB server SOAP HTTP Web Service Web Application SOAP SOAP = HTTP + XML 다양한 클라이언트 환경 .Net 환경

  20. VB C++ C# JScript … Visual Studio.NET Common Language Specification ASP.NET Windows Forms Data and XML Base Class Library Common Language Runtime Windows COM+ Services .Net 프레임워크

  21. J2EE와 .Net 비교 (1/4) • 결합(integration) 관점 • 결합하기 위해 미리 알아야 하는 정보의 양 • 결합하는데 드는 노력 • 분리-재결합을 위한 노력 • Component • 견고한(tight) 결합을 통한 시스템 통합 방법 • Web Service • 느슨한(loose) 결합을 통한 어플리케이션의 통합 허용

  22. 기술 .Net J2EE 프로그래밍 툴 VisualStudio.NET - 분산 프로토콜 DCOM, SOAP RMI/IIOP 프리젠테이션 계층 프로그램 모델 ASP.NET Servlet, JSP 비즈니스 계층 하부구조 COM+ EJB 보안 API COM+Security Call Context JAAS 메시지 큐 API MSMQ JMS 1.0 비동기식 컴포넌트 Queued (COM+) Message Driven (EJB 2.0) Naming & Dir. Service ADSI JNDI 데이터베이스 계층 분산 트랜잭션 MS-DTC JTS 관계형 DB API ADO.NET JDBC 2.0 메인 프레임 DB 연결 Host Integration Server Java Connectors 프레임워크 기술 전자상거래 프레임워크 Commerce Server - B2B 통합 BizTalk Server - J2EE와 .Net 비교 (2/4) * Source: “Java 2 Enterprise Edition(J2EE) versus .Net Platform : Two vision of eBusiness,” ObjectWatch, March 2001.

  23. J2EE와 .Net 비교 (3/4) * Source: “Understanding the component and Web Services Market,” CBDi forum, May 2001.

  24. Java Many Sun One APIs J2EE 1.4 ? .Net J2EE 1.3 All Future Microsoft Many J2EE와 .Net 비교 (4/4) Microsoft .Net SUN J2EE 프로그래밍 언어 웹 서비스 프레임워크 컴포넌트 컨테이너 수행 플랫폼 * Source : “Platforms for Components and Web Services,” CBDi Forum, April 2001

  25. eBusiness 개발자 관점의 변화 Programming Language Domain knowledge Programming Language Domain knowledge + + + + Programming skills platform Middleware OS OS

  26. Discussion • Thanks • Q & A

More Related