B
B@za
Hi
I'm moving into an area of Java in which I am unfamiliar and I wondered if
somebody here could point me in the right direction. I am producing an
message classifier for a technical support department using machine
learning. I have written a prototype classifier already and it is
classifying test messages with a reasonable degree of accuracy. However at
this stage, I now need to think about integration with a web site.
Customers will submit queries via a web form which will then be fed to the
classifier before being redirected to an appropriate department for
handling. It's the integration between the web form and the classifier
application that is a bit of a problem.
My classifier is a standard Java application, nothing special in it's
operation. The web site will run off an Apache server and the form will be
a standard web form. What's the best way to channel the output of the form
into my Java application. I have thought of the following possibilities, I
don't know which one is best, or even if some of them are practical.
* The use of servlets and RMI to transfer the data from a servlet to a
Java application based elsewhere.
* Linking the servlet and application into one program. This will mean
however that the application will need to run on a web server. I'm not
sure if this is possible
* Using a servlet to write the entry to a file which is re-read later by
the Java application and added to a queue.
* Using CGI. This is an academic project and performance is not a big
issue at this stage. The method used would probably be similar to the
previous point
Does anybody know which of the following ways would be best? Is there a
better way which I've missed?
Thanks
I'm moving into an area of Java in which I am unfamiliar and I wondered if
somebody here could point me in the right direction. I am producing an
message classifier for a technical support department using machine
learning. I have written a prototype classifier already and it is
classifying test messages with a reasonable degree of accuracy. However at
this stage, I now need to think about integration with a web site.
Customers will submit queries via a web form which will then be fed to the
classifier before being redirected to an appropriate department for
handling. It's the integration between the web form and the classifier
application that is a bit of a problem.
My classifier is a standard Java application, nothing special in it's
operation. The web site will run off an Apache server and the form will be
a standard web form. What's the best way to channel the output of the form
into my Java application. I have thought of the following possibilities, I
don't know which one is best, or even if some of them are practical.
* The use of servlets and RMI to transfer the data from a servlet to a
Java application based elsewhere.
* Linking the servlet and application into one program. This will mean
however that the application will need to run on a web server. I'm not
sure if this is possible
* Using a servlet to write the entry to a file which is re-read later by
the Java application and added to a queue.
* Using CGI. This is an academic project and performance is not a big
issue at this stage. The method used would probably be similar to the
previous point
Does anybody know which of the following ways would be best? Is there a
better way which I've missed?
Thanks