Click here to Skip to main content
15,920,508 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to write a program for a device that will communicate over the serial port. I have never done this before so I just want to ask that which platform will be best for this kind of communication? Java or the .Net (C#)?
Thank You.

Platform choices are usually done for external factors other than programming, like on what device you want to run on? what you are comfortable with?

You can do serial port programming on Java and .net equally well, so the choice is up to you.
Share this answer
Nosheen Javed 21-Apr-14 6:03am    
Actually I am a C# developer but my Boss like Java. So is there any point that .Net is more powerful than Java?
Mehdi Gholam 21-Apr-14 7:54am    
"powerful" should not be you focus, since they do the same thing.
Nosheen Javed 21-Apr-14 8:23am    
But as far as Java is concerned I have searched the web regarding javax.comm library but I think it is not available now. Which library can I use for serial communication for java?
Mehdi Gholam 21-Apr-14 10:16am
Are planning to host your application on windows or unix based server? If you have good hand in C# and it will be hosted on Windows based server at the client side, you can use C# very well.

If you are not sure then you can think of Java. Syntax for Java and C# is pretty similar but implementation differs.

Choice is yours.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900