29,915 research outputs found

    An ultra-lightweight Java interpreter for bridging CS1

    Get PDF

    Racing Game in 3D

    Get PDF
    Táto bakalářská práce se zabývá problematikou řešení interakce Java Monkey Engine (jME) a modelů vytvořených v programu Autodesk 3D Studio Max. Obsahuje teoreticky základ k architektuře jMonkey Engine a herní knižnici Lightweight Java Game Library (LWJGL). Dále popisuje techniky při práci s objekty ve 3D scéně a jejich způsob implementace.This bachelor's thesis describes issues of interaction between Java Monkey Engine (jME) and models created with program Autodesk 3D Studio Max. It contains theoretical basis for the jMonkey Engine architecture and Lightweight Java Game Library (LWJGL). In the following section, the thesis describes techniques of working with objects in the 3D scene and their way of implementation.

    Modular Workflow Engine for Distributed Services using Lightweight Java Clients

    Full text link
    In this article we introduce the concept and the first implementation of a lightweight client-server-framework as middleware for distributed computing. On the client side an installation without administrative rights or privileged ports can turn any computer into a worker node. Only a Java runtime environment and the JAR files comprising the workflow client are needed. To connect all clients to the engine one open server port is sufficient. The engine submits data to the clients and orchestrates their work by workflow descriptions from a central database. Clients request new task descriptions periodically, thus the system is robust against network failures. In the basic set-up, data up- and downloads are handled via HTTP communication with the server. The performance of the modular system could additionally be improved using dedicated file servers or distributed network file systems. We demonstrate the design features of the proposed engine in real-world applications from mechanical engineering. We have used this system on a compute cluster in design-of-experiment studies, parameter optimisations and robustness validations of finite element structures.Comment: 14 pages, 8 figure

    Actors that Unify Threads and Events

    Get PDF
    There is an impedance mismatch between message-passing concurrency and virtual machines, such as the JVM. VMs usually map their threads to heavyweight OS processes. Without a lightweight process abstraction, users are often forced to write parts of concurrent applications in an event-driven style which obscures control flow, and increases the burden on the programmer. In this paper we show how thread-based and event-based programming can be unified under a single actor abstraction. Using advanced abstraction mechanisms of the Scala programming language, we implemented our approach on unmodified JVMs. Our programming model integrates well with the threading model of the underlying VM
    corecore