하나의 운영환경으로부터 더 나은 운영환경으로 옮아가는 과정을 뜻하는 정보통신 용어.윈도95에서 윈도98로 업그레이드하거나, 윈도NT 서버에서 윈도2000 서버로 옮아가는 것과 같이 하나의 운영체계로부터 더 나은 다른 운영체계로 옮아가는 과정을 말한다. 크게는 윈도NT에서 유닉스를 기반으로 하는 운영체계로 옮아가는 과정이나 그 반대 과정, 새로운 하드웨어나 소프트웨어 또는 둘 다 바뀌는 환경으로 이주하는 것, 데이터를 하나의 저장장치에서 다른 저장장치로 옮기는 과정 등을 포함한다. 이전의 운영체계에서 설정된 프로그램을 바꿀 필요 없이 현재의 응용프로그램을 새로운 환경에서도 계속 운영할 수 있고, 새로운 운영체계만이 가지고 있는 특성들을 이용할 수 있을 때 흔히 행해진다. 단일 시스템에서 다른 단일 시스템으..
제품을 생산하여 재고를 입고시켜 증가시키고소비자에게 판매하기 위해 출고하여 재고를 감소시킴 Customer.java public class Customer extends Thread{private Product pd;public Customer(Product vec){pd = vec;//제품 할당}public void run(){char ch;for(int i=0;i 계속 출고된다.} catch (InterruptedException e) {}}System.out.println("생산자가 제품" + ch + "을(를) 생산했습니다.\n"); try {Thread.sleep(500);} catch (Exception e) {} vec.add(new Character(ch));// /벡터에 제품을 추가 Sy..
public class InterruptTest { public static void main(String[] args) {// TODO Auto-generated method stub ThreadInterrupt th = new ThreadInterrupt("Thread");th.start();try {Thread.sleep(2000);th.interrupt(); //2초 뒤 인터럽트} catch (InterruptedException e) {}}} class ThreadInterrupt extends Thread {ThreadInterrupt(String str) {super(str);} public void run() {try {for (int i = 0; i < 10; i++) {Thread.sl..
public class DaemonThread extends Thread { public void run() {try {System.out.println("데몬 스레드 시작");Thread.sleep(100); //슬립하는 동안 메인이 죽으면//다음 코드가 실행되지 않고 스레드가 죽는다.System.out.println("데몬 스레드 종료");} catch (Exception e) {e.printStackTrace();}} public static void main(String[] args) {// TODO Auto-generated method stubDaemonThread thread = new DaemonThread();thread.setDaemon(true);//join은 스레드가 끝나기를 메인이..
class Account {private int total = 0; synchronized void deposit() {total = total + 1000;} int gettotal() {return total;}} class Customer extends Thread {Account same_a; Customer(Account a, String s) {same_a = a;setName(s);} public void run() {for (int i = 0; i = 500000)break; // 종료 시 5개의 스레드 중..
class Account {int balance = 1000; public void withdraw(int money) {if (balance >= money) {try {Thread.sleep(1000);} catch (Exception e) {}balance -= money;}}} class Bank extends Thread {static Account ac = new Account(); public Bank() {}; public Bank(String name) {super(name);}; public void run() {while (true) {//동기화를 하면 먼저 임계구역에 접근한 스레드가 구역을 점령한다.synchronized (ac) {int money = (int) (Math.rand..
public class DataModelTest { public static void main(String[] args) {// TODO Auto-generated method stub String rows[][] = { { "수곡동", "야구" }, { "모충동", "족구" }, { "개신동", "축구" } };String headers[] = { "이름", "종목" };String sports[] = { "야구", "축구", "족구", "기타" }; JComboBox comboBox = new JComboBox(sports);comboBox.setMaximumRowCount(4); TableCellEditor editor = new DefaultCellEditor(comboBox);JFrame fra..
- Total
- Today
- Yesterday
- 정보
- 데이터베이스
- 정렬
- 도전과제
- JQuery
- jsp
- 충북대
- 소켓
- 청주
- CSS
- HTML
- SQL
- 배열
- 알고리즘
- 파이썬
- 클래스
- 잡담
- 안드로이드
- 이론
- 메모장
- 프로젝트
- 졸업작품
- 오라클
- 자바
- SVN
- ERP
- 게임
- db
- 자바스크립트
- 아두이노
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |