java (J2EE 1.4) convert to J#

Hi,

I want to convert my application in java (J2EE 1.4) to J# with minimum changes.
Where can I get the script?

Thank's
Alexei

(I have tryed JLCA 2.0, 3.0 and it gives me about 100,000 errors becouse it convert to C#. I don't have a time for working on errors. I read that Java can be converted to J# with minimum errors.)

[339 byte] By [Alexei_shk] at [2008-2-24]
# 1
Hi,

try to make a new J# project in Vidual Studio and add you existing code files to it. Then compile the project and tell me if it worked I'm very interested about it.

rgerbig at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 2
Hi,

It doesn't work... I have tryed before this solution....

Thank's
Alexei

Alexei_shk at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 3
Hi,

what is wrong with it? do you get errors?

rgerbig at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 4
Hi,

I got 11500 errors in my applications...

Thank's
Alexei

Alexei_shk at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 5
hi,

wow thats a lot of errors. Now the question is if there is a tool that is strong enough to meet your requirements.

rgerbig at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 6
Hi,

Yes, it's a good for me...

Thank's
Alexei

Alexei_shk at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 7
Hi,

J# doesnt implement J2EE stack in itself. You would have to use JLCA to convert to .NET

For the J2EE versions supported by JLCA please refer to the following link.

http://msdn.microsoft.com/vstudio/java/migrate/jlca/default.aspx

Thanks,

VarunGupta at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 8
Hi,

I have tryed this solution but it gives me about 36000 errors. It doesn't support J2EE 1.4. It supports only J2EE 1.3.

Thank's
Alexei

Alexei_shk at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 9
Hi,
is it possible that there is no way in porting? can someone of Microsoft tell us about this?
rgerbig at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 10

Hi,
Here are the details of what is supported by J#/JLCA...

1. J# supports the functionality equivalent to most JDK level 1.1.4 class libraries and equivalent to the level of many of the classes in the JDK 1.2 java.util package specified in College Board's Advanced Placement curriculum for Computer Science.

2. JLCA supports upto JDK level 1.3 only. For the details that what (in java) is mapped to what (in C#) please refer to ...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnet_movingjavaapps.asp

Thanks.

JaiprakashSharma at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 11
Hi,

I have read this year ago. It doesn't help me.

Thank's
Alexei

Alexei_shk at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 12

Hi,
So far, wE do not support JDK level higher than 1.1.4 in J#. We know that it doesn't sound good to you but that is the truth :(.
There is no way to port your JDk1.4 app other than deleting the code specfic to versions greater than JDK 1.1.4.

Thanks.

JaiprakashSharma at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 13
Hi,

In some places I have found something about convert Java Bytecode to .Net bytecode. The .Net bytecode can be converted to one of the languages like C#, J#, VB.NET.

I am speaking truth?
If it's, tell me how to convert java bytecode to .Net bytecode...

Thank's
Alexei

Alexei_shk at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...
# 14

Generally my experience doing this always leads me to running the J2EE code under Object Web or JBoss's free J2EE server and building either a webservice or RMI invocation layer to bridge the .NET code. This does assume that you have a good MVC design where you can easily seperate the backend J2EE components from the frontend. http://www.jnbridge.com/ is a good choice as well.

Most clients when shown the price of a full .NET conversion vs an integration solution choose the cheaper integration solution. (Although some opt for a non-opensource J2EE server as they desire contracted support.)

I know this doesnt help your specific problem but so far I've had limited success with conversion tools (even with J2EE 1.3 and lower) and usually end up hand coding quite a bit of the work. And to be honest I find coding the integrated solutions a delight.

EricMolitor at 2007-9-9 > top of Msdn Tech,Visual J#,Visual J# General...