cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Can I import a java program to a thingworx widget?

fwertt
5-Regular Member

Can I import a java program to a thingworx widget?

Can I import a java program to a thingworx widget?

4 REPLIES 4
jamesm1
5-Regular Member
(To:fwertt)

Hey Fernando,

Just to clarify -- you are trying to launch a Java executable from a TWX widget? This is possible, although I'm not sure on the details. I would recommend looking at how this is done for the websocket tunneling widget: https://marketplace.thingworx.com/tools/Web-Sockets-Tunnel-Widget-And-Library

I believe you''d just create a custom widget that linked to a jar executable that you include in your widget extension, this would then download the executable and run on the users machine.

fwertt
5-Regular Member
(To:jamesm1)

add a java file, in this case, its an SDMWrapper, into a javascript function..

I have a button that I want to execute a java file (SDM Wrapper)

'action': function () {

                          //here I wanna execute my java file(SDM Wrapper) when I click the button.

                        

}

Hi Fernando,

Were you able to launch the executable?

If yes, how?

Thanks,

Rami

fwertt
5-Regular Member
(To:rmasoud1)

add a java file, in this case, its an SDMWrapper, into a javascript function..

I have a button that I want to execute a java file (SDM Wrapper)

'action': function () {

                          //here I wanna execute my java file(SDM Wrapper) when I click the button.

                        

}

Top Tags