1 / 24

열차 예약과 조회

열차 예약과 조회. 5 조. 목차. DB 구조 Process & UI Code. DB 테이블. ROUTE 테이블. CITY 테이블. INTERVAL 테이블. TRAIN 테이블. TIME 테이블. SEAT 테이블. PASSENGER 테이블. RESERVATION 테이블. DB 테이블. Process (1) – Top menu. 로그인 회원가입. Process (2) – Join-1. 아이디 : 이름 비번 : . 동일한 아이디가 있는 경우는 ERROR.

ariane
Download Presentation

열차 예약과 조회

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. 열차 예약과 조회 5조

  2. 목차 • DB 구조 • Process & UI • Code

  3. DB 테이블

  4. ROUTE 테이블

  5. CITY 테이블

  6. INTERVAL 테이블

  7. TRAIN 테이블

  8. TIME 테이블

  9. SEAT 테이블

  10. PASSENGER 테이블

  11. RESERVATION 테이블

  12. DB 테이블

  13. Process (1) – Top menu • 로그인 • 회원가입

  14. Process (2) – Join-1 • 아이디 : • 이름 • 비번 : 동일한 아이디가 있는 경우는 ERROR 반드시 입력!! ENTER만 치는 경우 ERROR 반드시 입력!! ENTER만 치는 경우 ERROR [ ISSUE ] 자바와 오라클의CHARACTERSET

  15. Process (2) – Join-2 START stmt, psmt, conn, strID,strName,strPWD…... strID 입력 사용자아이디 : ““ strName 입력 이름 : ““ 비밀번호 : ““ strPWD 입력 CLOSE

  16. Process(3) – Log in 아이디 : 비번 :

  17. Process(3) – Log in START strID, strPWD 사용자 ID 비밀번호 입력 Hello! ssUser 입력 ID, 입력 비번이 일치 아이디, 비번 다시확인! STOP

  18. 삭제 • 되돌아가기 • 예약조회 • 예악하기 • 목적지 • 서울 • 대전 • 광주 • 목포 • 출발지 • 서울 • 대전 • 광주 • 목포 • 호남선 • 경부선 • 경춘선

  19. 예약시 테이블 접근

  20. Table Access Interface • public interface DataAccess { • public ResultSetselectAct(ArrayList<?> data); • public intinsertAct(ArrayList<?> data); • public intdeleteAct(ArrayList<?> data); • public intupdateAct(ArrayList<?> data); • }

  21. TABLE n CLASS SELECT PUSERID,PNAME FROM PASSENGER WHERE PNAME=‘장지윤’ PUSERID PNAME WHERE PNAME=‘장지윤 selectAct(ArrayList al) deleteAct(ArrayList al) updateAct(ArrayList al) insertAct(ArrayList al)

  22. Menu Factory Pattern

  23. Up & Down Cast

  24. 구성의 문제점

More Related