Slashdot Mirror


Sun and 3Com agree to embed Java into Palm Pilot

killbill writes "3Com and Sun have agreed to put a Sun Java virtual machine inside the Palm Pilot. Attenders of the JavaOne Developer Conference can purchase a Palm V with the Java VM already installed as of today, and I assume it will be available to the general public as soon as you can tap your "beam" button. "

13 of 99 comments (clear)

  1. Let's predict the responses by Anonymous Coward · · Score: 3


    Some language bigot will say "Java Sucks"

    Some other bigot will say "Why not Linux on
    the Palm V instead of Java, with GTK apps
    ported to the Palm"

    Someone will suggest running a BeoWulf cluster
    of these babies, as if it mattered.

    Obligatory bashing of MS and WinCE devices


    Did I get all of them? Oh yeah, "First Comment",
    or is that out of Fashion?

    1. Re:Let's predict the responses by Chexum · · Score: 2
      You missed the "but Java is not open source!" crowd; among them me :) Stereotypical, I know, but it's really irking some of us. Of course Sun just want to retain full control of Java, but IMHO, strict control is no good for the public/developers/users. The main advantage of Linux is that there is no real control kicking it into the "right" directions; by giving up a bit control on Java, they could get the impulse of the whole river, instead of a few feet.

      Java, for many people is still looking like being forced down their throat, and this handheld Java invasion (while obviously better than the WinCE army) is still a Microsofty solution: "get the people see it everywhere, buy the developers, make contracts, whatever, and then we can reap". The good solution from the open-source advocate's viewpoint would be: "spread it, and let them pick the good parts, improve it, and it will be ubiquitious, and really cool technology". Obviously, Sun's exploit-the-community license (Alan's words, AFAIR) is going too slow for their Marketing dept. They just don't seem to want to give (wrt. Java, I know about NFS, RPC), that will always cut some shades on them; it just doesn't help that you are welcome to work on their stuff... well...

      --
      "Ten years from now, they could do it in a few seconds." -- The Racketeer of the Hellfire Club, 1993, Phrack 42
    2. Re:Let's predict the responses by Anonymous Coward · · Score: 2


      The problem with the open-source VM approach is that it only works (achieves write-once run-everywhere) if *EVERYONE* runs the open-source
      VM.

      The first time the VM gets "forked" and improved, all of a sudden, developers start taking advantage of these new hacked in features,
      and the app loses its portability between VMs.
      At some point, just like KDE and GNOME, one
      of the VM's will become the defacto "standard"
      and we have a fracturing of the standard.

      The only way Java portability truly works is if there is a strict VM spec and everyone is forced to adhere to it.


      I personally think Sun has done a very good job. The quality of their APIs far surpasses anything the OSS community has come up with. Java2D, Java Advanced Imaging, Graphic Layers Framework, blow away Imlib/ImageMagick/PBM. Swing is much superior to GTK's API, except in performance.

      Plus, I have the source code to the JDK, and
      the class libraries (I just can't redistribute
      the source), which 9 times out of 10, I don't
      need to. I mostly use the source to fix bugs
      in my own code, or find bugs in the documentation.

  2. White Paper on The New JVM by mr.Peabody · · Score: 4

    Sun has a white paper describing the implementation of the JVM for the Palm system,
    codenamed "Spotless" It goes into detail about the design of the system. At the end it include a short description of some stuff they've implemented in Spotless.

    http://www.sunlabs.com/technical-reports/1999/ab stract-73.html

    Mr. Peabody

  3. I have a Palm V with KJava! by ciurana · · Score: 5

    I was invited to Sun's ConsumerOne event yesterday as a Java software provider. At the end of the event, all the participants were given a Palm V with kJava and the JavaOne event schedule pre-loaded.

    Our company develops industrial-strength Java code, and we've been working with all kinds of JVMs, from embedded devices to HP/UX passing through Linux, Solaris, Mac, and (yuk!) all Winblows flavours including CE. We're currently evaluating non-desktop JVMs and we'll probably focus on two: KJava, the one in the Palm V, and Jeode from Insignia.

    So far, after having played with the Palm V for only 3 hours, I can say this: kJava rocks! Here are the specifications reported by the Palm V info:

    • KJava VM 114 KB
    • Java One applet: 24 KB
    • Pong 8KB
    • Sun 3D demo 10KB
    • Other games (7 more): 85KB

    Preloaded Java classes:

    • java.lang.* (seems to include only those classes currently in use from the lang package; if a program needs additional classes [i.e. java.lang.Boolean] they will be loaded on demand)
    • java.io.*
    • java.net.*
    • com.sun.kjava.Spotlet
    • com.sun.kjava.Graphics
    • com.sun.kjava.Bitmap
    • com.sun.kjava.Database
    • com.sun.kjava.Button
    • com.sun.kjava.Trigonometric
    • com.sun.kjava.ValueSelector
    • com.sun.kjava.Caret
    • com.sun.kjava.Caret
    • com.sun.kjava.CheckBox
    • com.sun.kjava.Dialog
    • com.sun.kjava.DialogOwner
    • com.sun.kjava.HelpDisplay
    • com.sun.kjava.IntVector
    • com.sun.kjava.List
    • com.sun.kjava.RadioButton
    • com.sun.kjava.RadioGroup
    • com.sun.kjava.ScrollOwner
    • com.sun.kjava.ScrollTextBox
    • com.sun.kjava.Slider
    • com.sun.kjava.TextField
    • com.sun.kjava.TextBox
    • com.sun.kjava.VerticalScrollBar

    Each Java class can be loaded or removed on demand, and its memory usage can be checked on a per-class basis. There seems to be no performance difference between the Java applications and the other Pilot goodies; in fact, some of the games can be played faster than the stylus or the human eyes can catch with them.

    If anyone here is interested, I'll write a review of KJava in the Palm V after we run our compatibility and performance tests on it. A large number of classes in our products are written in Java assembler, so this will be a great chance to check if Sun/3Com are keeping the JVM specification honest.

    Cheers!

    Eugene
    --
    http://eugeneciurana.com | http://ciurana.eu
  4. Let's Focus, People... by MidKnight · · Score: 3

    Those of you who are thinking Java on the PalmOS is a silly idea don't really get the whole thrust of what Java is going to do. Like a few people here have already posted, writing Java networking code is simple, but that's not the main reason to get Java on the Palm. Other people have complained that the KVM won't let them port applications to the PalmPilot -- they're completely missing the point.

    The reason to get Java onto the PalmOS is that 3Com and Sun are looking to push the "Network Appliances" theme. They're not looking to port existing applications onto a PalmPilot (do you really want to run a spreadsheet on that thing?), they're looking to make it networked out the wahzoo. Java (and Jini) provide easy ways to get machines sharing code and objects, which makes writing client/server applications a no-brainer.

    That's the focus of this whole thing.

    --Mid

  5. Re:The forking myth by Fizgig · · Score: 3

    I agree with most of the latter part of what you said, but you have to admit that forking something like JavaVMs would be a little more problematic than forking something like a library, a compiler, or, say, Emacs. Those are used by one person. The dependency begins and ends with the user, but that isn't the case with Java. If the JavaVM is just a little bit broken, it's no good at all. As long as there were decent standards, it would be ok, but as we see with Web browsers, it's tempting to avoid standards. It's more akin to forking C than gcc. If I fork gcc to change C in an incompatible way (no matter how cool it is), we've got problems. If only there were ANSI Java!

  6. Java does suck by DonkPunch · · Score: 2

    Java is interpreted and slow.
    The virtual machine is always bulky and slow.
    Java can't access any sort of native methods.
    Write-once-run-anywhere is a complete lie.
    Besides, Microsoft killed it anyway.

    Of course, I've never written a single thing in Java. Oh, did I mention that I believe every piece of Java misinformation that I read?

    /* Yes, this was sarcasm */

    --

    Save the whales. Feed the hungry. Free the mallocs.
  7. Some JavaOne keynote demonstrations... by SuperKendall · · Score: 3

    KJava looks to be really useful, if it gets to be as widespread as it looks like it will be. Here are descriptions of some of the interesting demonstrations I saw of KJava in action at today's JavaOne keynote (which I sadly had to watch over webcast instead of live):

    * Two Lego Mindstorm tanks, each with a Palm attached to the top running the KVM. The Palm's controlled the tanks, trying to play a game of tag I think... the Palms used the IR ports to talk to each other. Just imagine the tanks also being able to pass new behavior or scanning updates to each other as well!

    * A demo of transferring a program from a Palm to a Motorola pager (both running the KVM) over the IR port. In this case it was a Tetris game, but imagine being able to load some custom home monitoring software into whatever device you happen to be carrying with you that day, or searching out some custom mapping software for the area you're in.

    One example of such a custom application was a custom conference schedule/map they had avialiable for JavaOne attendees - you could select a session you wanted to go to, and it would pull up a map of the conference center to tell you just where it was.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  8. Unbelievably Trivial by DonkPunch · · Score: 2

    I can't believe I'm mentioning this, but:
    IIRC, K&R style has the opening bracket of a function on the next line:

    int foo()
    {
    return bar;
    }

    While "Java" style generally puts it on the same line:

    public int foo() {
    return bar;
    }

    Yep, it's a minor difference. Believe or not, I actually spent time agonizing over which code style to use and where. If you care which I personally prefer, you should really get out more.

    --

    Save the whales. Feed the hungry. Free the mallocs.
  9. Re:C64 by geoGIF · · Score: 2

    Don't laugh. A little over a month ago, I started researching, in earnest, how feasible it would be to create a JVM for the C64 (for the fun of it). I quickly decided that the VM itself would be no problem (almost a natural fit) on a 6502. Written in 6502 assembly language, I could probably hack out a rudimentary VM in a couple of weeks. The problem was the class library. Just to print "Hello World!" would require several hundred kilobytes of classes to be loaded. I needed a stripped down, simplified class library, but I didn't feel like trying to rewrite the Java class library myself, so I put it on the back burner.
    Enter Spotless. I just finished looking at their stripped down java.lang.Object, java.land.String, and java.lang.StringBuffer. Perfect. Just a few K.

    Java on the C64, here we come.

  10. Re:foo by DonkPunch · · Score: 2

    Here is a link to a Hacker's Jargon Dictionary with an explanation of foo() and bar(). "Cause everyone else does" is pretty much it. It's just one of those silly programmer tradition things.

    Kind of like sig lines with geeky memory-management jokes. ;)

    --

    Save the whales. Feed the hungry. Free the mallocs.
  11. spoonfed by goon · · Score: 2

    a simple search at http://www.javasoft.com revealed...

    http://www.javasoft.com/features/1999/06/j2me.html
    http://www.javasoft.com/products/kvm/
    http://www.javasoft.com/products/kvm/faqs.html

    faq
    14. How will the K virtual machine be made available?

    The K virtual machine will be made available on the web through the Sun Community Source Licensing process and from the Sun sales force. For more information on Sun Community Source Licensing, see http://www.sun.com/software/communitysource/


    --
    peterrenshaw ~ Another Scrappy Startup