• Title/Summary/Keyword: Java Programs

Search Result 171, Processing Time 0.028 seconds

Energy Efficiency of Iteration Statement in Java (자바 반복문의 에너지 효율성)

  • Yang, Hee-Jae
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • v.9 no.2
    • /
    • pp.816-819
    • /
    • 2005
  • In Java virtual machine which is the running environment of Java programs, almost every bytecode execution requires data transfers in memory. Data transfer incurs energy consumption and hence minimizing the transfer operation is very important for improving the energy efficiency of JVM. As the number of data transfers for a Java iterative statement is directly proportional to the iteration count, improving the energy efficiency of iterative statement is crucial to keep the energy efficiency of JVM high. This paper analyzes Java iterative statement at bytecode level and proposes some points how to improve the energy efficiency.

  • PDF

Visualization of Exception Propagation for Java Programs based on Static Analysis (정적분석을 이용한 자바 프로그램의 예외 전파 시각화)

  • 허순희;창병모
    • Journal of KIISE:Software and Applications
    • /
    • v.30 no.7_8
    • /
    • pp.696-702
    • /
    • 2003
  • This paper presents a static analysis based on set-based framework which estimates exception propagation paths of Java programs, and a visualization tool which visualizes propagation paths of exceptions using the static analysis information. We have implemented the exception propagation analysis and a visualization tool, which can guide programmers to handle exceptions more effectively.

Design of an Algorithmic Debugging Technique for Java Language (자바 언어를 위한 알고리즈믹 디버깅 기술의 설계)

  • Kouh, Hoon-Joon;Yoo, Weon-Hee
    • The KIPS Transactions:PartA
    • /
    • v.11A no.1
    • /
    • pp.97-108
    • /
    • 2004
  • This paper proposes to use an algorithmic debugging technique for locating logical errors in Java programs. The algorithmic debugging is a semi-automated debugging technique that builds an execution tree from a source program and locates logical errors, if any, included in the program from the execution tree with top-down method. So, it is very important to build a suitable execution tree from the various programming languages. In this paper we propose the method for building an execution tree iron Java programs and walk through an example. This approach could reduce the number of interactions between a user and a debugging system than the traditional step-wise debugging technique.

Design and Implementation of File System API based on Java Card (자바카드기반 파일 시스템 API의 설계 및 구현)

  • Song, Young-Sang;Lee, Ji-Young
    • The Journal of Information Technology
    • /
    • v.10 no.3
    • /
    • pp.59-75
    • /
    • 2007
  • Java Card has several applets running on card, and applet can be added easily. Each applet supports different application programs, and includes file system for data management. This paper presents design and implementation of the file system API based on Java Card for the efficient data management in need of the applet. We referred the smart card international standard ISO7816-4 for the file system and used API supported at Java Card. Results show that it is easy to design and operation of file systems during the applet development, also show lighting of applet's source codes and improved access times.

  • PDF

Development of a Interactive Agricultural Machinery Information System Using Java and Distributed Object Technology (Java와 분산객체 기술을 이용한 인터액티브 농업기계 정보 시스템 개발)

  • 조성인;김종권;이종수;이배섭;김종덕
    • Journal of Biosystems Engineering
    • /
    • v.23 no.4
    • /
    • pp.391-398
    • /
    • 1998
  • Effective use of agricultural informations is crucial for 21 century farming. An interactive agricultural machinery information system was developed. It consisted of databases, knowledge bases, expert systems, a server engine, clients for a multimedia agricultural machinery information system based on Java and distributed objects technology. It is supposed to be served through a nationwide super information communication network for my farmers to utilize it interactively and quickly. Several user-friendly interface programs for users were developed to use texts, static k dynamic images, and expert systems easily. Tools for providing the informations were built with JAVA. Information providers permitted to access to the system such as agricultural machinery companies can easily add or modify the informations using distributed object technology. This system can interact among three groups : prime information provider (or system manager), permitted information providers, and farmers.

  • PDF

