Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run java app on server

 
Arr Dee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Maneesh Godbole
Saloon Keeper
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arr Dee,
Please check your private messages for an important administrative matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic