Re: Anybody use Java with USB devices?

From: Brad BARCLAY (bbarclay_at_jsyncmanager.org)
Date: 12/28/03

  • Next message: Brad BARCLAY: "Re: Serial port problems"
    Date: Sun, 28 Dec 2003 03:01:00 GMT
    
    

    Fred wrote:
    > Hi,
    > I'm thinking about using a USB attached device for some data collection.
    > I can use other languages to "talk" with it, but I'd prefer a Java solution.
    > Does anybody have any experience with USB and Java and could point me to a
    > starting point? Thanks. (Already know Java and apologize if I'm
    > overlooking the obvious.)

            You have two options:

            0) jUSB -- http://jusb.sourceforge.net

            jUSB works quite well -- at least on Linux, where it's reference
    implementation is. There has recently been a port to Win32-based
    platforms, however I can't comment on how well it works (as i avoid
    Win32 platforms like the plague that they are :) ). It has the benifit
    of being available under an Open Source license. It has the
    disadvantage, however, of being fairly poorly supported by its
    developers -- project development activity is rare, and getting
    questions answered can be exceedingly slow (I once had a question
    answered several months after e-mailing it to their developers :P).

            One thing to note: if you're going to try it out on Linux, grab the
    sources from their CVS repository directly. Their downloadable releases
    have badly broken build processes which don't work for many users.
    However, once built it does what it advertizes -- we support it with the
    jSyncManager Project (http://www.jsyncmanager.org) for talking to
    USB-enabled PalmOS-based handhelds.

            1) Javax-USB (JSR-080) -- http://javax-usb.org

            This will probably eventually be the official USB solution for Java,
    once it completes the Java Community Process (JCP). It officially has
    been granted the package "javax.usb".

            This project is well maintained -- the developers run a mailing list
    where they respond quickly to queries. As with jUSB, however, the
    reference implementation is only for Linux, and AFAIK they don't have a
    port to any other platform as of yet.

            The jSyncManager project isn't setup to use this API just yet, but I've
    assigned the task of writing a plug-in to use Javax-USB for connectivity
    for our next release, as in the long term this appears to be the way to go.

            I hope this helps!

    Brad BARCLAY

    -- 
    =-=-=-=-=-=-=-=-=
     From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
    The jSyncManager Project:  http://www.jsyncmanager.org
    

  • Next message: Brad BARCLAY: "Re: Serial port problems"

    Relevant Pages

    • Can the Java Plug-in compete?
      ... It is unbelievable to me that the company that invented the RIA over a decade ago has made little or no progress in this field and presents absolutely no challenge to inferior technologies that came later. ... JavaScript was named "Java" script deceptively to give it better visibility in the marketplace, but given its dominance in the RIA market, you'd never believe it. ... Knowing the history of the Java Plug-in, I wasn't sure if it would meet this requirement. ... I recently released Galileo as a Beta and while many developers who have looked at the product have admitted that it is an impressive product and that they'd like it to gain much success, they are reluctant to use it because it depends on the Java Plug-in. ...
      (comp.lang.java.programmer)
    • Re: A problem statement (and a proposed solution)
      ... PHP programmers aren't even *close* to the market Lisp should be ... The comparison that frequently gets drawn is between PostgreSQL and ... early releases of Java JDBC and MySQL. ... this seems quite self evident when you talk to other developers. ...
      (comp.lang.lisp)
    • Yellowfin says Java the smart option for Business Intelligence
      ... Global business intelligence vendor Yellowfin is investing in the best ... available Java technologies and people to stay at the forefront of web- ... “One of our key strategies has been to embrace the best available Java ... developers run with the technology,” ...
      (comp.lang.java.programmer)
    • Java the smart option for Business Intelligence
      ... Global business intelligence vendor Yellowfin is investing in the best ... available Java technologies and people to stay at the forefront of web- ... “One of our key strategies has been to embrace the best available Java ... developers run with the technology,” ...
      (comp.databases.oracle.misc)
    • Re: concurrency, threads and objects
      ... Yes, for example in high performance server design, where the server should be able to handle between thousand and ten thousand transactions per second. ... Threads are very cheap in linux 2.6, when they changed the kernel thread model, they did a test where they created one hundred thousand threads. ... Its almost exclusively coming from java developers, but also from developers of other languages, although not as much. ...
      (comp.lang.java.programmer)