Results 1 to 2 of 2
  1. #1
    MrDave is offline Member
    Join Date
    Mar 2010
    Posts
    8
    Rep Power
    0

    Default Applets and databases

    I'm working on an applet that connects to a SQL database. Currently I'm trying to connect to a sql database on uniserver for demo purposes.

    I can connect to the database with a normal application but the applet returns a "Communications link failure" error.

    Ideas?

  2. #2
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Default

    as a rule, you have to develope a servlet for your applet. So to connect your database with servlet.
    You must have something like a
    applet <-> servlet <-> DB Engine

    Good Java Coding

Similar Threads

  1. OOP design and Databases.
    By idefix in forum New To Java
    Replies: 4
    Last Post: 10-06-2009, 10:52 AM
  2. struts 2 and databases
    By rantravee in forum Web Frameworks
    Replies: 1
    Last Post: 12-23-2008, 07:59 AM
  3. how to use XML databases
    By paty in forum XML
    Replies: 3
    Last Post: 08-16-2008, 01:11 AM
  4. Recommendation about databases
    By tommy in forum JDBC
    Replies: 2
    Last Post: 07-28-2007, 06:04 AM
  5. multiple databases
    By varunthecool in forum JDBC
    Replies: 2
    Last Post: 07-09-2007, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •