Tech Off Thread

7 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Can I reuse my Java application built for Win desktop in Windows 8 store app which runs on a tablet and Windows 8 PC?

Back to Forum: Tech Off
  • User profile image
    Veds

    Hi,

    I have a desktop based java application which runs on Windows and Mac. The UI and Logic of that is well differentiated. Can I reuse the logic part(which will be a jar) and build the UI in an Windows 8 metro app ? Is it possible to talk to the Java layer ?

    In My Java app, I create an exe which bundles runtime(JRE) also to execute the Jar.

    I am new to Windows development and want to understand if I can create a bridge between this two layer.

    Any help/suggestions will be hugely appreciated. 

    Thanks

  • User profile image
    vesuvius

    @Veds:No

  • User profile image
    cheong

    I've never tried that before, but can object tag in HTML5 App load Java applet if it's non-RT App and the machine running it have Java runtime installed?

    Recent Achievement unlocked: Code Avenger Tier 4/6: You see dead program. A lot!
    Last modified
  • User profile image
    spivonious

    , cheong wrote

    I've never tried that before, but can object tag in HTML5 App load Java applet if it's non-RT App and the machine running it have Java runtime installed?

    I'm pretty sure the sandboxing doesn't let you do that.

     

    OP: Is your Java app architected in a way that would make it easy to strip out the front-end? You could have your metro app frontend call the Java backend using services.

  • User profile image
    Veds

    Yes we can easily strip out the front-end.

    By services, do u mean web services?

    If so, which one would be preferable to use in my store app.

  • User profile image
    spivonious

    , Veds wrote

    Yes we can easily strip out the front-end.

    By services, do u mean web services?

    If so, which one would be preferable to use in my store app.

    I'm not familiar with the WinRT project structure, but yes, something that would have your backend running as a service that your front-end calls into.

  • User profile image
    blowdart

    , Veds wrote

    Yes we can easily strip out the front-end.

    By services, do u mean web services?

    If so, which one would be preferable to use in my store app.

    You need to have the APIs exposed via REST for *easy* use in Store apps.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.