Java in Silverlight?

Can Java be used in Silverlight?

+1


source to share


9 replies


In short: Silverlight only supports . NET languages such as Visual Basic, C #, Managed JavaScript, IronPython, and IronRuby.



However, J # or IKVM.NET might come in handy for you.

+5


source


According to Wikipedia - Future of J # , Microsoft's main Java support will be removed soon.

Since J # will be removed from the full .NET CLR ...



I don't think there is much hope for Silverlight.

+2


source


As others have said, No.

If you are looking for the Java equivalent of Silverlight you can look in Java FX

+2


source


I assume you can use Silverlight to communicate with .NET / Java / PHP / Ruby / Python / any backend via SOAP / REST / plain XML over HTTP, as you can with Adobe Flex and JavaFX.

+2


source


I don't really understand why you couldn't use J # in Silverlight.

Of course you won't get your standard Java libraries as (AFAIK) they are not part of the Silverlight runtime.

EDIT:

According to http://msdn.microsoft.com/en-us/library/bb404700(VS.95).aspx :

You can create Silverlight-based applications using any .NET. Language supported by the platform

J # is (was?) A language specifically supported by the .NET Framework. As I said, you probably won't get .NET clones of the underlying Java standard libraries (as you are usually used to with the .NET Framework standard), but you can use the language itself. It's just that you won't have java. * Namespaces. (Which makes it pretty much useless.)

+1


source


No, not as such. Microsoft is not very fond of Java and will not allow it to use core technologies.

0


source


Possibly with Ja.NET which compiles Java 1.5 code to .NET IL bytecode. Although, as I understand it, Ja.NET is still in this infancy, so it will probably be an uphill battle.

0


source


Does what you want, but JavaFX is now available (structure similar to SL). If all you need is a Java based RIA platform what you want.

http://javafx.com

0


source


Interesting. The first version of Silverlight only supports javascript. Now it's not on the list.

EDITOR: Sorry I didn't explain this. In the first release, you can only program Silverlight in javascript (NOT Managed Javascript). Which made it look like Microsoft was releasing a platform-neutral competitor for Flash and Flex. Especially directly comparable, since ActionScript (the Flex language) is a proper superset of javascript, and javascript "just works" in Flex.

Since then, the meaning of the proposal has changed. Great tools, but lockin (not an expression of value, but an observation.)

While I may have misunderstood, the question behind the question was whether Silverlight continues to attract non-platform developers, especially those using Flash and related technologies.

-1


source







All Articles