Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2006

Tip: Looking for answers? Try searching our database.

Java(tm) Communication API support for Windows gone ????

Thread view: 
anton - 24 Aug 2006 15:40 GMT
As you can see on:

http://www.sun.com/download/products.xml?id=43208d3d

there is no more rs232 support for Java for windows operating system.

The strange thing: In .Net 2.0 Microsoft added a serial comm support,
while at the same time it seems that sun skip it in the java windows
version.

RS232 is still widely used in industry (in which I am working).

I am just evaluating c# and Java, so for now it seems I am best with c#
?
(even if I prefer java for "plattform neutrality" ...
platform neutrality ... what an irony..)

My question is:

Does anybody have information about this?

I didn't read any official statement from sun.
Knute Johnson - 24 Aug 2006 15:53 GMT
> As you can see on:
>
[quoted text clipped - 18 lines]
>
> I didn't read any official statement from sun.

I do not know why Sun discontinued the Windows version but you can use
RXTX instead.  Also, Sun is now providing the comm.jar file if you want
to use their namespace but not the dlls.  See the RXTX website for details.

RXTX: http://rxtx.org

Get the Sun generic libraries here:

http://www.sun.com/download/products.xml?id=43208d3d

Signature

Knute Johnson
email s/nospam/knute/

anton - 24 Aug 2006 16:30 GMT
> I do not know why Sun discontinued the Windows version but you can use
> RXTX instead.  Also, Sun is now providing the comm.jar file if you want
> to use their namespace but not the dlls.  See the RXTX website for details.
>
> RXTX: http://rxtx.org

Thanks I'll look at it.

> Get the Sun generic libraries here:
>
> http://www.sun.com/download/products.xml?id=43208d3d

I know this link, but the windows version is no more
available at this link.

Thanks.
Knute Johnson - 25 Aug 2006 04:53 GMT
>> I do not know why Sun discontinued the Windows version but you can use
>> RXTX instead.  Also, Sun is now providing the comm.jar file if you want
[quoted text clipped - 12 lines]
>
> Thanks.

The generic libraries are there.  You can use those with RXTX to use
Sun's namespace for the classes.  What isn't there is the dll files to
make it work on its own.

Signature

Knute Johnson
email s/nospam/knute/

anton - 25 Aug 2006 10:27 GMT
Knute Johnson schrieb:

> Sun's namespace for the classes.  What isn't there is the dll files to
> make it work on its own.

yes the dll is what I meant.

... and the fact that you must register to be able to download
it, this is new and I am not such a fan of registering here and there
for stuff that is free.

Thanks again for your response :-)
Thomas Weidenfeller - 25 Aug 2006 10:47 GMT
> ... and the fact that you must register to be able to download
> it, this is new and I am not such a fan of registering here and there
> for stuff that is free.

You can use RxTx without any additional Sun stuff. You only need the Sun
stuff, if you want to get Sun's original API (with Sun's package naming)
working.

RxTx comes with an own API, remarkable similar to the one from Sun :-)
But they are of course not using Sun's package names.

When you want Sun's original API on Windows, you take the Unix version
of JavaComm, since it is "pure Java", and you slip the RxTx drivers
underneath that API implementation.

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

Dale King - 29 Aug 2006 04:25 GMT
>> ... and the fact that you must register to be able to download
>> it, this is new and I am not such a fan of registering here and there
[quoted text clipped - 10 lines]
> of JavaComm, since it is "pure Java", and you slip the RxTx drivers
> underneath that API implementation.

And the subject line of this post is incorrect. Sun is no longer
*distributing* the JavaComm API. The fact is that they have *NEVER*
actually supported it. They put out a poorly thought out, badly
implemented, buggy API and never touched it again. There has been zero
ongoing support for it.

So in my opinion there is no compelling reason to try to maintain
compatibility with it. Standardize on RXTX. It is being supported.

Signature

 Dale King

Thomas Weidenfeller - 25 Aug 2006 10:40 GMT
> As you can see on:
>
> http://www.sun.com/download/products.xml?id=43208d3d
>
> there is no more rs232 support for Java for windows operating system.

Yes, Sun silently discarded the Windows version in November 2005, even
breaking their own rules regarding the retirement of old software
<http://java.sun.com/products/archive/eol.policy.html>.

> The strange thing: In .Net 2.0 Microsoft added a serial comm support,
> while at the same time it seems that sun skip it in the java windows
> version.
>
> RS232 is still widely used in industry (in which I am working).

I totally agree. The problem is, the decision makers at Sun don't know.
All this cry about "legacy" hasn't make RS232 go away, except on Windows
 PCs. There are boatloads of equipment out there which still have RS232
interfaces, and will have so for years to come.

> I didn't read any official statement from sun.

There was only some informal one in some Sun Java forum. As I already
mentioned, Sun broke their own policy, which states they do some kind of
official announcement, but they didn't. A lot of people were taken by
surprise.

Try RxTx or go with some platform where the supplier takes RS232
communication serious.

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.