Tuesday, 15 April 2014



Q.What is tomcat?
Ans:1) Tomcat is a Java Servlet container and web server from the Jakarta project of the Apache software foundation.
2) A web server responds with web pages to requests from client browsers.
3) Web servers can provide dynamic content based on the requests sent by the user.
4) Tomcat is very good at this because it provides both Java servlet and JavaServerPages (JSP) technologies.
5) Tomcat can also be used as a web server for many applications even if free servlet and JSP engine is wanted.
6) It can be used standalone or used behind traditional web servers such as Apache httpd, with the traditional server serving static pages and Tomcat serving dynamic servlet and JSP requests

Q: Where do you deploy your application at Tomcat?
Ans: We deploy web application as war or exploded format in .\webapps folder. 

Q: What is the default port of Tomcat server ?
Ans : 8080.

Q: How do you configure data connection pool in Tomcat?
Ans :  Using <datasource>  tag in web.xml file.

Q: How you can change default port of Tomcat server?
Ans : Modify .\conf\server.xml and change  port number in <Connector port="8080" protocol="HTTP/1.1"   tag.

Q: How do start and stop Tomcat server?
Ans: Using .\bin\startup.bat  and .\bin\shutdown.bat.

Q: What is the deployment folder structure of a web application in Tomcat Server?
Ans :

J2EE Acronyms

J2EE Acronyms


Acronyms Description
API Application Programming Interface
AWT Abstract Window Toolkit
CDC Connected Device Configuration 
CLDC Connected Limited Device Configuration
CORBA Common Object Request Broker Architecture
EAR Enterprise Archive
EJB Enterprise Java Beans
IIOP Internet Inter ORB Protocol
J2EE Java 2 Enterprise Edition
JSTL Java Standard Tag Library
J2SE Java 2 Standard Edition
JAAS Java Authentication and Authorization Services
JAXB Java Architecture for XML Binding
JAXP Java API for XML Processing
JAXR Java API for XML Registries
JAX-RPC JAX-Remote Procedure Call
JAX-WS API for XML Web Services
JDBC Java Database Connectivity
JDK Java Development Kit
JDO Java Data Objects
JIT Just In Time compiler
JMS Java Messaging Services
JNDI  Java Naming and Directory Interface 
JNI Java Native API
JOE Joe's own editor
JRE Java Runtime Environment
JSP Java Server Pages
JTA Java Transaction API
JSF Java Server FacesAPI
JTS Java Transaction Service
JVM Java Virtual Machine
JXTA Juxtapose
ORB Object Broker Architecture
RAR Resource Archive
RDF Resource Description Framework
RI Reference Implementation 
RMI Remote Method Invocation
WMA Wireless Messaging API 
WSDP Web Services Developer Pack
XML Exensibal Markup Language