Wednesday, August 28, 2019

JavaServer Page Essay Example | Topics and Well Written Essays - 750 words

JavaServer Page - Essay Example It is alike to PHP, though for the difference, it uses Java Programming Language. JSP is Java Servlet’s high-level abstraction (Bill 2014, p.1). A JSP component is designed as a type of Java Servlet, to do the work of the interface of a user for java web application. They are written as text files combining XML elements, XHTML or HTML codes, as well as the embedded JSP commands and actions (Bomer 2014, p.1). With the use of JSP, input from users can be collected through, database present records and web page forms to dynamically create web pages. JSP tags also have a variety of user purposes such as registering user preferences, retrieving data or information from a database, accessing JavaBeans components, sharing information between requests and passing control between pages (Janssen 23). However, there is program code further division, inside the Application Server, into the three logical tiers. This is fractal in some kind: app server object design which unites the whole system architecture. The diagram below shows the Three-Tier architecture. (Kumar 2008, p. 1) The JSP technology is responsible for dynamically creating Web-based content using middle-tier processing. It does this by splitting the Application Logic from Page Design and then compressing logic in reusable and portable Java components (Walsh 2012, p.1). The logical tier (Middle Tier) is removed from the Presentation Tier and controls the functionality of an application, on its own, by performing processing in details (Walsh 2012, p.1). Any code that is not related to retrieving and storing data, as well as to formatting data for user’s display is business logic, in three-tier architecture. For several reasons, it makes sense to store in separate objects, this business logic (Walker 2014). These objects are comprised in the middle tier. However the divisions are often blurry, between the three layers, and business logic is best in most programs. The terms main

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.