?
Solved

application-applet socket

Posted on 2003-03-13
11
Medium Priority
?
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

801 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