473,326 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Convert Java to J# or C#?

I'm interested in experienced .Net developers' opinions about whether
I should convert an existing Java program to J# or C#.

I thought this was a no-brainer until I discovered that with the
release of V.S. 2008, Microsoft has ceased to develop or publish J#.
That makes the question much more difficult.

The program in question is one that I began several years ago but
abandoned because it required integration with Microsoft Office, and
that proved too difficult for the amount of time I could give the
project. I believe that the .Net platform will make integration much
easier, so I am interested in resuming work.

Conversion from Java to J# should be fairly easy, and would give me an
easy "reverse migration" path if I later want to develop a
platform-independent version of the program. But, I've now learned, I
would be committing myself to a language that has just been iced.

Conversion from Java to C# would probably be harder, and would tie me
to the .Net platform unless I was willing to convert from C# back to
Java (ugly) or to C++ (ugly++).

Thoughts, anyone?
Jan 3 '08 #1
5 8347
Conversion from Java to J# should be fairly easy

J# was based on a fairly old java version (mostly JDK 1.1.4?).
IMHO: J# was acceptable for some migration time (2002-2005), but failed in
todays mainstream market.

Conversion from Java to C# would probably be harder, and would tie me
to the .Net platform .... Thoughts, anyone?
what is the target of this solution?
Desktop application, server-side, web? GUI/CUI?

On Desktops (Windows >90% market share),
<URL:http://marketshare.hitslink.com/report.aspx?qprid=8>
java seems near obsolete today.
And many larger companies switched to .NET (even exclusively), according
(Quote):
'It's Official: .Net Roasts Java's Beans'
<URL:http://weblog.infoworld.com/techwatch/archives/014981.html>
<URL:http://www.itbusiness.ca/IT/client/en/home/News.asp?id=46224&cid=6>
For a portable .NET (CLI) and C# implementation, check Mono (Novell):
http://www.mono-project.com/

--
Thomas Scheidegger - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/

Jan 4 '08 #2
On Fri, 4 Jan 2008 01:25:44 +0100, "Thomas Scheidegger"
<sp************@swissonline.chwrote:
>what is the target of this solution?
Desktop application, server-side, web? GUI/CUI?
It will have two closely coupled parts. One will be an add-on to
Microsoft Word. The other will be a stand-alone GUI application. It
has the potential to work with non-MS applications in place of Word,
which would not necessarily run on a Windows platform.
>On Desktops (Windows >90% market share),
<URL:http://marketshare.hitslink.com/report.aspx?qprid=8>
java seems near obsolete today.
I'd like to look at the item you're referring to, but that link took
me to a page that shows OS market share, not language market share.

Java was my primary language during the most recent part of my life
when I was programming actively, and I'm still in touch with it. If
Java is nearly obsolete, there is a large, vibrant community of
developers who are not aware of it.

In this particular case, I know that a large part of my potential user
base runs FrameMaker on *nix. Mono could be a solution there, but
I'll have to learn more about it before I can form an opinion.
Jan 4 '08 #3
>>On Desktops (Windows >90% market share),
> <URL:http://marketshare.hitslink.com/report.aspx?qprid=8>
...that link took me to a page that shows OS market share, not
language market share.
and that's the key!
If you develop with .NET, >90% of all your (desktop) customers will be
comfortable
with the overall Look&Feel + Experience as expected for true Windows
applications.

If Java is nearly obsolete, there is a large, vibrant community of
developers who are not aware of it.
that has been true some time ago,
but since, the mainstream Windows desktop-app world has migrated to either
C++ or .NET.

an add-on to Microsoft Word.
VS2008 includes VSTO (Office 2007).

--
Thomas Scheidegger - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/

Jan 4 '08 #4
I've decided to go with C#. The decisive factor is that C# experience
will have value in the job market. J# clearly won't.

The Java Language Conversion Assistant... how good is it? If I let it
convert my source code for me, how happy will I be with the result?
Or, how much manual work am I likely to have to do to become happy
with it?

The application does some moderately sophisticated things with text
boxes in Swing (Java's GUI component). It makes extensive use of
classes defined in the project. It has no network or database
components.
Jan 5 '08 #5
The Java Language Conversion Assistant

AFAIK was included in VS2005 (JLCA 3.0)
<URL:http://msdn2.microsoft.com/en-us/vstudio/aa718346.aspx>

(JLCA needs VS Standard Editions at least, no Express Edition)

but no longer in VS2008
<URL:http://msdn2.microsoft.com/en-us/vjsharp/default.aspx>
"Retirement of ... Java Language Conversion Assistant"
>... how good is it?
...moderately sophisticated things with text boxes in Swing (Java's
GUI component)

I never used it for GUI code, I guess there will be much cleanup work left
to do.
Maybe some search links:

URL:http://www.google.com/search?q=jlca+swing

<URL:http://www.google.com/search?q=%2B%22Java+Language+Conversion+Assistant% 22+%2Bswing>
Newsgroups (seems dead now):
microsoft.public.vsnet.jlca
microsoft.public.dotnet.vjsharp


--
Thomas Scheidegger - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/

Jan 5 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jens Mueller | last post by:
Hi there, this is a Java-XML Question, so I am not sure whether this is the right place, haven't found anything better .... I try to convert a Java object to XML via SAX and let the FOP...
0
by: Chua Wen Ching | last post by:
Hi there, I had downloaded the Java Language Conversion Assistant 2.0 from http://msdn.microsoft.com/vstudio/downloads/tools/jlca/. I had installed it and it was suppose to integrate to...
3
by: Mike | last post by:
Hi, Does anyone know of reliable programs that convert C# to Java and viceversa? Thanks Mike
2
by: Barney | last post by:
I have to convert a Java app to .NET, i found and used the conversion tool which converts java to C#, but it only converted about 10% of it, how hard would it be to re-write the java app and keep...
0
by: NoSpamForMe | last post by:
I am currently a java programmer, with some knowledge of the C# language but very little knowledge about ASP.NET, and I am know wondering if someone can *translate* the java servlet code below to...
1
by: sachin | last post by:
hello everyone, i am trying to convert my XSL-FO to PDF file by using fop-0.20.5 by importing the following classes: import java.io.File; import java.io.IOException; import...
17
by: Terry Jolly | last post by:
New to C# ---- How do I convert a Date to int? In VB6: Dim lDate as long lDate = CLng(Date) In C#
3
by: GM | last post by:
Dear all, Could you all give me some guide on how to convert my big5 string to unicode using python? I already knew that I might use cjkcodecs or python 2.4 but I still don't have idea on what...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.