[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

application-applet socket

Posted on 2003-03-13
11
Medium Priority
?
252 Views
Last Modified: 2012-06-27
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?

           
0
Comment
Question by:Jasbir21
  • 7
  • 3
11 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 360 total points
ID: 8127155
 The best way to start with sockets is here: http://java.sun.com/docs/books/tutorial/networking/sockets/

  With regards to appelts and database you might also want to take a look here: http://www.csee.umbc.edu/help/oracle8/java.815/a64685/basic8.htm
0
 

Author Comment

by:Jasbir21
ID: 8133446
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
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Author Comment

by:Jasbir21
ID: 8133447
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
0
 

Author Comment

by:Jasbir21
ID: 8133453
Sorry the correct diagram,

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

Author Comment

by:Jasbir21
ID: 8133458

Sorry the cut and paste is

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

                            applet--client1
                               |
                               |
                             clientn      
0
 

Author Comment

by:Jasbir21
ID: 8133459

Sorry the cut and paste is

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

                            applet--client1
                               |
                               |
                             clientn      
0
 

Author Comment

by:Jasbir21
ID: 8155621
Pls help, mine not working
0
 
LVL 35

Expert Comment

by:girionis
ID: 8157870
 What is the problem? Any error messages?
0
 

Author Comment

by:Jasbir21
ID: 8229283
Thank you.
 
0
 
LVL 35

Expert Comment

by:girionis
ID: 8234613
:-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question