Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Can i use C# for the GUI and java for background processes
Posted
Comments
bbirajdar 25-Jul-12 9:23am    
Of course yes..But in two different applications

Yes.
Connect using sockets.
Hope this helps,
Pablo.
 
Share this answer
 
What you are asking does not make much sense.

First C# is not necessarily calling out any UI. It is a programming language. It can be used in conjunction with different UI stacks like Winforms, WPF/Silverlight. In comparison you could use VB to make the same UI elements.

With that maybe it becomes clear to you that C# is the processing logic. If you want to combine with some legacy java stuff you have that is possible but you will run into some issues.

Here is an article that might help you get going:
Using Java Classes in your .NET Application[^]

If you provide more details on your intention maybe you can get better assistance.
 
Share this answer
 
Comments
TorstenH. 25-Jul-12 10:22am    
+5.

I would even recommend to make it all Java. Easier and much more efficient.
[no name] 25-Jul-12 11:17am    
Thank you :)
Not sure about easier though. I myself don't have a lot of Java experience but I know C# in and out. So in such a case using IKVM.NET to access a already built Java component would likely be easier.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900