Web Services and live Object - Post 2

A

Araxes Tharsis

Hi,
I am creating an application with Java SE that needs to expose
functionalities of a mainframe to .NET clients. I am thinking in creating a
Web Service with methods:
void startEngine()
void shutdownEngine()
String[] doCommand( String[] )

As I must have only one engine running, I will make the scope of the WS as
"Application". The first client must start the engine with startEngine() and
then all clients can use the same engine that is running with the
doCommand() method. Is this correct?
As I need to monitor the operations of the engine I will make it a RMI
Server, so I can access it with an Applet, that will have to be made
available by the startEngine() method. As I want to be able to start the
engine from the Applet I will also need to use the WS mentioned, from the
Applet.
Anything wrong with this Architecture?
Any comments appreciated.
Thanks,
Araxes Tharsis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top