Link to home
Start Free TrialLog in
Avatar of Jasbir21
Jasbir21

asked on

application-applet socket

Hi, i am working on a client server application. Server will have an application that will be connected to the oracle using jdbc thin driver .Then i will have an applet in the server as well.The applet will be connected to the application using socket.The applet can be downloaded by the clients.

      oracle--jdbc--application
                         |
                         |
                      applet-----client1
                         |
                         |
                       client2
              clientn


Is there any sample code that can be used to connect the application to the applet (both are in the server ) using socket?

           
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jasbir21
Jasbir21

ASKER

Sorry for the mistake, the applet connects directly to the application using sockets.In other words, the server will have application and applet as the server.So, the client just downloads the applet using socket.
So, the applet , will have the ServerSocket , so, how do i connect the application which is in the server to the applet which is also in the server.Is it by using sockets as well?




     oracle--jdbc--application
                        |
                        |
                     applet-----client1
                        |
                        |
                      client2
             clientn

Jasbir
Sorry for the mistake, the applet connects directly to the application using sockets.In other words, the server will have application and applet as the server.So, the client just downloads the applet using socket.
So, the applet , will have the ServerSocket , so, how do i connect the application which is in the server to the applet which is also in the server.Is it by using sockets as well?




     oracle--jdbc--application
                        |
                        |
                     applet-----client1
                        |
                        |
                      client2
             clientn

Jasbir
Sorry the correct diagram,

oracle--jdbc----  application
                       |
                       |
                      applet-----client1
                       |
                       |
                      client2
            clientn

Sorry the cut and paste is

oracle---------jdbc-------application
                               |
                                |

                            applet--client1
                               |
                               |
                             clientn      

Sorry the cut and paste is

oracle---------jdbc-------application
                               |
                                |

                            applet--client1
                               |
                               |
                             clientn      
Pls help, mine not working
 What is the problem? Any error messages?
Thank you.