Time Management GNU TIMES 05` 정일웅 06` 강주효 07` 이병준 09` 조민정
목차 1. 동적관점 리소스 프로젝트 학습현황 2. 리소스 & 스터디 프로젝트 세부일정 3. 상세설계
동적관점
EchoServer (Source) import java.io.*; import java.net.*; import java.util.*; public class TCPEchoClient{ private static InetAddress host; private static final int PORT = 1234; // 포트번호 1234 로 지정 public static void main(String[] args){ try{ host = InetAddress.getLocalHost(); } catch(UnknownHostException uhEx){ System.out.println("Host ID not found!");// 접속 실패시 “Host ID not found!” 출력 System.exit(1); } accessServer(); // 접속 성공시 서버접속 } // 서버 접속, 실패 예외처리 한 것 private static void accessServer(){ Socket link = null;//Step 1. try{ link = new Socket(host,PORT);//Step 1. Scanner input = new Scanner(link.getInputStream()); PrintWriter output = new PrintWriter( ink.getOutputStream(),true); //Set up stream for keyboard entry... Scanner userEntry = new Scanner(System.in); String message, response; do { System.out.print("Enter message: "); message = userEntry.nextLine(); output.println(message); response = input.nextLine(); System.out.println("\nSERVER> " + response); }while (!message.equals("***CLOSE***")); // 텍스트를 스트링으로 받아서 message 출력 } catch(IOException ioEx) { ioEx.printStackTrace(); } finally { try { System.out.println( "\n* Closing connection... *"); Link.close(); } catch(IOException ioEx) { System.out.println("Unable to disconnect!"); System.exit(1); }
EchoClient (Source) import java.io.*; import java.net.*; import java.util.*; public class TCPEchoClient { private static InetAddress host; private static final int PORT = 1234; public static void main(String[] args) { try{ host = InetAddress.getLocalHost(); } catch(UnknownHostException uhEx){ System.out.println("Host ID not found!"); System.exit(1); } accessServer(); } private static void accessServer(){ Socket link = null; try{ link = new Socket(host,PORT); Scanner input = new Scanner( link.getInputStream()); PrintWriter output = new PrintWriter(link.getOutputStream(),true); //Set up stream for keyboard entry... Scanner userEntry = new Scanner(System.in); String message, response; do{ System.out.print("Enter message: "); message = userEntry.nextLine(); output.println(message); response = input.nextLine(); System.out.println("\nSERVER> " + response); }while (!message.equals("***CLOSE***")); } catch(IOException ioEx){ ioEx.printStackTrace(); } finally{ try{ System.out.println( "\n* Closing connection... *")link.close(); } catch(IOException ioEx) System.out.println("Unable to disconnect!"); System.exit(1); }
프로젝트 학습현황 정 일웅강 주효조 민정이 병준 UIOOOO ActivityOOOO IndentOX △△ Network △ X △ X Server △ XX △ DatabaseX △ X △ ParsingX △ X △ XML △ O △ X 입출력 X △ XO O 전반적인 이해 △ 학습진행 중 X 학습 부족
프로젝트 세부일정 개발계획 / 일정 1 주 (4.28 ~5. 5) 2 주 (5.5 ~5. 12) 3 주 (5.12 ~5.19) 4 주 (5.19 ~5.26) 5 주 (5.26 ~6. 2) UI & Activity Database Server Network Parsing & XML 입, 출력 그래픽작업 우선순위 중간순위 낮은순위 1. 기본 UI 설계 ( 부분완료 ) 2.Activity 순서 ( 유동적인 작업 ) (4. 28 ~ 5. 5) 3.Database 정보관점 재 정의 및 테이블 설계, 정보삽입 (4. 28 ~ 5. 19) 4.Server / Client 코딩 (4. 28 ~ 5. 5) Server/ Client 접속오류 및 데이터 전송 확인 (5.12 ~ 5. 19) 5.XML 웹 풀 Parsing 학습 (4. 28 ~ 5. 5) XML 추출 (5. 5 ~ 5. 19) 6. 그룹정보, 일정정보, 날씨정보 DB 의 파일 입출력 (5. 19 ~ 5. 26) 누락되거나 불필요한 파일 추가 삭제 (5. 26 ~ 6. 2) 7. 각 단계별 작업을 진행하면서 그래픽 작업을 유동적으로 진행하나 시간이 부족하면 우선순위가 낮은 작업 (4. 28 ~ 6. 2)