일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- jQuery
- jsp
- Java
- 리액트
- 홈플러스 장보기
- 하늘
- GIT
- 코딩테스트
- 브런치
- 부트스트랩으로 웹사이트만들기
- 오라클
- 개발자 일지
- 스프링부트
- React
- 베싸육아
- jsp 게시판 만들기
- 개발자
- 여름
- 홈플러스
- 카페
- 일상
- 배열
- 개발자일지
- 자바
- ajax
- 돌체라떼
- 다이소
- 부트스트랩
- 소금빵
- 하늘사진
- Today
- Total
목록⋆ 。゜☁︎ 。⋆ 。゜☾゜。⋆⋆ 。゜☁︎ 。⋆ 。゜☾゜。⋆/JDBC (7)
Yeonee's Story
안녕하세요. https://blog.naver.com/sysysy0302 여니입니다 :) package com.kh.run; import com.kh.view.MemberView; public class Run { public static void main(String[] args) { MemberView mv = new MemberView(); mv.mainMenu(); } }
안녕하세요. https://blog.naver.com/sysysy0302 여니입니다 :) package com.kh.model.vo; import java.sql.Date; /* * * VO(Value Object) * DB 테이블의 한 행에 대한 데이터를 기록할수 있는 저장용 객체. * * */ public class Member { private int userNo; // USERNO NUMBER private String userId;// USERID VARCHAR2(15 BYTE) private String userPwd;// USERPWD VARCHAR2(20 BYTE) private String userName;// USERNAME VARCHAR2(20 BYTE) private String g..
안녕하세요. https://blog.naver.com/sysysy0302 여니입니다 :) package com.kh.view; import java.util.ArrayList; import java.util.Scanner; import com.kh.controller.MemberController; import com.kh.model.vo.Member; /* * View : 사용자가 보게될 시각전인 요소를 담당(화면 => 입력,출력) * ex) html페이지 * */ public class MemberView { // Scanner 객체 생성 private Scanner sc = new Scanner(System.in); // MemberController 객체 생성 private MemberContro..
안녕하세요. https://blog.naver.com/sysysy0302 여니입니다 :) package com.kh.model.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import com.kh.model.vo.Member; /* * DAO (Data Access Object) * Controller를 통해서 호출 * Controller에서 요청 받은 실질적인 기능을 수행하기 위해서 * DB에 직접적으로 접근(Access)후 해당 sql..
안녕하세요. https://blog.naver.com/sysysy0302 여니입니다 :) package com.kh.controller; import java.util.ArrayList; import com.kh.model.dao.MemberDao; import com.kh.model.vo.Member; import com.kh.view.MemberView; /* * Controller : View를 통해서 요청(request)한 기능을 처리하는 담당 * 해당 메소드로 전달된 데이터들을 가공처리(VO 객체로 래핑)한후 Dao메소드 호출시 전달 * Dao로부터 반환받은 결과에 따라 사용자가 보게될 화면을 지정 => 응답(response) * */ public class MemberController { /..