Java J2SE Code Compatibility in any OS [closed] - database

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am in a confusion now. I am developing a java project in windows platform. but now, the problem is how can I get to know if my all codings (Java J2SE) will work in any OS? In my codings there are varies parts like serial port programming, smslib, RXTX lib, database connections (ODBC and JDBC). Can any one offer my some ideas or any solution for this?
Thank you very much.

Your code should work as long as you are not using any OS native APIs. Im afraid you might be doing so as you have mentioned your code uses things like serial port programmin, RXTX lib etc. If NOT then you are good to enjoy the Java 'write one and run anywhere' feature.

Related

How can I turn my code into an actual aplication for windows? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I developed a program written in C language using Gtk+ 3 for visual interface, and to run it I always use the comand line (Im using cygwin), but I would like to know how can i make my program an aplication, witch can be installed in windows and function like any other aplication (launch it throught files explorer or even throught the desktop enviroment)?
Thank you for your answers!
Provided that you have written the code portable, you basically have two options.
Install GTK on Windows. You can find instructions here: https://www.gtk.org/docs/installations/windows/
Rewrite the whole application for Windows API. This is NOT trivial.
On top of that, use windows installer

a server client application using TCP in C in linux environment, [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i have created a server client application using TCP in C in linux environment,and it is working very well.
I wish to improve the application by including a cryptographic algorithm into it so that the server just gets to know about who has logged in and out of the server but not about the information shared between the clients.
Any suggestions for algorithm that i should employ in my project to achieve the desired result.
I am currently looking into MD5 algorithm.
As far as I understand you want to encrypt/decrypt messages between users. If so MD5 won't do it as it is just a hash function.
https://en.wikipedia.org/wiki/MD5
Probably the best algorithm to do so would be AES:
https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
There are many implementation (including in C) on the web so you can literally copy-paste the code (mind the license ;) ).

Can you suggest any library to connect to internet with C? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I've been learning C for the past few weeks. I don't understand yet how to connect to internet with C. I've programmed in Python and I used the urllib in the Python stdlib to connect to internet. Is there any library that can help me connect to internet ?
Libcurl is a popular choice for making HTTP requests, which I assume is what you're interested in doing.
In pure C wirthout any library it is not possible as network access depends on the specific platform. However, the socket API is some kind of standard library which permits sending data via TCP/IP. The necessary HTTP handling, if desired, would have to be implemented on top of that.

Simple web server using C programming [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to develop a web server using c in Linux. Using that we need to start and configure services. is their any help like pseudo code or sample programs like that.
http://www.gnu.org/software/libc/manual/html_node/Server-Example.html
This is a simple multi-user web server built in C. I had to do one of these last year for a class, and I find it quite cool, though a little bit frustrating.
The Apache HTTP server, the world's most popular HTTP server, is written in C. Its documentation, and source downloads are located here

libpurple with PlayBook NDK [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
My friend and I both have PlayBooks, and there isn't a solid Google Talk app on it.
We'd like to get started on one and I was wondering if anyone can provide any tips.
I was thinking of using libpurple as it is a C based library and the PlayBook NDK.
Is this feasible? Is there a recommended starting off point? And are there any general tips?
Thanks,
Parth
The blackberry uses QNX platform which is based on Qt.
Currently libpurple does not interact with Qt. However there is a Google Summer of Code project to create a Qt user interface for libpurple. In theory once that work is completed then porting to the Playbook would be a short to medium task.

Resources