13
Views
4
Comments
Solved
Migration O10 Java to O11 .NET
Question

Hello,

I am studying how to migrate O10 Java to O11 .NET, and I couldn't understand one thing, 

I have an extension written in java, do I need to rewrite in C # before migrating to O11, or does the java code change to C # automatically?

articles i've read:

https://success.outsystems.com/Support/Enterprise_Customers/Upgrading/01_Upgrade_OutSystems_Platform

https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/Migration_between_database_stacks_(SQL_Server%3B_Oracle%3B_MySQL)_and_code_stacks_(.NET%3B_Java)

https://itnext.io/migrate-outsystems-environment-from-java-stack-to-net-stack-ca2daeb9c42f


thank you.


mvp_badge
MVP
Rank: #39
Solution

Hi Agno,

You'll need to rewrite to C# if your extension only has Java code - your code won't be translated to C#. There's a paragraph on your second article:

  • Integration using Extensions: if moving between Java and .NET or vice-versa, extension code will need to be re-written / added. Extensions provided by OutSystems have code in both stacks, but it was explicitly written by us - if you coded your own (or used Extensions from the Forge), this is something you will need to worry about.
Rank: #177

Thank you Afonso,
This means that if the extension configuration in Integration Studio is marked this way:


the code must be rewritten in C #, right?

mvp_badge
MVP
Rank: #39

I believe that's just a default option for your instance of Integration Studio - it's possible the extensions you're using have C# code in them.

I only have Integration Studio 11 installed, but it should be similar to your version:

If you open an extension in Integration Studio and check the Resources tab, you'll see a Source folder. If there's a NET folder in there with files using the ".cs" extension, you have C# code. If not, you probably have Java.

Rank: #177

Thank you Afonso.