Bookmark Topic Watch Topic
  • New Topic

jdbc with applets

 
zack chancery
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Report post to moderator
i intend on using a java applet in conjuction with a mySql databse using jdbc. Before i throw myself into it, can this be done?
and if so is there anything i should watch out for?
or additionally need to install or download?
best regards,
zapf
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
"zapf chancery",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
zack chancery
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Report post to moderator
i intend on using a java applet in conjuction with a mySql databse using jdbc. Before i throw myself into it, can this be done?
and if so is there anything i should watch out for?
or additionally need to install or download?
best regards,
zack,

apologies for the above!
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Report post to moderator
I think the gotchas are on the Applet site rather than on the JDBC side, so you may be better off posting in the Applets forum. Here are a few things to bear in mind that I've picked up from using this forum (I've never used Applets myself, however):
  • You'll need to use a type 3 (pure Java, net protocol) JDBC driver
  • You can only connect to a DB via the same location that served the applet
  • I've seen first-timers struggling with JNDI and javax.sql.DataSource; something to do with configuration parameters

  • It is possible. Hope you find this useful.

    Jules
     
    zack chancery
    Ranch Hand
    Posts: 33
    • Mark post as helpful
    • send pies
    • Report post to moderator
    thanks
     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 65335
    97
    IntelliJ IDE Java jQuery Mac Mac OS X
    • Mark post as helpful
    • send pies
    • Report post to moderator
    Please continue any discussion here.

    Julian, please don't encourage people to cross-post in other forums. Rather, ask a bartender to move the post. Makes less work for us. Thanks!
     
      Bookmark Topic Watch Topic
    • New Topic