hi frnd you can use type4 driver for getting results from daabase. example code as follows..........
Class.forName("oracle.jdbc.driver.OracleDriver); Connection con=DriverManager.getConnection("jdbc:oracle:thin:@localhost: 1521:XE","scott","tiger"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from Account;"); whhile(rs.next()) { int ano=rs.getInt(1); String name=rs.getName(2); float bal=rs.getBal(3); System.out.println(ano); System.out.println(name); System.out.println(bal); } On Apr 30, 2:30 pm, Teji <tejinder0...@gmail.com> wrote: > guyz i want to develop a program which fetch the data from the > database which is stored on network. and then it displays to the > user.. > m a beginner in java so any one plese tell me whcih database s/w is > best for it and how it code in java. nd with which technology. i.e rmi > or else.. > > please comment whatever u have in ur mind.. plz plz plz -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en