C sharp as a GUI for java and integration between them

Hi ,

I have a standalone desktop application written in java which I need to write a GUI to. (GUI could execute on same computer)

I wonder between JSP , SWING , using Eclipse platform or C sharp.

JSP was falling down becuase it has porr GUI features and hard to maintain and develope. (I don't need the web support)

Swing is to slow for me and also not so comfotable to develope.

So the two choices on my mind is either use Eclipse platform and use its componenets to develope java GUI or use C sharp.

Please help me decide.

Is it easy to develope in C sharp ?

Is it easy to call from C sharp to java classes ? (via Soap or directly ?)

[693 byte] By [rleitman] at [2007-9-27 22:54:07]
# 1
hi, take a look: http://www.intrinsyc.com/products/enterprise_applications.asp
gussev at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 2
Swing is a rather klunky way of building GUIs, but it usually works. I've never tried calling between Java and .Net, but my expectation is that you will be opening yourself up to a big, big pile of problems.
shrink_laureate at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 3
Depends on your ability to write (usually only a few) custom widgets. Other widgets come out of the awt. That's how I do it; awt is just fine, until you want a tabbed pager or a treeview, and then you write those yourself, something I do before breakfast nowadays.
kjhermans at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 4

Interesting...

Communication between java and C# via Soap is a part of my daily work. It is sometimes tricky at the java- side, but the C# works just great.

>Is it easy to develope in C sharp ?

Yes. It齭 by far easyer than any other language.

>Is it easy to call from C sharp to java classes? (via Soap or directly ?)

I think so. Its easy to call from C# to anything.

Ragnvald at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 5

> >Is it easy to develope in C sharp ?

> Yes. It齭 by far easyer than any other language.

C# is no better than C++ in terms of maximum efficiency and low-level platform feature access.

C# is no better than Java in terms of flexibility and ease-of-use.

C# doesn't even replace VB.

So why would anyone care for C#? Not for anything that stands to reason, I guess.

8B00D at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 6

I think you need to assess your environment overall.

In my experience, Microsoft products are easier to develop in. However, Eclipse has narrowed the gap.

The negatives of .net are that they tie you to Microsoft forever. If you want to use other non-Microsoft products or platforms, be ready for some interface magic.

What do you use for the other applications you develop? If you are a Java shop, I think you would want to stay with that. If going all Microsoft does not scare you, then perhaps you should go with .net.

I came from a Microsoft environment. I am now learning Linux/Java/apache. The reason for the switch is that Windows/IIS environment, while being rich in development tools and interfaces, can be unstable/problematic and prone to security problems.

If this application is a one-of-a-kind and static, it probably does not matter what you use. However, if you are going to enhance and possibly integrate the application with something else, it should be in line with a larger strategic direction.

Check out Eclipse and Struts with a JSP engine (I'm using Resin). Although a bit hard to learn at first, my opinion is that they are making the Java environment almost as easy and productive as the visual development tools from Microsoft. Although you say that you don't need the web support for this application now, you might in the future (i.e. multi-user on a single datbase, single point of deployment, application integration, etc.)

ggaggia1 at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 7
Take a look at http://www.jnbridge.com this is a .NET J2EE bridge. I've seen it in action and it is very cool. You can "directly" use you java code from a .NET application. It was very cool to a C# program calling java code.
zparticle at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 8
> I think so. Its easy to call from C# to anything.I suppose that depends on the definition of "call". I doubt it is easy to make a direct system call to anything on a windows 3.1 box. Or solaris 3.
jschell at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 9
C#, runs on a virtual machine, just like java. And the virtual machine can run on any* platform. So it does not matter if it is Windows XP or whatever...(* any newer operating system starting with the letter W and provided by MS)
Ragnvald at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 10

> So the two choices on my mind is either use Eclipse

> platform and use its componenets to develope java GUI

> or use C sharp.

>

> Please help me decide.

Im basically in the same unfortunate situation as you rleitman. I want my Java client side application to run on both Windows and Unix and look native. I don't want to get stuck in the Windows swamplands. I'm prepared do trade a little portability for a native looking application. But do I dare abandon AWT/Swing in favour of SWT/Eclipse?

http://forum.java.sun.com/thread.jsp?forum=4&thread=312513

uj at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 11

A little late,

But any who stumbles across this link, it has changed to:

http://j-integra.intrinsyc.com/products/

Cheers,

Adam Cooper

-

J-Integra Interoperability Solutions

http://j-integra.intrinsyc.com/

high performance interop middleware for java, corba, com & .net

j-integra at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...
# 12
I'm curious: is it really easier to Google for links to your old page and post messages on umpteen fora than to set up your web server to send a 301 redirecting to the new page?
YAT_Archivist at 2007-7-7 14:08:33 > top of Java-index,Core,Core APIs...