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!!!!!