Eduardo
Eduardo

Reputation: 21048

GWT: Run a JAR in the server side

I am starting to develop a web app with GWT, and so far everything is great. However I am a little lost in finding an example or pointers, in how to do a call to a JAR in the server side. Basically what I want is to click in a button, and launch a task in the server side to run a JAR and after get the answer from the server to see if everything was OK.

I have found this question in the site

Strange GWT Error with external jar on server side

But no clue about how was the development. Thanks a lot.

Please for those expers out there, I also accept any other suggestions for the design, maybe this thing I am trying to do is a horrible idea.

Edit: I have access to the code of the application, but it is not a simple Java application, it is has extensive use of SQL and SOAP, which I don't think GWT won't be able to compile into javascript to run in the client.

Upvotes: 0

Views: 294

Answers (1)

Wojciech Owczarczyk
Wojciech Owczarczyk

Reputation: 5735

I would suggest including this Jar on Classpath of your project and invoke it's actions programatically, provided of course that you know the API of this library.

Upvotes: 1

Related Questions