File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet JDNI database connection

 
Bahadir Mert Uzan
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there. I am trying hard to create an applet in a servlet base enviorment. Here is my question.

With the help of glassfish I manage to make a connection to a database(basicly Database pooling)
and then I want to connect this to my applet that I will use in one of my web page. Do you have any
tips for that ?

If you can write a simple code or a good tutorial I would be very glad.

Also if you recomend a better way like using Servlets I would very much appreciate.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "connect"? Whatever DB connectivity you set up in the app server can't be used by the applet, since that's running in a different JVM.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic