Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright (c) JNode.org 2005 g Why Java is practical for modern operating systems JNode.org Ewout Prangsma.

Similar presentations


Presentation on theme: "Copyright (c) JNode.org 2005 g Why Java is practical for modern operating systems JNode.org Ewout Prangsma."— Presentation transcript:

1 Copyright (c) JNode.org 2005 http://www.jnode.or g Why Java is practical for modern operating systems JNode.org Ewout Prangsma

2 Copyright (c) JNode.org 2005 http://www.jnode.or g Contents ● Introduction ● History ● Characteristics ● Architecture ● Plugin framework ● Driver framework ● Future ● Java benefits

3 Copyright (c) JNode.org 2005 http://www.jnode.or g Introduction ● Simple to use & install operating system for personal use: written for and in Java ● Targets: – Modern devices – Desktop – Small servers ● Only actively developed Java OS in the open source world – 7 active developers, 17K downloads

4 Copyright (c) JNode.org 2005 http://www.jnode.or g History ● Original idea started in 1995 ● First attempt: JBS (Java Bootable System) – Contained C code, did not work at all ● Second attempt: JBS2 – Still did not work well, but was better ● Then: JNode – No C code anymore, Classpath classlibraries ● Went public in May '03

5 Copyright (c) JNode.org 2005 http://www.jnode.or g Characteristics ● All Java, minimal assembler, no C ● All java build system (almost) ● Extensible architecture ● Single flat memory address space, no virtual memory ● JVM written in Java ● All Java code is compiled on the fly, no interpreter ● Security is always on ● LGPL license

6 Copyright (c) JNode.org 2005 http://www.jnode.or g Status (1) ● Release 0.2.1 – Full device driver model – Networking TCP/IP – Filesystems EXT2, FAT, NTFS, ISO9660 – Graphics 2D – J2SDK 1.5 support in VM (not classlibs) – Simple heap managers & GC ● MMTk based heap manager & GC in development – IA32 & AMD64 platform support

7 Copyright (c) JNode.org 2005 http://www.jnode.or g Status (2) Playing Tetris on JNode

8 Copyright (c) JNode.org 2005 http://www.jnode.or g Architecture (1) Hardware Nano kernel (asm) Java Virtual MachinePlugin framework Driver framework Filesystem framework Networking framework Partition framework Graphics framework Shell Desktop framework Build system Deployment framework Debugging framework

9 Copyright (c) JNode.org 2005 http://www.jnode.or g Architecture (2) Java Virtual Machine Native code compilers Heap managers Classpath runtime library Class manager Security manager Scheduler & threading manager Runtime library support Isolation manager

10 Copyright (c) JNode.org 2005 http://www.jnode.or g Plugin framework (1) ● Everything is contained in a plugin – code, resources – even JVM & the plugin framework itself ● Plugins can: – be loaded, unloaded & reloaded (at runtime) – depend on other plugins – provide well known extension points – connect to well known extension points

11 Copyright (c) JNode.org 2005 http://www.jnode.or g Plugin framework (2) ● Plugins are: – described by a descriptor ● descriptor also contains license info – JAR files – inspired by Eclipse plugins

12 Copyright (c) JNode.org 2005 http://www.jnode.or g Plugin framework (3) <plugin id="org.jnode.driver" name="JNode Driver Framework" version="@VERSION@" provider-name="JNode.org" license-name="lgpl" class="org.jnode.driver.DriverPlugin"> Dependencie s Well known extension points Connection to well known extension point Code & resources General info

13 Copyright (c) JNode.org 2005 http://www.jnode.or g Driver framework (1) Device represents hardware DriverBus Device to driver mapper Device finder

14 Copyright (c) JNode.org 2005 http://www.jnode.or g Driver framework (2) Device represents hardware Driver DeviceAPIDevice “user”

15 Copyright (c) JNode.org 2005 http://www.jnode.or g Driver framework (3) Driver plugin fin de rs m ap pe rs Radeon driver plugin PCI driver plugin Example: Radeon Graphicscard driver

16 Copyright (c) JNode.org 2005 http://www.jnode.or g Driver framework (4) Device manager Device finder Drive r Device 2 driver mapper findDevices findDriver startDevice Devic e registerAPI registerDevice

17 Copyright (c) JNode.org 2005 http://www.jnode.or g Future ● Short term: – Improved JVM performance (mm, compilers) – Deployment framework – Improved graphics ● Long term: – Simple to use desktop environment ● Fully document oriented instead of app. oriented – Java powered servers ● e.g. Cooperation with ApacheDS

18 Copyright (c) JNode.org 2005 http://www.jnode.or g Java benefits ● Dynamic linking ● Type safe language (even more in J2SDK 1.5) ● Security – Security manager – No uncontrolled memory access ● Great development tools: – Eclipse, Ant

19 Copyright (c) JNode.org 2005 http://www.jnode.or g We need your help! ● Don't be scared of by the codebase – Most of it is classpath libraries ● Ask questions ● Visit http://www.jnode.orghttp://www.jnode.org ● Contact me: epr@jnode.orgepr@jnode.org

20 Copyright (c) JNode.org 2005 http://www.jnode.or g Questions


Download ppt "Copyright (c) JNode.org 2005 g Why Java is practical for modern operating systems JNode.org Ewout Prangsma."

Similar presentations


Ads by Google