...
>I want to invoke a some java code on a server, preferably through RMI,
>via webpage. The thing is that I don't want to embed an applet on that
>page.
If the code is not being executed on the client side*,
it is being executed on the server side, which hardly
makes it 'remote'.
* e.g. by an applet or web started app.
>I was thinking something like:
>
><a href="The_java_code_is_activated_here"> Click </a>
For server side execution.
<a href="The_servlet_located_here"> Click </a>
For client side execution.
<a href="The_web_start_launch_file_located_here"> Click </a>

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Thomas Korsgaard - 06 Jun 2007 11:58 GMT
> For server side execution.
> <a href="The_servlet_located_here"> Click </a>
>
> For client side execution.
> <a href="The_web_start_launch_file_located_here"> Click </a>
I dont think that I have expressed my problem correnctly. Sorry, Andrew.
But thanks for your reply.
The problem is that the java code is not on an Application Server. It is
on a proxy server that runs java, and I have very little control over
that proxy. Basically the sequence diagram would look somthing like this:
Internet Proxy Client
|
| webpage
| ----------> |
| proxy modified webpage
| -------------------------> |
|
Click in browser |
| <--------------------------|
|
The deals with
the click
internally
I was thinking that maybe I could use java script function to invoke an
RMI method on the proxy.
Does anyone have and idea?
/Thomas