Skip to main content

Java, J2EE& Java-Servlet

Java Development Kit
Java is platform independent, reliable Programming language introduced by sun systems, used mainly to Develop Internet applications and applets. Java is used to create web-based applications and allows user interaction on the Internet. Java allows us to have animation, audio and video clippings in our web page. Java Programming helps in writing Programs using which one can connect to any computer on the Internet.

Salient Features
    Java is two stage system having both compiler & interpreter.
  • Java is Platform Independent & Portable language. Thus Java Program can be moved from one computer to another computer, irrespective of the hardware or operating systems.
  • Java supports object oriented concepts. Java comes with an extensive set of classes which can be used by inheritance.
  • Java allows us to have animation, audio and video clippings in our web page.
  • Java provides many safeguards for security. It has strict, compile & run time checking for data types. Java also has concept of error handling which captures errors & eliminate any serious risk to the system.
  • Java is a distributed language i.e. it can be used across various networks.
  • Java is a simple language as compared to other object oriented languages.
  • Java supports multithreading i.e. one can perform multiple task in system independent of each other.
  • Java is capable of dynamic linking.
  • Java is extensible language.
Application
Java is used to create web-based applications and allows user interaction on the Internet.
Java Programs can be used to connect to any computer on the Internet and have financial transactions.

J2EE
J2EE is a multi-tiered application architecture. The J2EE specification defines roles based on certain functionality in the normal course of development and deployment of a J2EE application.

Salient Features
A J2EE component is a self-contained functional software unit that is assembled into a J2EE application; it then interfaces with other application components.

Application
You can develop servlet-based Web application that can process HTML forms and generate dynamic content using the J2EE

Java-Servlet
Servlets are used for Server-Side Programming. Servlet are generic extensions to Java-enabled servers. Their most common use is to extend Webservers, providing a very secure, portable and easy-to-use replacement for CGI. A Servlet is a dynamically loaded module that services requests from a Web server. It runs entirely inside the Java Virtual Machine

Salient Features
  • Processing data posted over https using an HTML form, including purchase order or credit card data. A servlet like this could be part of an order-entry and processing system, working with product and inventory databases, and perhaps an on-line payment system.
  • Allowing collaboration between people. A servlet can handle multiple requests concurrently; they can synchronize requests to support systems such as on-line conferencing.
  • Forwarding requests. Servlets can forward requests to other servers and servlets. This allows them to be used to balance load among several servers that mirror the same content. It also allows them to be used to partition a single logical service over several servers, according to task type or organizational boundaries.
  • Being a community of active agents. A servlet writer could define active agents that share work among each other. Each agent would be a servlet, and the agents could pass data among themselves
Application
Create JDBC connection pool.
Create an Online Catalog System.
Developing E-Commerce "store fronts" will become one of the most common uses for Java servlets.
Servlets can be used to deploy Websites that open up large legacy systems on the Internet.
Published date : 20 Jun 2015 06:22PM

Photo Stories