Jump to content


Java Communications Api


  • Please log in to reply
2 replies to this topic

#1 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 17 April 2006 - 06:26 PM

For those of u aspiring to write Java programs tat interface with devices over the COM ports, but were missing Sun's Java Communication API or the javax.comm package support for Win32 platforms, there is an alternative.

The RXTX project offers an open source implementation exactly similar to the javax.comm API classes tat allows Java applications to talk to devices over the COM/Parallel ports. This implementation works on most platforms Win32, Linux, Solaris, Mac OS. Its based on exactly the same API design as javax.comm.

For more information and downloads, see: http://www.rxtx.org

Hope it helps!  smile.gif
Best Regards,
Ranganath Kini
Sun Certified Java Programmer

#2 jeef

jeef

    Advanced Member

  • Members
  • PipPipPip
  • 344 posts
  • Location:New Zealand

Posted 17 April 2006 - 09:21 PM

sweet, cheers  smile.gif
no point making your program so simple a dummy can use it cause the universe just keeps making a better dummy!

#3 buddybob

buddybob

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • Gender:Male
  • Location:Bangalore
  • Interests:Java, Airplanes, Trance Music, Movies...blah blah

Posted 18 April 2006 - 02:18 AM

QUOTE(jeef @ Apr 18 2006, 02:51 AM) View Post

sweet, cheers  smile.gif


Yes its pretty good. Ive used it personally for a project. RXTX have not provided any JavaDocs for the API, instead, they redirect you to the JavaDocs of Sun's Java Comm API as RXTX is designed on exactly the same API specs.

Two big advantages using RXTX over Sun's Comm API, is that 1, it works on almost all platforms, 2, its open-source unlike Sun's implementation which is declared to be a closed source project.

Anyways, hope u guys have fun with RXTX!  smile.gif
Best Regards,
Ranganath Kini
Sun Certified Java Programmer