An Empirical Validation of Complexity Metrics for Java Programs (Java 프로그램에 대한 복잡도 척도들의 실험적 검증)

  • Kim, Jae-Woong;Yu, Cheol-Jung;Jang, Ok-Bae
    • Journal of KIISE:Software and Applications
    • /
    • v.27 no.12
    • /
    • pp.1141-1154
    • /
    • 2000
  • 본 논문에서는 Java 프로그램의 복잡도를 측정하기 위해 필요한 인자들을 제안하였다. 이러한 인자들을 추출하기 위해 Java 프로그램을 분석하여 객체지향 설계 척도 값들을 계산하고 통계적 분석을 수행하였다. 그 결과 기존의 연구에서 발견되었던 클래스의 크기 인자 외에도 메소드 호출 빈도, 응집도, 자식 클래스의 수, 내부 클래스 및 상속 계층의 깊이가 주요 인자임이 파악되었다. 클래스의 크기 척도로 분류되었던 자식 클래스의 수는 다른 크기 척도들과 다른 성질을 가진다는 것을 발견하였다. 또한 프로그램의 크기가 커지고 결합도가 높아질수록 응집도가 떨어진다는 것을 입증하였다. 그리고 인자 분석을 바탕으로 인간의 인지 능력과 인자의 상관관계를 고려한 가중치를 적용하기 위해 인자별로 회귀분석을 수행하였다. 보다 적은 척도를 가지고 인자를 설명할 수 있는 회귀식을 도출하였다. 두 그룹에 대한 교차 검증 결과 회귀식이 높은 신뢰도를 가지는 것으로 나타났다. 따라서 본 논문에서 제안한 인자들을 이용하는 경우 Java 프로그램의 복잡도를 측정할 수 있는 새로운 척도로 사용할 수 있다.

  • PDF

Operating System Education Using Java Thread (자바스레드를 이용한 운영체제 교육)

  • Kim, II-Min
    • The Journal of Korean Association of Computer Education
    • /
    • v.4 no.1
    • /
    • pp.19-26
    • /
    • 2001
  • As Operating System is a course about computer system resource management, it is very important to the computer related major students. Asynchronous concurrent processes in a Operating System class is rather difficult to understand. Because most students are not able to understands the part with the explanation and the pseudo code in a text, they need to execute the concurrent programs which are implementing the pseudo code. In this paper, we implemented executable programs using Java thread for the code and proposed those programs to apply to the Operating System education.

  • PDF

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.

Design and Implementation of the MSIL-to-Bytecode Translator to Execute .NET Programs in JVM Platform (JVM 플랫폼에서 .NET 프로그램을 실행하기 위한 MSIL-to-Bytecode 번역기의 설계 및 구현)

  • Lee, Yang-Sun;Whang, Dae-Hoon;Na, Seung-Won
    • Journal of Korea Multimedia Society
    • /
    • v.7 no.7
    • /
    • pp.976-984
    • /
    • 2004
  • C# and .NET platform in Microsoft Corp. has been developed to meet the needs of programmers, and cope with Java and JVM platform of Sun Microsystems. After compiling, a program written in .NET language is converted to MSIL code, and also executed by .NET platform but not in JVM platform. Java, one of the most widely used programming languages recently, is the language invented by James Gosling at Sun Microsystems, which is the next generation language independent of operating systems and hardware platforms. Java source code is compiled into bytecode as intermediate code independent of each platform by compiler, and also executed by JVM. This paper presents the MSIL-to-Bytecode intermediate language translator which enables the execution of the program written in .NET language such as C or C# in JVM(Java Virtual Machine) environment, translating MSIL code produced by compiling .NET program into java bytecode. This work provides an environment for programmers to develop application programs without limitations of programming languages.

  • PDF

Design and Implementation of a Multimedia Platform for a Realtime Distant Education on the Web (웹 기반에서의 실시간 원격교육을 위한 멀티미디어 플렛폼 설계 및 구현)

  • 손형도;김윤홍;강승찬;박병수;김일태
    • Journal of Korea Multimedia Society
    • /
    • v.2 no.4
    • /
    • pp.419-429
    • /
    • 1999
  • In this paper, we have designed and implemented Web-based realtime distant education system by using multimedia CAI and Java technology. The proposed system can provide not only Web-based courseware but also text-based text lecture and distant OHP in real time. The Courseware provides computer basic education and has been developed by using Authorware. The Client/server program of Text lecture and distant OHP for a realtime distant education has been developed by using Java applet and application. Java servlet has been used to construct CGI programs.

  • PDF