I think of having model code on both server and client in order to make client more responsive (i.e. show preview of action consequences and cost) but server to be able to validate and actually process the request.
There are solutions that wrap C# library into JAR... This will end up with 2 virtual machines running, as I understand. Are there any fundamntal "cons" for this approach? Thanks
C# library on the server
Re: C# library on the server
Hi,
there is no way to use C# on the server side. You can rewrite your classes in Java directly, the syntactic difference between the two is minimal.
Thanks
there is no way to use C# on the server side. You can rewrite your classes in Java directly, the syntactic difference between the two is minimal.
Thanks
Re: C# library on the server
Lapo wrote:Hi,
there is no way to use C# on the server side. You can rewrite your classes in Java directly, the syntactic difference between the two is minimal.
Thanks
Hi,
Hmmm, but I saw solutions about the C#-Java bridge wrappers in any direction. Why wouldn`t they work?
The problem is to sustain both server and client code synchronized if any changes are done through the lifecycle of the model...
Re: C# library on the server
Which C#-Java solutions exactly?
Re: C# library on the server
I didnt pick any particular solution yet but just stumbled upon http://stackoverflow.com/questions/5039 ... -from-java
Re: C# library on the server
The problem with the solutions proposed in that thread is that they involve major performance costs to translate calls to and from the two languages.
In addition it will make debugging a nightmare because you have extra layers of translations in between.
IMHO it's much easier to simply write the Java version. None of those solutions seem to be well tested in a high load scenario.
In addition it will make debugging a nightmare because you have extra layers of translations in between.
IMHO it's much easier to simply write the Java version. None of those solutions seem to be well tested in a high load scenario.
Re: C# library on the server
ok thank you
Who is online
Users browsing this forum: No registered users and 100 guests