what is difference between web server and application
server?
Answer / paletipatisrinu
webserver :
1)webserver imlementation on servlet,jsp Api specifation.
2)less middleware services
3)its recoginses only WAR files
4}its understand only http requset
5}its develop only webapplications.
Ex: tomcat server
Applicationserver:
1)Application server implementation on All J2EE specifications
2)more middle ware services( nearly 16 middle ware)
Ex:connection pooling,security,transaction management
3)its recoginses WAR,RAR,EAR files
4)its understand http,non http requsets
5}its develop webapplications and enterpraise
applications,distributed applications.
ex:-weblogic
FORMULA:
APPLICTION SERVER=WEBSERVER+MIDDLEWARE SERVERICE+EJB CONTAINER
Is This Answer Correct ? | 16 Yes | 0 No |
How do you create UserTransaction Object? How do you rollback a transaction in a method?
What are the classes in the java collection framework? : java collections
When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
What are the types of the main implementing classes in the map interfaces? : java collections
whatis arguments &what is default argument
How do you debug your java program?
What are the different types of features of the java collections framework? : java collections
Explain JSP life cycle?
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
my interviewer asked me what technical specification you used how to answer that question
how to deploy the web application ?
How to call the m1() method of Base class in below snippet ? class Base { public void m1() { System.out.println("Base m1 "); } public void m2() { System.out.println("Base m1 "); } } ====================== class Derived extends Base { public void m1() { System.out.println("Derived m1"); } public void m3() { System.out.println("Derived m3"); } public static void main(String[] args) { Base ob=new Derived(); ob.m1(); //System.out.println("Hello World!"+ob.m1()); } }