Congratulations, you have developed and put your favourite web application in a hosting environment. Your application platform may be LAMP, .NET, J2EE etc. Suddenly your site is attracting large number of visitors and your system starts struggling to respond to all users! Here I explain some basic performance optimization techniques for all levels starting from design to hosting.
In this tutorial I am explaining some Linux admin commands I execute in my day to day life as developer.
Struts is a popular open source MVC framework for building dynamic web applications in Java platform which is now managed by Apache foundation. Struts 2 was evolved from Struts and WebWork, another Java web application framework from OpenSymphony.
Linux is a popular open source operating system originally developed by Linus Torvalds. Linux is almost similar to UNIX, another popular OS in many aspects. Here I am explaining some basic Linux commands which will be benefitted by developers in day to day life.
Lucene is an open source text based search engine orginally developed by Doug Cutting, now managed by Apache Software Foundation. It is a high performance easy to use API written purely in Java. Though it is written in Java platform, it is ported to many languages like PHP, C++ etc.
What do you mean by Filters? Filter is a component which intercepts HTTP request/response and provide additional functions. It is also used to modify request/response objects. Filters have been introduced since Servlet 2.3 specification. It act as a reusable component which could be attached to multiple resources like Servlets, JSPs etc and execute common tasks to them.
Web application is a collection of static and dynamic resources which can be packaged and deployed in an application server. It is packaged in archive format called WAR format and deployed in application server which support JSP and Servlet specification.
JDBC stands for Java Database Connectivity which is a set of interfaces and classes provided by Sun to access relational database in a vendor independent manner from Java platform. Database vendors who would like to support JDBC API implement these interfaces and classes and package them which is called JDBC driver. JDBC API is an important package in Java platform and is shipped with standard JDK distribution. JDBC was evolved as an alternative to ODBC which is a Microsoft standard to access RDBMS in vendor neutral manner.
JSP is a server side component for building dynamic web applications based on Java platform. It provides dynamic scripting capabilities within static HTML or XML content. It is extended from Servlet, another server side component to build dynamic web applications. A typical JSP file consists of static content like HTML tags along with Java code snippets which are embedded using special tags. JSP compiler compiles the JSP file into servlet during run time which is executed in Java application server like Tomcat.
Servlet is a server side program runs on web server primarly used for creating dynamic web applications. Servlet API is a set of classes and interfaces provided by Java as an alternative to CGI programs. Like CGI program, servlet accepts HTTP request and send back response to the user. Servlets are deployed in servlet container, an executable program runs within a web server which is responsible for managing servlets. Tomcat is a popular open source web server with servlet container managed by Apache Software Foundation.