Two Laptop Bag
The moose likes Web Services and the fly likes begining level of web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "begining level of web service" Watch "begining level of web service" New topic

begining level of web service

zita lakshmi
Ranch Hand

Joined: Nov 13, 2009
Posts: 37

I need to bush a value from a standalone java application to a jsp. Currently i am using database in between java and jsp.
how can i pass the value from the java standalone to jsp without jsp.

please asses me. Thanks

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Do you want to pass some data from a standalone Java program to a JSP, without using a JSP?!??

I ignore the above and assume that you want to pass some data from a standalone Java program to a JSP in a web application.
Do you want the web application to poll for the data or do you want to push the data from the standalone application to the web application, which is to update the display when new data arrives?
What are you not satisfied with, concerning your current solution using a database (i.e. what problems do you want to solve)?

One thing that comes to mind, without me being very clear on your requirements, is to use some kind of queue.
The standalone application puts data into the queue when it is available and the web application can later fetch the data from the queue when convenient.
Best wishes!

My free books and tutorials:
I agree. Here's the link:
subject: begining level of web service
It's not a secret anymore!