• Title/Summary/Keyword: Java 2

Search Result 700, Processing Time 0.025 seconds

An Education Method of Computational Thinking using Microbit in a Java-based SW Lecture for Non-major Undergraduates (비전공자 대상 Java SW교육 강좌에서 마이크로비트를 이용한 컴퓨팅적 사고과정 교육 방법)

  • Hur, Kyeong
    • Journal of Practical Engineering Education
    • /
    • v.11 no.2
    • /
    • pp.167-174
    • /
    • 2019
  • In the case of Java programming education for non-major undergraduates, there are no examples of applying the physical computing education method. The advantage of physical computing education is that you can directly check the SW processing output result according to the input value of digital and analog sensor, so that you can quickly correct programming errors and improve learner's learning interest and satisfaction. In this paper, we use the microbits to combine physical computing education with basic Java programming education. In addition, according to the computational thinking process, we proposed an educational method for creating Java programs using microbits. Through block programming to control the microbits, we designed an algorithm and applied a training method to convert it into a Java program. In addition, the results of students' evaluations were analyzed in the course applying the education method, and the effectiveness of the education method using the microbit was analyzed.

On-line Trace Based Automatic Parallelization of Java Programs on Multicore Platforms

  • Sun, Yu;Zhang, Wei
    • Journal of Computing Science and Engineering
    • /
    • v.6 no.2
    • /
    • pp.105-118
    • /
    • 2012
  • We propose two new approaches that automatically parallelize Java programs at runtime. These approaches, which rely on run-time trace information collected during program execution, dynamically recompile Java byte code that can be executed in parallel. One approach utilizes trace information to improve traditional loop parallelization, and the other parallelizes traces instead of loop iterations. We also describe a cost/benefit model that makes intelligent parallelization decisions, as well as a parallel execution environment to execute parallelized programs. These techniques are based on Jikes RVM. Our approach is evaluated by parallelizing sequential Java programs, and its performance is compared to that of the manually parallelized code. According to the experimental results, our approach has low overheads and achieves competitive speedups compared to the manually parallelizing code. Moreover, trace parallelization can exploit parallelism beyond loop iterations.

An Architecture of a JDBC Driver providing Multiple Connections (다중 연결을 지원하는 JDBC 드라이버의 구조)

  • 서정민;진은숙;윤수영;송주원
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 1998.10b
    • /
    • pp.18-20
    • /
    • 1998
  • JDBC는 Java 응용 프로그램이나 apllet에서 SQL 문을 수행하기 위해서 Javasoft에서 정의한 Java API로서, DBMS에 비의존적이고 플랫폼에도 독립적인 Java 응용 프로그래밍 기법을 제공한다. 일반 DBMS 응용 프로그램과 마찬가지로 Java 응용 프로그램에서도 기존에 구축된 동기종 또는 이기종의 데이터베이스를 동시에 접근해서 처리해야 하는 경우가 발생하다. 이 경우 한 응용 내에서의 여러 DBMS 연결은 불가피하다. 이러한 다중 연결의 지원은 응용 프로그램을 추가하는 작업이나 데이터베이스 자료 변환 작업을 감소시키는 효과가 있다. 이 논문에서는 JDBC 명세서 1.2에 따라 구현된 net-protocol all-Java driver 타입의 JDBC 드라이버가, JDBC 응용 클라이언트와 DBMS드라이버를 관리함으로써 한 Java 응용 프로그램내에서 다중 연결을 지원하는 M-JDBC(Multiple Database supporting)드라이버의 구조를 제시한다.

Research of Personal Java Vi ritual Machine Platform for Mobile Device (모바일 단말기용 퍼스널 자바 플랫폼에 대한 연구)

  • 권오형;진민식;유홍식;조증보;정준영;정민수
    • Proceedings of the Korea Multimedia Society Conference
    • /
    • 2001.11a
    • /
    • pp.859-863
    • /
    • 2001
  • 자바는 썬 마이크로 시스템사가 1999년 6월에 플랫폼이나 개발 성격에 따라서 3가지 Edition으로 나누었다. Java 1.1 버전까지는 일반적인 자바 Applet이나 Application의 개발이 목적이였다. 그러나 Java 1.2 버전 이상에서는 자바의 용도가 좀 더 다양해지고 자바가 올라갈 수 있는 플랫폼이 다양해져 그 특성에 맞는 자바가 등장하게 되었다. 본 연구는 모바일 단말기용 Java VM 플랫폼 중 PVM 플렛폼을 연구하는 데에 기초로 한다.

  • PDF

FE Programming based on internet using JAVA (자바를 이용한 인터넷 기반 유한요소 프로그래밍)

  • 황선영;조종두
    • Proceedings of the Korean Society of Precision Engineering Conference
    • /
    • 1997.10a
    • /
    • pp.651-654
    • /
    • 1997
  • Generally commercial FEA program needs computer circumstances such as specific operating system, hardware. But regardlessly to computer circumstances, program coded by JAVA can work only with webbrowser. 2 dimensional mesh generation and FE analysis using JAVA is presented in this paper.

  • PDF

Implementation and Performance Analysis of Wired & Wireless Real-time Auction System based on Java 2 Platform (Java 2 플랫폼 기반 유무선 실시간 경매 시스템의 구현 및 성능 분석)

  • 고영남;김태남;김영일;이동명
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2001.10c
    • /
    • pp.637-639
    • /
    • 2001
  • 현재의 무선 인터넷 환경에서의 서비스는 HTML 계열의 CHTML, SHTML 등과 WAP 기반의 WML, 그리고 가상머신(VM) 기반에서 C 또는 Java로 구현하여 제공되고 있다. 이들 서비스 중에는 모바일 경매가 있는데 아직까지는 경매진행 과정이 Push 형태의 단문 문자 서비스(SMS)로 이루어지고 있다. 무선환경의 경매 시스템에서도 유선환경에서처럼 실시간으로 입찰자가 경매 진행 상황을 확인 할 수 있어야 한다. 본 논문에서는 무선환경에서 실시간이 지원되는 경매 시스템을 유무선 연동이 가능하도록구현하여 실시간으로 경매된 제품에 대한 입찰가격을 유선 및 무선측에서 확인 할 수 있었다. 구현은 무선 환경을 위한 Java 2 플랫폼인 J2ME와 데스크탑 환경을 위한 J2SE 기반으로 이루어 졌다. 또한 구현된 시스템의 성능을 사용자 접속 수에 따른 처리지연시간과 데이터베이스 연결풀 크기 변화에 따른 시스템의 처리시간 등의 평가 항목을 대상으로 각각 분석하였다.

  • PDF

Fault-tolerant Java RMI Object Design and Implementation (신뢰성 있는 Java RMI 객체 설계 및 구현)

  • 윤태진;박양우;이채수
    • Proceedings of the Korea Society for Industrial Systems Conference
    • /
    • 2001.05a
    • /
    • pp.198-208
    • /
    • 2001
  • CORBA, DCOM, Java RMI 등과 같은 분산 객체 기술이 분산 응용의 신뢰성을 직접적으로 향상시키지는 못한다. 이러한 분산 객체 기술에 고장 감내성을 추가하여 신뢰성 있는 시스템을 구축하기 위해서 객체 단위의 복제 그룹 관리와 고장 탐지 및 회복 메커니즘이 필요하다. 본 논문에서는 신뢰성 있는 고장 감내성 Java RMI 객체를 개발하기 위하여 고장 탐지와 그룹 관리를 위한 그룹 관리자와 원격 인터페이스를 설계하고, 고장 감내성 클래스를 정의한다. 또한 고장 감내성 객체의 투명한 그룹 참여를 위하여 Naming 클래스와 RMIRegistry를 확장한다. 응용 개발자는 고장 감내성 클래스를 상속함으로써 외부의 도움 없이 간단히 고장 감내성 응용 객체를 개발하여 신뢰성을 높일 수 있다. 100M Ethernet으로 연결된 Linux kernel2.2.1의 PentiumIII머신 3대와 Solaris2,6의 Sun Spar치머신을 클라이언트한 시스템을 사용하고 JDK 1.2.2를 이용하여 설계한 객체를 구현하여 다양한 객체고장 에 대해 복구되는 것을 확인하였다. 성능 평가는 그룹크기에 따른 함수의 응답속도와 메시지 크기에 따른 응답속도를 비교하였다.

  • PDF

