Home > Java > Sanos: A Core For Java-Based Appliances
Sanos: A Core For Java-Based Appliances
Eugenia Loli 2003-04-27 Java 7 Comments
Slashdot reports on Sanos: "Sanos is a minimalistic 32-bit x86 OS kernel for jbox appliances. A jbox is a JavaOS server appliance running on standard PC hardware. This enables you to run Java server applications without the need to install a traditional host operating system like Windows or Linux."
Ex-programmer, ex-editor in chief at OSNews.com, now a visual artist/filmmaker.
Follow me on Twitter @EugeniaLoli
Nice idea. I thought something like this was allready out there. I think this could have been a good way for sun to make some money of Java. Have java be completely free but have something like this to license to vendors for making java powered devices.
Wonder if MS will have anything like this for .net or C# or whatever there java type thing is. I think people could do some fun stuff if they could take there C# or java app right from windows and put it directly into a device. Picture a webpad with one MS Office on it and nothing else. Could make for a nice cheap device for schools and students.
looks very interesting! They have some good info on their site.
'cause it was ideal for my Sun SparcStation 2.
This is something like the (non-existent) Java OS that was talked about back in the late 90s. A great idea to have a minimalistic OS to run Java applications.
Seems interesting when compared to a windows server, bloated by all the unused stuff always loaded in memory. But not compared to a minimal linux server. And, finally, even with windows, the unused stuff will be pushed on the swap partition (server) quickly.
With Linux or Windows, I have all administration tools and hardware support. I have also the (relative) maturity of those platforms. Nothing with Sanos.
I am not able to see any advantage of Sanos in server environment. Can someone enlighted me ?
There might be some .NET sanos-like system at some point, but as far as taking any MS Windows app and put it on the device, it would require most of the MS Windows libraries to be present, so you end up with pretty much what you started with.
Sch: in the embedded device world, being able to cut down on how much memory is required (including hdd/flash/*) can influence a lot the production cost of the device. One simple example is a subscription based wireless hub; prompting the user for id/pwd before enabling packet redirection to the outside world.
The device will always be shipped from the manufacturer pre-configured and thus saving the need to have the configuration tools installed on the box itself. Might use only a 32MB flash cartrige instead of a 64MB (or 128).
I've taken a simplistic Linux kernel, and then statically compiled my own init which makes several calls to setup the eth address and loopback devices, etc. The `problem' is that one can't statically compile the JVM which I thought would be just very sweet to exec() from my custom init. One of the problems is that though you need to install all the base C/GNU/Linux libraries, most all binaries have the dynamic library loader `statically' inside the binary itself, thus it will ALWAYS look for /lib/ld-linux.so* which then exposes the /lib/ to the JVM processes which I thought was "not good."
But no problem because one can place the /lib/ files anywhere, then just call the JVM by executing ld.so first which causes the named ld.so to be used instead of the one compiled into the binary. Then note that Unix JVMs use shell scripts to invoke the JVM, so then you have to statically compile a bourne shell (not too difficult). So here's how you make this in Linux:
1) Compile custom super-limited Linux kernel, don't include devfs or /dev/pts or anything of the like:
2) Statically (its the simplest) compile a bourne shell,
3) Create your own init, fork off init, parent sets up IP addresses via system calls and singal handles, child chroots and exec()s the ld.so argumented with the JVM. Compile statically.
4) Set -Xmx JVM arg to the maximum amount of memory,
5) Make command-line listener in Java to take start classes and then run them in their own stack/Thread and set system properties etc.
You can set the init location in a lilo parameter. Ciao,
3lixyqueue
Search OSNEWS
OSnews Account
RSS (Articles)
RSS (Comments)
Support OSnews
OSnews Patreon
Topics Select Category .NET 3D Academic OSes AMD Amiga & AROS Android Apple Benchmarks BSD & Darwin Bugs & Viruses Clown car Comics Databases Debian Editorial Fedora Core FreeBSD Fuchsia Games Geek stuff General Development Gentoo Gifts, Contests Gnome Google Graphics GTK+ Haiku Hardware Humor IBM In the News Intel Internet Internet Explorer Java KDE Legacy OSes Legal Linspire Linux macOS Mandriva, Mandrake, Lycoris Microsoft Mobile Mono Morphos Mozilla, Gecko Multimedia, AV NetBSD Novell and Ximian Office Open Source OpenBSD OpenStep, GNUstep Opera Oracle and SUN Original OSNews Interviews OS News OS/2 PC-BSD Podcasts Privacy, Security QNX Qt ReactOS Red Hat RISC OS Rumors SCO SGI and IRIX SkyOS Slackware, Slax Solaris Sponsor SuSE, openSUSE Syllable, AtheOS Ubuntu Unix Web 2.0 Window Managers Windows Wireless X11 Xfce Zeta
GNU Classpath 0.92 Released
August 10, 2006 • 16 Comments
Bluetooth Boogies Java File Transfer with JSR-82
September 30, 2005 • 5 Comments
Sun Bets on Free Java Tool
November 14, 2003 • 16 Comments
Employing Rexx as a Scripting Language for Java
October 30, 2005 • 8 Comments
Java Community Wants More From Sun
July 6, 2005 • 12 Comments
Rant: year of Linux on the desktop
Windows 7 and Windows 8.1 reach the end of the line
The future of ZFS on Ubuntu desktop is not looking good
January 6, 2023 • 38 Comments
Microsoft backtracks one of the worst Start menu changes in Windows 11
Apple is reportedly preparing to allow third-party app stores on the iPhone
December 13, 2022 • 34 Comments
About OSnews
OSnews Privacy Statement
© OSnews Inc. All Rights Reserved.
OSnews and the OSnews logo are trademarks of OSnews.
Theme Customizations by Adam Scheinberg
Reader comments are owned by the poster.
We are not responsible for them in any way.
All trademarks, icons, and logos shown or mentioned in this web site are the property of their respective owners.
Reproduction of OSnews stories is permitted only with explicit authorization from OSnews.
Reproductions must be properly credited.
OSnews on Mastodon
Notice to Bulk Emailers
From the Archives Select Month January 2023 (33) December 2022 (33) November 2022 (39) October 2022 (40) September 2022 (37) August 2022 (41) July 2022 (34) June 2022 (41) May 2022 (34) April 2022 (36) March 2022 (36) February 2022 (29) January 2022 (41) December 2021 (38) November 2021 (47) October 2021 (50) September 2021 (40) August 2021 (51) July 2021 (39) June 2021 (50) May 2021 (34) April 2021 (37) March 2021 (50) February 2021 (48) January 2021 (37) December 2020 (41) November 2020 (40) October 2020 (51) September 2020 (35) August 2020 (41) July 2020 (43) June 2020 (42) May 2020 (46) April 2020 (48) March 2020 (60) February 2020 (44) January 2020 (51) December 2019 (39) November 2019 (49) October 2019 (54) September 2019 (50) August 2019 (51) July 2019 (61) June 2019 (47) May 2019 (55) April 2019 (66) March 2019 (69) February 2019 (48) January 2019 (76) December 2018 (36) November 2018 (63) October 2018 (80) September 2018 (65) August 2018 (71) July 2018 (85) June 2018 (108) May 2018 (124) April 2018 (57) March 2018 (36) February 2018 (31) January 2018 (40) December 2017 (36) November 2017 (41) October 2017 (38) September 2017 (40) August 2017 (41) July 2017 (49) June 2017 (53) May 2017 (55) April 2017 (41) March 2017 (60) February 2017 (47) January 2017 (62) December 2016 (56) November 2016 (60) October 2016 (44) September 2016 (41) August 2016 (51) July 2016 (51) June 2016 (40) May 2016 (42) April 2016 (42) March 2016 (46) February 2016 (39) January 2016 (41) December 2015 (47) November 2015 (47) October 2015 (55) September 2015 (62) August 2015 (69) July 2015 (80) June 2015 (66) May 2015 (71) April 2015 (87) March 2015 (88) February 2015 (85) January 2015 (96) December 2014 (68) November 2014 (88) October 2014 (45) September 2014 (47) August 2014 (49) July 2014 (56) June 2014 (56) May 2014 (56) April 2014 (55) March 2014 (55) February 2014 (45) January 2014 (54) December 2013 (49) November 2013 (40) October 2013 (48) September 2013 (50) August 2013 (64) July 2013 (76) June 2013 (70) May 2013 (89) April 2013 (87) March 2013 (84) February 2013 (72) January 2013 (96) December 2012 (71) November 2012 (59) October 2012 (88) September 2012 (92) August 2012 (91) July 2012 (96) June 2012 (107) May 2012 (132) April 2012 (131) March 2012 (104) February 2012 (89) January 2012 (89) December 2011 (84) November 2011 (99) October 2011 (75) September 2011 (78) August 2011 (114) July 2011 (93) June 2011 (97) May 2011 (122) April 2011 (84) March 2011 (118) February 2011 (116) January 2011 (161) December 2010 (102) November 2010 (109) October 2010 (113) September 2010 (104) August 2010 (121) July 2010 (118) June 2010 (119) May 2010 (145) April 2010 (137) March 2010 (150) February 2010 (124) January 2010 (130) December 2009 (118) November 2009 (137) October 2009 (148) September 2009 (170) August 2009 (151) July 2009 (173) June 2009 (158) May 2009 (166) April 2009 (173) March 2009 (169) February 2009 (166) January 2009 (172) December 2008 (116) November 2008 (114) October 2008 (118) September 2008 (100) August 2008 (103) July 2008 (181) June 2008 (131) May 2008 (110) April 2008 (147) March 2008 (143) February 2008 (160) January 2008 (151) December 2007 (109) November 2007 (132) October 2007 (152) September 2007 (153) August 2007 (188) July 2007 (186) June 2007 (169) May 2007 (195) April 2007 (215) March 2007 (205) February 2007 (265) January 2007 (278) December 2006 (242) November 2006 (251) October 2006 (331) September 2006 (331) August 2006 (348) July 2006 (284) June 2006 (281) May 2006 (299) April 2006 (293) March 2006 (350) February 2006 (307) January 2006 (383) December 2005 (296) November 2005 (360) October 2005 (422) September 2005 (309) August 2005 (322) July 2005 (353) June 2005 (325) May 2005 (254) April 2005 (293) March 2005 (315) February 2005 (277) January 2005 (273) December 2004 (257) November 2004 (306) October 2004 (290) September 2004 (285) August 2004 (273) July 2004 (321) June 2004 (333) May 2004 (305) April 2004 (354) March 2004 (345) February 2004 (336) January 2004 (324) December 2003 (282) November 2003 (257) October 2003 (289) September 2003 (315) August 2003 (206) July 2003 (246) June 2003 (247) May 2003 (238) April 2003 (277) March 2003 (227) February 2003 (237) January 2003 (238) December 2002 (196) November 2002 (216) October 2002 (200) September 2002 (198) August 2002 (187) July 2002 (171) June 2002 (141) May 2002 (134) April 2002 (137) March 2002 (148) February 2002 (137) January 2002 (127) December 2001 (110) November 2001 (114) October 2001 (108) September 2001 (54) August 2001 (22)
OSnews Copyright © 2023.
© OSnews Inc · Theme by Adam Scheinberg