Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WS with app that uses Ant Build  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created an application that uses JPOX to read data from a DB. This app uses a build.xml, so I run it using Ant build.
It is a simple java class that reads the DB and returns a string.

Now I want to deploy it, create a Web Service with this class.

I'm using Eclipse, I know the basics, I created a simple WS that returns a string and it worked. But the WS created with the DB reader class doesn't work, because it has to run with the build.xml instructions. I have no idea on how to do it!

My build.xml has this code to run the app, how do I create a WS that runs with these parameters?

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!