Benchmarking of BioPerl, Perl, BioJava, Java, BioPython, and Python for Primitive Bioinformatics Tasks and Choosing a Suitable Language

  • Ryu, Tae-Wan
    • International Journal of Contents
    • /
    • v.5 no.2
    • /
    • pp.6-15
    • /
    • 2009
  • Recently many different programming languages have emerged for the development of bioinformatics applications. In addition to the traditional languages, languages from open source projects such as BioPerl, BioPython, and BioJava have become popular because they provide special tools for biological data processing and are easy to use. However, it is not well-studied which of these programming languages will be most suitable for a given bioinformatics task and which factors should be considered in choosing a language for a project. Like many other application projects, bioinformatics projects also require various types of tasks. Accordingly, it will be a challenge to characterize all the aspects of a project in order to choose a language. However, most projects require some common and primitive tasks such as file I/O, text processing, and basic computation for counting, translation, statistics, etc. This paper presents the benchmarking results of six popular languages, Perl, BioPerl, Python, BioPython, Java, and BioJava, for several common and simple bioinformatics tasks. The experimental results of each language are compared through quantitative evaluation metrics such as execution time, memory usage, and size of the source code. Other qualitative factors, including writeability, readability, portability, scalability, and maintainability, that affect the success of a project are also discussed. The results of this research can be useful for developers in choosing an appropriate language for the development of bioinformatics applications.

Metrics Measurement System Supporting Quality Evaluation of Java Program (Java 프로그램의 품질평가를 지원하는 메트릭 측정 시스템)

  • Park, Ok-Cha;Yoo, Cheol-Jung;Chang, Ok-Bae
    • Journal of KIISE:Computing Practices and Letters
    • /
    • v.7 no.2
    • /
    • pp.151-164
    • /
    • 2001
  • Java, used as the most representative object-oriented language, isil becoming the popular language for Internet/Intranet based program development. Moreover, it is used for development language in a variety of areas such as component based development language. In the view of reuse and maintenance of developed program, quality evaluation of program is becoming a more important issue. So, metrics measurement for quality evaluation of program that is developed at present including existing Java application is necessary. However, it is necessary that whether existing object-oriented software metrics is suitable on Java program is to be validated So, in this paper, we build an automated metrics measurement system that needs to validate on object-oriented software metrics and wish to support metrics measurement that is to determine it. The purpose of this system is to support a precise quality evaluation tool. In this system, we apply the metrics classified by Briand. Briand classified the metrics by formalizing mathematically them to verify feasibility of existing object-oriented software metrics. Using the proposed system, we can make comparison and analysis of validation on existing object-oriented metrics by calculating quantitative information more rapidly from Java source program. If there is any problem in feasibility of the metrics, we can establish a suitable metrics on Java program by considering reiJ,1forcement of the existing metrics or proposing new metrics.

  • PDF

Design and Implementation of a Java Package for Sharing Array Data by the DSM Interface on a Cluster of Workstations (워크스테이션 클러스터 상에서 분산공유메모리 인터페이스로 배열 데이터의 공유를 지원하는 Java 패키지의 설계와 구현)

  • Lim, Hae-Jung;Kim, Myung
    • Journal of Korea Multimedia Society
    • /
    • v.2 no.3
    • /
    • pp.355-365
    • /
    • 1999
  • In this paper, we present JPAS(Java Package for Array Sharing) which is a Java Package for sharing arrays of data on a cluster of workstations. It allows us to divide an array of data into several pieces, and to place each piece on a different host. JPAS uses Java RMI so that the entire array can be accessed by a location transparent interface which is similar to that of a distributed shared memory system. JPAS is portable and easy to use since it is implemented using pure Java. In order to reduce network overhead, JPAS allows programmers to use their prior knowledge of the application. Data consistency can be maintained through the value updating methods defined for all the elements of an array. We developed parallel programs which use JPAS, and tested them on a cluster of workstations. The test results show that JPAS is a parallel programming tool with reasonably good performance.

  • PDF