C # project to Java PROJECT!!!!!

Source: Internet
Author: User

A C # server project that was written for several years decided to turn it into a Java project

Because C # does not cross-platform, and some features such as the most basic XML Removeattriteus mono does not support, will give up mono.

(It can really run on Linux, but there are a lot of features that don't yet know how many pits ...) )

Another is to generate native. Exe,.net on the hard, do not want to wait, I heard that even if there are native tools out, but also in the Win8 App store to use,

51CTO down a C # covert to Java tool

Turned, and then under the NetBeans8 IDE, found that the Java world is quite big, everything has

Previous server network components have been using SuperSocket, which turns into Netty (network components)

Netty.io

But when we first started, I met a lot of problems.

The first is run, cmd in the output Java-jar run jar file, Java Run class file,

Run a jar file for a long time has been wrong, find no class what, the article on the internet did not mention this point, is to mention the environment variables

Attention is Java-jar your jar.

Next is a lot of C # methods do not, no way, self also learn mono, modeled System.dll,

Wrote a System.jar.

The next string s in. NET, the case is OK, in Java is not a capital s, it makes people uncomfortable

String.Format ({0} {1}) is String.Format (%s%s) in Java

It's going to be a little smoother, tomorrow.

C # project to Java PROJECT!!!!!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.