Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) what are the new features of Webservices 1.6 than 1.4.From the interface and implementation aspect4.
2205"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
2 7750Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?
TCS,
1 4906java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }
CTS,
6 25178Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debugging java.
2 5679what is the use of clone method? why user cant overwrite in sub class without its proper defination.
TCS,
2 6357
Is set ordered?
Can we have try block without catch block?
What is a jms session?
What is the difference between personalization and customization?
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
What are internal and external variables?
Explain about join() method?
What are the advantages of hibernate framework?
Can we use string in the switch case?
What is the difference between jdbc and hibernate?
How can we enable promotion engine logs?
What are the new features in java 8?
What is class forname?
Name some important annotations used for Hibernate mapping?
What is the functionability stubs and skeletons?