Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Joel Evans   on Sep 04 In Java Category.

  
Question Answered By: Roosevelt Jenkins   on Sep 04

> 1. diffrences between interface & absrtact class?
An abstract class is one that is partially defined and requires that
another class extend it to complete all of the method implementations.
An interface is like a class skeleton or blueprint. Any classes that
implement an interface must implement all of the methods described by
the interface.

> 2.diffrences between servlets & jsp?
jsp  page is just an HTML page  with embedded java  code that tomcat
will compile into a servlet  before sending the page to the client. So
in effect a servlet is just a compiled JSP page. JSP just gives a
development team the ability to separate the HTML coding from the Java
coding.

> 3. if ten threads r of same priority which will run first?
I believe either the system kernel or the JVM would pick any one of
them since they are all the same priority. Depends on the way threads
are scheduled.

> 4.is there data  base pool in tomcat ?
yes. go to the apache site and look at the tomcat JDNI pages.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on java query Or get search suggestion and latest updates.


Tagged: