StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Java Servers Page - Assignment Example

Summary
"Java Servers Page" paper focuses on JSP as our particular technology, where it can be used for the new single information system in Passmores University. Where both school and the students can get easier access to academic and personal information through one platform…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER97.6% of users find it useful
Java Servers Page
Read Text Preview

Extract of sample "Java Servers Page"

750 words per person Introduction 2. 3 tier-architecture explanation (Related to the scenario) Diagram Talk about middle tier-where JSP fits in What it’s the responsible for (processing –business logic end-rules) Give at least 1 application example of how it interacts with other tiers 3. What JSP is and where it can be used. 4. Is it compatible with other systems? Introduction Information systems combine components with many different configurations. The basic blocks for ICT are used to make up information systems. They include; hardware, software, data, and telecommunications (Bill 2014, p.1). In this report we will focus directly on Java Server page (JSP) as our particular technology, where it can be used for the new single information system in Passmores University (PU). Where both school and the students can get easier access to the academic and personal information through one platform. 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). The Java 2 Enterprise Edition Model The Java 2 Enterprise Edition Model (J2EE) is an assembly of numerous Java APIs that have formerly been offered as separate packages, an Application Programming Model (APM), also known as the J2EE Blueprints, that describes how they can all be combined, and a test suite that J2EE vendors can use to test their products for compatibility. J2EE includes the following enterprise-specific APIs; Java Server Pages (JSP) Java Servlets Enterprise JavaBeans (EJB) Java Database Connection (JDBC) Java Transaction API (JTA) and Java Transaction Service (JTS) Java Naming and Directory Interface (JNDI) Java Message Service (JMS) Java IDL and Remote Method Invocation (RMI) Java XML In addition, all the J2SE APIs can be used when developing a J2EE application. The first three APIs, that is, EJB, JSP, and servlets a different set of technologies that are managed by web containers. Usually, servlets and JSP pages are managed by a container which delivers the runtime setting for these components, interpreting requests and responses into ordinary Java objects. The Enterprise applications are usually divided into a group of tiers. J2EE contains three tiers, they include, the client tier, the middle tier, and lastly the Enterprise Information System (EIS) tier. The client tier contains browsers as well as regular GUI applications. The browser communicates with the web container using HTTP. A standalone application can also use HTTP or communicate directly with the EJB container using RMI or a CORBA protocol. Another type of client that is becoming more and more popular is the extremely thin client, such as a cellular phone or PDA. This type of client typically uses the Wireless Access Protocol (WAP), often converted into HTTP via a gateway, to communicate with the web container. A standalone application, written in Java or any other programming language, can also communicate directly with the EJB components. Components in this tier can access databases and communicate with other server applications using all of the other J2EE APIs. Lastly, The Enterprise Information System (EIS) tier holds the applications business data. Typically, it consists of a single or multiple relational database management servers, but other types of databases, applications, and mainframe transaction processing systems are also included in this tier. The middle tier uses J2EE APIs to communicate with the EIS tier. JSP will be of use in building the system that the Passmores University requires. The system will basically have various web pages for various users (Administrators, departments and students) and will be expected to carry out various functions pertaining to schoolwork (Weaner 2014). Three-tier architecture is whichever system can separate the three parts including; Client Tier user interface Middle Tier or business logic Data Storage Tier (Janssen 2014, p.1) These three logical tiers correspond, applied to distributed programs and web applications, to the corporal separation between the three types of hosts or devices including; GUI or Browser Application Application server or Web Server (such as retrieving Java Beans components) Database Server (often a Relational database or RDBMS) (Janssen 2014, p.1) The diagram below shows the Three-Tier architecture. (Oracle 2014, Fig1-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. 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 with the 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. Strengths and weakness of the JSP ISRD group points out that the use of JSP has several advantages (2007, p.488). Some of these advantages could include, It usually combines the most important features that are present in the other alternatives such as CGI, mod Pearl, ISAPI among others. Has the ability to not support scripting but also the component based dynamic content. Enables the programmers to come up with customary tagged libraries that will satisfy the specific needs of the application. The JSP scripts can also be precompiled in order to increase the processing effectiveness, speed and the overall efficiency of the server. The JSP scripts could be used in conjunction with the servlets that have the ability to handle the business logic. JSP can compete with different applications thus increasing its overall performance and quality. Its advantages are outlined in, Brown et al. points out that it also contains a number of disadvantages (2005, p.360-361). Such as; Java programs are a usually expensive commodities. Debugging JSP programs is also another key challenge. When the JavaScript extracts are added to web pages, they execute on the client servers with immediate effect. Hence exploiting the users system. Extracts the JavaScript differently thereby resulting in irregularity in the sense of functionality and interface. In compatibility, the coercion rule have been reconciled by the use of EL coercion rules. On passing of an empty string in attribution of numeric, translation errors which occurred, has been eliminated since in JSP 2.0 a 0is passed instead. The various behavior of container features is determined by the web.xml which is constantly upgraded hence compatible with servlet version 2.3 and 2.4 specification. Bibliography Bill, J. (2014). JSP Tutorial. Retrieved November 26, 2014, from JSP tUtorial: http://www.jsptut.com/ Walker, P. (2013). JSP. Retrieved November 26, 2014, from TechTerms: www.techterms.com Walsh, M. (2014). Java Remote Method Invocation - Distributed Computing for Java. Retrieved November 26, 2014, from Oracle: http://www.oracle.com Walsh, M. (2014). Java SE at a Glance. Retrieved November 26, 2014, from Oracle: www.oracle.com Weaner, D. (2014). What is 3 Tier Architecture and Why Do You Need It? Retrieved November 26, 2014, from SIMCREST Technology Solutions That Fit: http://blog.simcrest.com Janssen, C. (2014). Three-Tier Architecture. Retrieved November 26, 2014, from Techopedia: www.techopedia.com Oracle (2014). The Java EE5Tutorial ,Retrieved November 26, 2014, from Oracle: https://docs.oracle.com/javaee/5/tutorial/doc/bnaay.html Bomer, P. (2014). Using a Three-Tier Architecture Model. Retrieved November 26, 2014, from Windows: http://msdn.microsoft.com Jeff Offout (2013) Scoping and Handling State in Java Servers Pages , Retrieved November 26, 2014, http://www.cs.gmu.edu/~offutt/classes/642/slides/642Lec10b-JSP-stateHandling.pdf Jian Zhong(2001).Step into the J2EE architecture and process. Retrieved November 26, 2014, http://www.javaworld.com/article/2075665/core-java/step-into-the-j2ee-architecture-and-process.html Read More

CHECK THESE SAMPLES OF Java Servers Page

Hypertext Markup Language

and Section # of HTML HTML, Hyper text markup language is the most common web page formatting language.... It is a generalized markup language that is considered a relatively easy to use language in web page design.... HTML provides web page designers with a fixed set of mark up 'tags' that are used to format a web page.... These tags, when inserted into a web page are interpreted by the browser and shown in the form of the page display....
13 Pages (3250 words) Coursework

The Pros and Cons of Different Scripting Languages

The fundamental challenge of Web page development is that while it is easy to create a Web page, it is more difficult to create an attractive and exciting one.... TML, the markup language that describes the appearance of a page, is easy to learn, and requires no background in programming.... HTML has undergone several revisions in order to meet the expanding needs of Web page authors.... avaScript offers the Web page author a new level of sophistication without requiring him to become a programmer....
15 Pages (3750 words) Essay

Web technologies.From PHP to Python

PHP is primarily focused on server-side scripting, so you can do anything a CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies.... We can access the PHP program output with a web browser, viewing the PHP page through the server.... PHP has also support for most of the web servers today.... This includes Apache, Microsoft Internet Information Server, Personal Web Server, Netscape and iPlanet servers, Oreilly Website Pro server, Caudium, Xitami, OmniHTTPd, and many others....
21 Pages (5250 words) Essay

Comparing and Contrasting IIS and Apache Web Servers

This essay "Comparing and Contrasting IIS and Apache Web servers" elaborates on the role of web servers as important software for Web platforms.... Comparing and contrasting IIS and Apache web servers Web servers are important software for Web platforms.... Microsoft's Internet Information Services however, is proprietary and based on a collection of services to other web servers.... The execution environment of both these servers differ....
8 Pages (2000 words) Essay

Software Architecture

Another important feature provided by a web server is that of Static Web page and a Dynamic Web page.... When at the request of a client for a web page as illustrated in Figure 5, the web server sends only a simple HTML file.... This is called a static web page.... igure 5: Static Web page Request and Response ... n case of a Dynamic Web page, a web server is able to execute an application to derive some results as illustrated in Figure 6 and then send it to the client....
8 Pages (2000 words) Report

The Operation of Java Applications in the Context of Operating Systems

This term paper "The Operation of java Applications in the Context of Operating Systems" evaluates the operations of java applications in the context of computer hardware and operating systems with a special focus on the various features and capabilities of java.... The paper discusses the various features and the capabilities of java that rely on and supporting the system operations.... The Operation of java Applications in the Context of Computer Hardware and Operating Systems s affiliation Table of Content ………………………………………....
6 Pages (1500 words) Term Paper

Java Server Pages and the Java 2 Enterprise Edition Model

As opposed to a plain HTML page that contains a stationary content, a JSP page usually has the ability to change its content based on any amount of variables (Hall & Brown 2004, p.... ust like any other regular web page, a JSP script comprises of ordinary markup language components such as HTML tags (Metlapalli 2007, p.... As soon as the user requests for a JSP page, the server will execute the JSP elements, thereby amalgamating the outcomes with the static parts of the script, and finally it will send the dynamically processed script back to the browser. ...
8 Pages (2000 words) Essay

Distributed Web Service

One can run a single personal page on it or an enormous site serving millions of regular visitors.... However, there other possible Web Service configuration, for instance, Microsoft has explored supporting Web Service interfaces to a great variety of servers used internally by the Windows XP and .... n most distributed systems, services can be instantiated multiple times, for instance, a distributed system can contain multiple file servers, or multiple name serves....
8 Pages (2000 words) Assignment
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us