wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Run java app on server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Run java app on server" Watch "Run java app on server" New topic
Author

Run java app on server

Arr Dee
Greenhorn

Joined: Apr 09, 2009
Posts: 1
Hello all,

I'm fairly new to Java programming (actually I did use Java for quite some time, but only for standalone applications).

I have this small Java application (plain and simple) which takes a few arguments. I want to be able to invoke my application from a webbrowser (and pass some parameters), so by URL.

My question is plain and simple: how should / could I do this?

Best, R4D2
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

You'll need to wrap your program with a "web application" on an "application server." The simplest web application is a servlet that takes parameters and calls your program. Tomcat is a simple server to install.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Arr Dee,
Please check your private messages for an important administrative matter.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run java app on server