Well, yes and no. Nothing stops you from using JDBC in your applet and accessing a database on the same server - nothing, that is, except the firewalls that are likely to sit between the user and your database server. Which means that you really need to tunnel it over HTTP, which in turn is likely to make you go full circle back to servlets again... Take a look at javax.sql.WebRowSet, part of the JDBC 2.0 optional extensions. - Peter
"dwivedi_sachin5", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks. Sean
yes..u can connect ur applet directly to ur database but the high security model that java has is likely to cause some problems during run time. I guess itz okay to connect ur applet to ur database prvided the applet is fairly simple/elementary though I'd recommend the use of servlets!