Skip to main content

Posts

Showing posts from July, 2016

Servlets part1: Introduction

Session Contents ·          Static Vs Dynamic Web Pages ·          Servlet Basics ·          Deploying Tomcat Web Container ·          Setting up Tomcat with Eclipse ·          Creating web application with Eclipse IDE Dynamic webpages: Dynamic sites, on the other hand, construct HTML pages on fly as they are requested, using server side scripting languages such as Servlets, JSP, PHP , ASP etc. Depending on the information site visitor requests for, the content for web pages is dynamically generated and if required, retrieving data from the database. JAVA Java is arguably the most powerful platform for server-side web development  today. From small Java programs (Servlets) that handle Web page requests to Java  Server Pages (JSPs) that combine HTML with custom tags and Java code, and  even up to Enterprise JavaBeans (EJBs), software components with  sophisticated abilities to carry information seamlessly across servers and networks to accommodat

Bithiri Sathi One Side Angry Show

Bithiri Sathi One Side Angry Show

bithiri sathi dubsmash

Bithiri sathi dubsmash

JSP :part 18; Model View Controller Architecture

Model View Controller Architecture In Model 1, a request is made to a JSP and then that JSP handles all responsibilities for the request, including processing the request, validating data, handling the business logic, and generating a response. The Model 1 architecture is commonly used in smaller, simple task applications due to its ease of development. Although conceptually simple, this architecture is not conducive to large-scale application development because, inevitably, a great deal of functionality is duplicated in each JSP. Also, the Model 1 architecture unnecessarily ties together the business logic and presentation logic of the application. JSP Model 2 Architecture Model 2 is a complex design pattern used in the design of Java Web applications which separates the display of content from the logic used to obtain and manipulate the content. Since Model 2 drives a separation between logic and displ