Java4340r: Review. R.G. (Dick) Baldwin. 1 Table of Contents. 2 Preface

Size: px
Start display at page:

Download "Java4340r: Review. R.G. (Dick) Baldwin. 1 Table of Contents. 2 Preface"

Transcription

1 OpenStax-CNX module: m Java4340r: Review R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract This module contains review questions and answers keyed to the module titled Java4340: JSP Fundamentals. 1 Table of Contents Preface (p. 1) Background information (p. 2) Expression tag (p. 2) Comment tag (p. 2) Scriptlet tag (p. 2) Declaration tag (p. 3) Directive tag (p. 3) Questions (p. 3) 1 (p. 3), 2 (p. 3), 3 (p. 3), 4 (p. 3), 5 (p. 3), 6 (p. 4), 7 (p. 4), 8 (p. 4), 9 (p. 4), 10 (p. 4), 11 (p. 5), 12 (p. 5), 13 (p. 5), 14 (p. 5), 15 (p. 5), 16 (p. 6), 17 (p. 6), 18 (p. 6), 19 (p. 7), 20 (p. 7), 21 (p. 7), 22 (p. 8) Image index (p. 8) Answers (p. 10) Images (p. 16) Miscellaneous (p. 23) 2 Preface This module is one in a collection of modules on JavaServer Pages (JSP) designed for teaching ITSE Java Programming (Intermediate) at Austin Community College in Austin, TX. This module contains review questions and answers keyed to the module titled Java4340: JSP Fundamentals 1. Once you study that module, you should be able to answer the review questions in this module. The questions and the answers in this module are connected by hyperlinks to make it easy for you to navigate from the question to the answer and back again. The Images (p. 16) section contains a number of images that you may nd helpful as reference material in answering the questions. Version 1.3: May 4, :40 pm

2 OpenStax-CNX module: m Background information The module named Java4340: JSP Fundamentals 2 introduced your rst JSP program. This module supplements the information in that module from a slightly dierent perspective. The main purpose of this module, however, is to provide a series of review questions and answers that you can use to solidify the information in your mind. There are ve dierent kinds of JSP tags. They are shown in Image 1 (p. 17). Image 2 (p. 18) shows some examples of those tags being used in a jsp le. 3.1 Expression tag Line 11 of Image 2 (p. 18) shows an expression tag. An expression tag is used to evaluate a Java expression and to insert the results of that evaluation into outgoing HTML code. For example, the JSP expression tag on Line 11 instantiates a new object of the Date class using a constructor that causes the new Date object to encapsulate the current date and time. A String version of the current date and time is inserted into the HTML output and displayed as shown immediately below the JSP Tags header in Image 3 (p. 19). (Inserting the new Date object's reference into the expression tag causes the tostring method of the Date class to be called, returning the String shown in Image 3 (p. 19).) Note that the Java source code inside a JSP expression tag is not terminated by a semicolon. In other words, it is a Java expression and is not a Java statement. 3.2 Comment tag Lines 13 and 15 of Image 2 (p. 18) also show expression tags. However, the rst one is inside an HTML comment element and the second one is inside a JSP comment tag. Therefore, they are both ignored and have no eect on the output. 3.3 Scriptlet tag The scriptlet tag is used to insert Java source code into HTML code where it will later be compiled and executed. (Note that code inserted into a scriptlet tag uses standard Java syntax including semicolons where required.) It is not necessary for a scriptlet to contain a complete block of Java source code. By a block, I mean none, one, or more statements surrounded by matching curly brackets. A block of Java source code can begin in one scriptlet tag and end in another scriptlet tag with HTML code inserted between the two. That is the case in Image 2 (p. 18). A scriptlet tag begins on Line 17 and ends on Line 25 of Image 2 (p. 18). The end of the scriptlet tag is in the middle of a for loop block. That means that the HTML code following the end of the scriptlet tag will be evaluated during each iteration of the for loop. The HTML code that begins on Line 26 and ends on Line 30 includes two JSP expression tags. During each iteration of the for loop, this HTML code creates and populates the three elements of a single row in a three-column HTML table that begins on Line 16 and ends on Line 35. One element is populated with literal HTML text. The other two elements are populated by evaluating two dierent JSP expression tags. The output table is shown in Image 3 (p. 19). The for loop that begins on Line 24 must have a terminating curly bracket in order to compile. The terminating curly bracket is provided by the scriptlet tag that begins on Line 31 and ends on Line 34. The code in that scriptlet also assigns a new value to the variable named localvar. 2

3 OpenStax-CNX module: m Declaration tag A declaration tag is used on Line 36 of Image 2 (p. 18) to declare a variable of type int named globalcount and to initialize its value to 0. Variables declared in this manner are shared by all sessions accessing the servlet. Consequently, the declaration of variables in this manner should be used very sparingly if at all. (One browser session can modify such a variable in use by another browser session, which can lead to unexpected results.) Expression tags are then used to display the values of globalcount and localvar. Finally, a scriptlet tag is used to increment the value of globalcount. 3.5 Directive tag Two uses of the directive tag are shown near the top of Image 2 (p. 18). The rst usage causes the code in the le named sample_included_le.jsp ( Image 5 (p. 20) ) to be inserted at the location of the directive tag in Image 2 (p. 18).. The code in the scriptlet tag in Image 5 (p. 20) and the code in the expression tag immediately following that scriptlet tag produces the second line of output text near the top of Image 3 (p. 19).. The code in the scriptlet tag also causes the text " Printed from Java... " (without the quotation marks) to appear on the server system console as shown in Image 6 (p. 21). The second usage of the directive tag near the top of Image 2 (p. 18) causes the java.util package and all of its classes to be imported. This is the JSP alternative to a standard Java import directive. Note that the package name being imported is surrounded by quotation marks and is not terminated with a semicolon. 4 Questions 4.1 Question 1. There are three locations where processing can occur in web development. Where are they? Go to answer 1 (p. 16) 4.2 Question 2 True or False? This course emphasizes C++ programs that run on the client machine. Go to answer 2 (p. 16) 4.3 Question 3 True or False? JSP are simply HTML pages with Java code inserted into the page. Go to answer 3 (p. 16) 4.4 Question 4 True or False? When the user accesses a JSP via a browser, the page is processed by compiling and running the Java code in the page. This often produces HTML formatted output. Go to answer 4 (p. 16) 4.5 Question 5 True or False? Each time a JSP is accessed, the code is parsed and then compiled into a servlet bytecode executable). Go to answer 5 (p. 16) (Java

4 OpenStax-CNX module: m Question 6 True or False? JSP tags in an HTML page are delimited using angle brackets and percent characters as shown in Image 8 (p. 4). Image 8: Question 6. <% %> Figure 1: Image 8: Question 6. Go to answer 6 (p. 16) 4.7 Question 7 True or False? The six kinds of JSP tags are: 1. Scriptlet 2. Expression 3. Directive 4. Comment 5. Declaration 6. Code Go to answer 7 (p. 15) 4.8 Question 8 True or False? When Java code appears on JSP it is enclosed in tags. Go to answer 8 (p. 15) 4.9 Question 9 Which kind of JSP tag is normally used to enclose ordinary Java source code? Go to answer 9 (p. 15) 4.10 Question 10 NetBeans conveniently colors the scriptlet and expression sections with a special color for easy visual identication. What is that color? Go to answer 10 (p. 15)

5 OpenStax-CNX module: m Question 11 True or False? A scriptlet tag must contain a complete block of Java source code. (A block of Java source code is normally surrounded by matching curly brackets.) Go to answer 11 (p. 13) 4.12 Question 12 True or False? The expression tag is used to compile and run Java code and convert the output into string expressions. Go to answer 12 (p. 13) 4.13 Question 13 True or False? An expression tag begins and ends with the characters shown in Image 11 (p. 5). Image 11: Question 13. <%@ %> Figure 2: Image 11: Question 13. Go to answer 13 (p. 13) 4.14 Question 14 True or False? Semi-colons are required in expression tags. Go to answer 14 (p. 12) 4.15 Question 15 True or False? A directive tag begins and ends with the characters shown in Image 14 (p. 6).

6 OpenStax-CNX module: m Image 14: Question 15. <%@ %> Figure 3: Image 14: Question 15. Go to answer 15 (p. 12) 4.16 Question 16 True or False? The include version of the directive tag can be used to cause text from an external le to be inserted into the jsp le just as though you had typed it in. Go to answer 16 (p. 12) 4.17 Question 17 True or False? The JSP syntax shown in Image 15 (p. 6) can be used to import Java classes that apply to the entire page. Image 15: Question 17. <%@ import="java.util.date" %> Figure 4: Image 15: Question 17. Go to answer 17 (p. 11) 4.18 Question 18 True or False? The JSP comment tag begins and ends as shown in Image 17 (p. 7).

7 OpenStax-CNX module: m Image 17: Question 18. <%!-- --%> Figure 5: Image 17: Question 18. Go to answer 18 (p. 11) 4.19 Question 19 True or False? The contents of the JSP comment tags are not compiled, executed, or sent back to the browser. On the other hand, regular HTML comments are compiled, executed, and sent back to the browser. However, that content is not displayed. Go to answer 19 (p. 11) 4.20 Question 20 True or False? A JSP declaration tag begins and ends as shown in Image 19 (p. 7). Image 19: Question 20. <%! %> Figure 6: Image 19: Question 20. Go to answer 20 (p. 11) 4.21 Question 21 True or False? A JSP declaration is used to declare variables and methods in a page's scripting language. When the scripting language is the Java programming language, variables and methods in JSP declarations become declarations in the JSP page's servlet class. Go to answer 21 (p. 11)

8 OpenStax-CNX module: m Question 22 True or False? The code in Image 20 (p. 8) is a valid JSP declaration for a variable named globalcount. Image 20: Question 22. <%! int globalcount="0;" %> Figure 7: Image 20: Question 22. Go to answer 22 (p. 10) 5 Image index Image 1 (p. 17). JSP Tags Image 2 (p. 18). Code - jsp_tags.jsp Image 3 (p. 19). Output - jsp_tags.jsp Image 4 (p. 20). Code - sample_included_le.jsp (w/ errors) Image 5 (p. 20). Code - sample_included_le.jsp Image 6 (p. 21). Console Output - jsp_tags.jsp Image 7 (p. 22). View Source - jsp_tags.jsp Image 8 (p. 4). Question 6. Image 9 (p. 14). A JSP for loop. Image 10 (p. 15). JSP output. Image 11 (p. 5). Question 13. Image 12 (p. 13). Expression tag. Image 13 (p. 13). Scripting-language expression. Image 14 (p. 6). Question 15. Image 15 (p. 6). Question 17. Image 16 (p. 12). Importing a Java class. Image 17 (p. 7). Question 18. Image 18 (p. 11). A JSP comment tag. Image 19 (p. 7). Question 20. Image 20 (p. 8). Question 22. Image 21 (p. 10). A JSP declaration. What is the meaning of the following two images? These images were inserted here simply to insert some space between the questions and the answers to keep them from being visible on the screen at the same time.

9 OpenStax-CNX module: m This image was also inserted for the purpose of inserting space between the questions and the answers.

10 OpenStax-CNX module: m Answers 6.1 Answer 22 False. The correct syntax for the declaration of a variable named 10). globalcount is shown in Image 21 (p. Image 21: A JSP declaration. <%! int globalcount = 0; %> Figure 8: Image 21: A JSP declaration. This question was included in this review to emphasize that unlike the directive tag, the declaration tag does not use HTML attribute syntax. Instead, it uses standard Java syntax at least for the declaration

11 OpenStax-CNX module: m of variables. Go back to Question 22 (p. 8) 6.2 Answer 21 True. Go back to Question 21 (p. 7) 6.3 Answer 20 True. Go back to Question 20 (p. 7) 6.4 Answer 19 True. Go back to Question 19 (p. 7) 6.5 Answer 18 False. The correct syntax for a JSP comment tag is shown in Image 18 (p. 11). Image 18: A JSP comment tag. <%-- --%> Figure 9: Image 18: A JSP comment tag. Note that unlike an HTML comment tag, the code in Image 18 (p. 11) doesn't include an exclamation mark character. Go back to Question 18 (p. 6) 6.6 Answer 17 False. The correct format of the directive tag for importing a class is shown in Image 16 (p. 12).

12 OpenStax-CNX module: m Image 16: Importing a Java class. <%@ page import="java.util.date" %> Figure 10: Image 16: Importing a Java class. Note the inclusion of the word page. Note also the use of the equal character and the quotation marks. While similar, this is not the format of an import directive in a Java source code le. Instead, it is the format of an attribute in XML or HTML. Go back to Question 17 (p. 6) 6.7 Answer 16 True. Go back to Question 16 (p. 6) 6.8 Answer 15 True. Go back to Question 15 (p. 5) 6.9 Answer 14 False. According to The Java EE 5 Tutorial 3, A JSP expression is used to insert the value of a scripting language expression, converted into a string, into the data stream returned to the client. When the scripting language is the Java programming language, (as is the case here) an expression is transformed into a statement that converts the value of the expression into a String object and inserts it into the implicit out object. The syntax for an expression is shown in Image 13 (p. 13). 3

13 OpenStax-CNX module: m Image 13: Scripting-language expression. <%= scripting-language-expression %> Figure 11: Image 13: Scripting-language expression. Note that a semicolon is not allowed within a JSP expression, even if the same expression has a semicolon when you use it within a scriptlet. Go back to Question 14 (p. 5) 6.10 Answer 13 False.. An expression tag begins and ends with the characters shown in Image 12 (p. 13). Image 12: Expression tag. <%= %> Figure 12: Image 12: Expression tag. Go back to Question 13 (p. 5) 6.11 Answer 12 True. Go back to Question 12 (p. 5) 6.12 Answer 11 False. A scriptlet tag can contain a fragment of Java code. For example, in Image 9 (p. 14), one scriptlet tag begins on Line 17 and ends on Line 24. This tag contains the beginning of a for loop, but does not contain a complete block of Java code. Another scriptlet tag appears on Line 27. (Note that the green background is missing from this tag. That is because the cursor was on Line 27 when the screen shot was

14 OpenStax-CNX module: m taken.) Another scriptlet tag extends from Line 29 through Line 31. This tag contains the closing curly bracket for the for loop. This example shows a common method of interspersing scriptlet code with HTML code using fragments of Java code in scriptlet tags. Image 9: A JSP for loop. Figure 13: Image 9: A JSP for loop. This for loop shown in Image 9 (p. 14) along with the associated HTML tags produces the table shown in an excerpt from the HTML output page in Image 10 (p. 15).

15 OpenStax-CNX module: m Image 10: JSP output. Figure 14: Image 10: JSP output. Go back to Question 11 (p. 5) 6.13 Answer 10 NetBeans conveniently colors the scriptlet and expression sections green for easy visual identication. Go back to Question 10 (p. 4) 6.14 Answer 9 The scriptlet tag is normally used to enclose ordinary Java source code on JSP but a declaration tag can be used as well. Go back to Question 9 (p. 4) 6.15 Answer 8 True. Go back to Question 8 (p. 4) 6.16 Answer 7 False. The following are valid JSP tags: 1. Scriptlet 2. Expression 3. Directive 4. Comment 5. Declaration Item 6 (p. 4) in the list, Code, is not a valid JSP tag. Go back to Question 7 (p. 4)

16 OpenStax-CNX module: m Answer 6 True. Go back to Question 6 (p. 4) 6.18 Answer 5 False. The rst time a JSP is accessed, the code is parsed and then compiled into a servlet (Java bytecode executable). Subsequent visits to the page use the compiled executable to produce output. This is more ecient that some other approaches that require more overhead each time a server-side program is accessed. Go back to Question 5 (p. 3) 6.19 Answer 4 True. Go back to Question 4 (p. 3) 6.20 Answer 3 True. Go back to Question 3 (p. 3) 6.21 Answer 2 False. This course emphasizes Java programs that run on the web server. Go back to Question 2 (p. 3) 6.22 Answer 1 The three locations are 1. the client machine 2. the web server, and 3. other servers. Go back to Question 1 (p. 3) 7 Images This section contains images that may be referred to by more than one question or answer. These images may also be helpful as reference material for answering the questions. Many of them were copied directly from Java4340: JSP Fundamentals 4. Other images may be interspersed within the questions and answers. 4

17 OpenStax-CNX module: m Image 1: JSP Tags Figure 15: Image 1: JSP Tags

18 OpenStax-CNX module: m Image 2: Code - jsp_tags.jsp Figure 16: Image 2: Code - jsp_tags.jsp

19 OpenStax-CNX module: m Image 3: Output - jsp_tags.jsp Figure 17: Image 3: Output - jsp_tags.jsp

20 OpenStax-CNX module: m Image 4: Code - sample_included_le.jsp (w/ errors) Figure 18: Image 4: Code - sample_included_le.jsp (w/ errors) Image 5: Code - sample_included_le.jsp Figure 19: Image 5: Code - sample_included_le.jsp

21 OpenStax-CNX module: m Image 6: Console Output - jsp_tags.jsp Figure 20: Image 6: Console Output - jsp_tags.jsp

22 OpenStax-CNX module: m Image 7: View Source - jsp_tags.jsp Figure 21: Image 7: View Source - jsp_tags.jsp

23 OpenStax-CNX module: m Miscellaneous This section contains a variety of miscellaneous information. note: Housekeeping material Module name: Java4340r: Review File: Java4340r.htm Published: 12/05/13 Revised: 05/04/14 note: Disclaimers: Financial : Although the Connexions site makes it possible for you to download a PDF le for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF le, you should be aware that some of the HTML elements in this module may not translate well into PDF. I also want you to know that, I receive no nancial compensation from the Connexions website even if you purchase the PDF version of the module. In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale on Amazon.com showing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If you purchase such a book, please be aware that it is a copy of a module that is freely available on cnx.org and that it was made and published without my prior knowledge. Aliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX. -end

OpenStax-CNX module: m Java3002r Review * R.G. (Dick) Baldwin

OpenStax-CNX module: m Java3002r Review * R.G. (Dick) Baldwin OpenStax-CNX module: m45762 1 Java3002r Review * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract This module contains

More information

Java OOP: Java Documentation

Java OOP: Java Documentation OpenStax-CNX module: m45117 1 Java OOP: Java Documentation R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract Learn to use

More information

Java3018: Darkening, Brightening, and Tinting the Colors in a Picture *

Java3018: Darkening, Brightening, and Tinting the Colors in a Picture * OpenStax-CNX module: m44234 1 Java3018: Darkening, Brightening, and Tinting the Colors in a Picture * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution

More information

Java4350: Form Processing with JSP

Java4350: Form Processing with JSP OpenStax-CNX module: m48085 1 Java4350: Form Processing with JSP R.L. Martinez, PhD This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract This module

More information

Hs01006: Language Features, Arithmetic Operators *

Hs01006: Language Features, Arithmetic Operators * OpenStax-CNX module: m37146 1 Hs01006: Language Features, Arithmetic Operators * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0

More information

Java4320: Web Programming Model *

Java4320: Web Programming Model * OpenStax-CNX module: m48058 1 Java4320: Web Programming Model * R.L. Martinez, PhD This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract The purpose

More information

Java0078 Java OOP Callbacks - II *

Java0078 Java OOP Callbacks - II * OpenStax-CNX module: m59589 1 Java0078 Java OOP Callbacks - II * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract A previous

More information

Java4570: Session Tracking using Cookies *

Java4570: Session Tracking using Cookies * OpenStax-CNX module: m48571 1 Java4570: Session Tracking using Cookies * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract

More information

Authoring OpenStax Documents in Apache OpenOffice Writer *

Authoring OpenStax Documents in Apache OpenOffice Writer * OpenStax-CNX module: m60462 1 Authoring OpenStax Documents in Apache OpenOffice Writer * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License

More information

INEW Advanced Java Programming. Collection Editor: R.G. (Dick) Baldwin

INEW Advanced Java Programming. Collection Editor: R.G. (Dick) Baldwin INEW2338 - Advanced Java Programming Collection Editor: R.G. (Dick) Baldwin INEW2338 - Advanced Java Programming Collection Editor: R.G. (Dick) Baldwin Authors: R.G. (Dick) Baldwin R.L. Martinez, PhD

More information

The json-simple Java Library. By: R.G. (Dick) Baldwin

The json-simple Java Library. By: R.G. (Dick) Baldwin The json-simple Java Library By: R.G. (Dick) Baldwin The json-simple Java Library By: R.G. (Dick) Baldwin Online: < http://cnx.org/content/col12010/1.4/ > OpenStax-CNX This selection and arrangement of

More information

Java3002: Creating and Manipulating Turtles and Pictures in a World Object

Java3002: Creating and Manipulating Turtles and Pictures in a World Object OpenStax-CNX module: m44149 1 Java3002: Creating and Manipulating Turtles and Pictures in a World Object R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons

More information

AP Computer Science A, Clarification of the Java Subset. By: R.G. (Dick) Baldwin

AP Computer Science A, Clarification of the Java Subset. By: R.G. (Dick) Baldwin AP Computer Science A, Clarification of the Java Subset By: R.G. (Dick) Baldwin AP Computer Science A, Clarification of the Java Subset By: R.G. (Dick) Baldwin Online: < http://cnx.org/content/col11279/1.4/

More information

Accessible Objected-Oriented Programming Concepts for Blind Students using Java. By: R.G. (Dick) Baldwin

Accessible Objected-Oriented Programming Concepts for Blind Students using Java. By: R.G. (Dick) Baldwin Accessible Objected-Oriented Programming Concepts for Blind Students using Java By: R.G. (Dick) Baldwin Accessible Objected-Oriented Programming Concepts for Blind Students using Java By: R.G. (Dick)

More information

Java3002: Creating and Manipulating Turtles and Pictures in a World Object *

Java3002: Creating and Manipulating Turtles and Pictures in a World Object * OpenStax-CNX module: m44149 1 Java3002: Creating and Manipulating Turtles and Pictures in a World Object * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons

More information

Polymorphism - The Big Picture *

Polymorphism - The Big Picture * OpenStax-CNX module: m34447 1 Polymorphism - The Big Picture * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Learn the essence

More information

Using Flex 3 in a Flex 4 World *

Using Flex 3 in a Flex 4 World * OpenStax-CNX module: m34631 1 Using Flex 3 in a Flex 4 World * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract Learn how

More information

Morse1010 Translating Text to Morse Code *

Morse1010 Translating Text to Morse Code * OpenStax-CNX module: m60489 1 Morse1010 Translating Text to Morse Code * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract

More information

How to make a "hello world" program in Java with Eclipse *

How to make a hello world program in Java with Eclipse * OpenStax-CNX module: m43473 1 How to make a "hello world" program in Java with Eclipse * Hannes Hirzel Based on How to make a "hello world" program in Java. by Rodrigo Rodriguez This work is produced by

More information

The Essence of OOP using Java, Nested Top-Level Classes. Preface

The Essence of OOP using Java, Nested Top-Level Classes. Preface The Essence of OOP using Java, Nested Top-Level Classes Baldwin explains nested top-level classes, and illustrates a very useful polymorphic structure where nested classes extend the enclosing class and

More information

Ch04 JavaServer Pages (JSP)

Ch04 JavaServer Pages (JSP) Ch04 JavaServer Pages (JSP) Introduce concepts of JSP Web components Compare JSP with Servlets Discuss JSP syntax, EL (expression language) Discuss the integrations with JSP Discuss the Standard Tag Library,

More information

Unit 5 JSP (Java Server Pages)

Unit 5 JSP (Java Server Pages) Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. It focuses more on presentation logic

More information

directive attribute1= value1 attribute2= value2... attributen= valuen %>

directive attribute1= value1 attribute2= value2... attributen= valuen %> JSP Standard Syntax Besides HTML tag elements, JSP provides four basic categories of constructors (markup tags): directives, scripting elements, standard actions, and comments. You can author a JSP page

More information

First Simple Interactive JSP example

First Simple Interactive JSP example Let s look at our first simple interactive JSP example named hellojsp.jsp. In his Hello User example, the HTML page takes a user name from a HTML form and sends a request to a JSP page, and JSP page generates

More information

JSP - SYNTAX. Any text, HTML tags, or JSP elements you write must be outside the scriptlet. Following is the simple and first example for JSP:

JSP - SYNTAX. Any text, HTML tags, or JSP elements you write must be outside the scriptlet. Following is the simple and first example for JSP: http://www.tutorialspoint.com/jsp/jsp_syntax.htm JSP - SYNTAX Copyright tutorialspoint.com This tutorial will give basic idea on simple syntax ie. elements involved with JSP development: The Scriptlet:

More information

GAME : Vector Addition *

GAME : Vector Addition * OpenStax-CNX module: m45012 1 GAME 2302-0125: Vector Addition * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract Learn

More information

SSC - Web development Model-View-Controller for Java Servlet

SSC - Web development Model-View-Controller for Java Servlet SSC - Web development Model-View-Controller for Java Servlet Shan He School for Computational Science University of Birmingham Module 06-19321: SSC Outline Outline of Topics Java Server Pages (JSP) Model-View-Controller

More information

GAME Motion Displacement and Vectors

GAME Motion Displacement and Vectors OpenStax-CNX module: m45006 1 GAME 2302-0360 Motion Displacement and Vectors R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract

More information

112. Introduction to JSP

112. Introduction to JSP 112. Introduction to JSP Version 2.0.2 This two-day module introduces JavaServer Pages, or JSP, which is the standard means of authoring dynamic content for Web applications under the Java Enterprise platform.

More information

112-WL. Introduction to JSP with WebLogic

112-WL. Introduction to JSP with WebLogic Version 10.3.0 This two-day module introduces JavaServer Pages, or JSP, which is the standard means of authoring dynamic content for Web applications under the Java Enterprise platform. The module begins

More information

UNIT -5. Java Server Page

UNIT -5. Java Server Page UNIT -5 Java Server Page INDEX Introduction Life cycle of JSP Relation of applet and servlet with JSP JSP Scripting Elements Difference between JSP and Servlet Simple JSP program List of Questions Few

More information

Experiment No: Group B_2

Experiment No: Group B_2 Experiment No: Group B_2 R (2) N (5) Oral (3) Total (10) Dated Sign Problem Definition: A Web application for Concurrent implementation of ODD-EVEN SORT is to be designed using Real time Object Oriented

More information

How to edit custom layouts in Blurb *

How to edit custom layouts in Blurb * OpenStax-CNX module: m35053 1 How to edit custom layouts in Blurb * David Waldo This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract Blurb BookSmart

More information

CE212 Web Application Programming Part 3

CE212 Web Application Programming Part 3 CE212 Web Application Programming Part 3 30/01/2018 CE212 Part 4 1 Servlets 1 A servlet is a Java program running in a server engine containing methods that respond to requests from browsers by generating

More information

Advanced Java Programming

Advanced Java Programming Advanced Java Programming Length: 4 days Description: This course presents several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In

More information

Honu. Version November 6, 2010

Honu. Version November 6, 2010 Honu Version 5.0.2 November 6, 2010 Honu is a family of languages built on top of Racket. Honu syntax resembles Java. Like Racket, however, Honu has no fixed syntax, because Honu supports extensibility

More information

JSP MOCK TEST JSP MOCK TEST III

JSP MOCK TEST JSP MOCK TEST III http://www.tutorialspoint.com JSP MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to JSP Framework. You can download these sample mock tests at your local

More information

ANSWERS. Birkbeck (University of London) Software and Programming 1 In-class Test Feb Student Name Student Number. Answer all questions

ANSWERS. Birkbeck (University of London) Software and Programming 1 In-class Test Feb Student Name Student Number. Answer all questions Birkbeck (University of London) Software and Programming 1 In-class Test 1.1 9 Feb 2017 Student Name Student Number Answer all questions 1. Consider the following sequence of Java statements: int m = 3;

More information

Java Programming Course Overview. Duration: 35 hours. Price: $900

Java Programming Course Overview. Duration: 35 hours. Price: $900 978.256.9077 admissions@brightstarinstitute.com Java Programming Duration: 35 hours Price: $900 Prerequisites: Basic programming skills in a structured language. Knowledge and experience with Object- Oriented

More information

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC.

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC. TRAINING & REFERENCE murach's Java.. servlets and 2ND EDITION Joel Murach Andrea Steelman IlB MIKE MURACH & ASSOCIATES, INC. P 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com

More information

Watch Core Java and Advanced Java Demo Video Here:

Watch Core Java and Advanced Java Demo Video Here: Website: http://www.webdesigningtrainingruchi.com/ Contact person: Ranjan Raja Moble/Whatsapp: +91-9347045052 / 09032803895 Dilsukhnagar, Hyderabad Email: webdesigningtrainingruchi@gmail.com Skype: Purnendu_ranjan

More information

PSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming

PSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming PSD1B Advance Java Programming Unit : I-V PSD1B- Advance Java Programming 1 UNIT I - SYLLABUS Servlets Client Vs Server Types of Servlets Life Cycle of Servlets Architecture Session Tracking Cookies JDBC

More information

The Processing Programming Environment. By: Richard Baldwin

The Processing Programming Environment. By: Richard Baldwin The Processing Programming Environment By: Richard Baldwin The Processing Programming Environment By: Richard Baldwin Online: < http://cnx.org/content/col11492/1.5/ > C O N N E X I O N S Rice University,

More information

Group A: Assignment No 2

Group A: Assignment No 2 Group A: Assignment No 2 Regularity (2) Performance(5) Oral(3) Total (10) Dated Sign Title of Assignment: SQL Joins in MySQL using 3-tier Problem Definition: DBMS using connections ( Client-application

More information

Advantage of JSP over Servlet

Advantage of JSP over Servlet JSP technology is used to create web application just like Servlet technology. It can be thought of as an extension to servlet because it provides more functionality than servlet such as expression language,

More information

C++ Support Classes (Data and Variables)

C++ Support Classes (Data and Variables) C++ Support Classes (Data and Variables) School of Mathematics 2018 Today s lecture Topics: Computers and Programs; Syntax and Structure of a Program; Data and Variables; Aims: Understand the idea of programming

More information

SNS COLLEGE OF ENGINEERING, Coimbatore

SNS COLLEGE OF ENGINEERING, Coimbatore SNS COLLEGE OF ENGINEERING, Coimbatore 641 107 Accredited by NAAC UGC with A Grade Approved by AICTE and Affiliated to Anna University, Chennai IT6503 WEB PROGRAMMING UNIT 04 APPLETS Java applets- Life

More information

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments.

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments. Java How to Program, 9/e Education, Inc. All Rights Reserved. } Java application programming } Use tools from the JDK to compile and run programs. } Videos at www.deitel.com/books/jhtp9/ Help you get started

More information

Pace University. Fundamental Concepts of CS121 1

Pace University. Fundamental Concepts of CS121 1 Pace University Fundamental Concepts of CS121 1 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University October 12, 2005 This document complements my tutorial Introduction

More information

1 CUSTOM TAG FUNDAMENTALS PREFACE... xiii. ACKNOWLEDGMENTS... xix. Using Custom Tags The JSP File 5. Defining Custom Tags The TLD 6

1 CUSTOM TAG FUNDAMENTALS PREFACE... xiii. ACKNOWLEDGMENTS... xix. Using Custom Tags The JSP File 5. Defining Custom Tags The TLD 6 PREFACE........................... xiii ACKNOWLEDGMENTS................... xix 1 CUSTOM TAG FUNDAMENTALS.............. 2 Using Custom Tags The JSP File 5 Defining Custom Tags The TLD 6 Implementing Custom

More information

Java OOP: Modifications to the Turtle and SimpleTurtle Classes

Java OOP: Modifications to the Turtle and SimpleTurtle Classes OpenStax-CNX module: m44348 1 Java OOP: Modifications to the Turtle and SimpleTurtle Classes R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution

More information

A JavaBean is a class file that stores Java code for a JSP

A JavaBean is a class file that stores Java code for a JSP CREATE A JAVABEAN A JavaBean is a class file that stores Java code for a JSP page. Although you can use a scriptlet to place Java code directly into a JSP page, it is considered better programming practice

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY 1. Learning Objectives: To learn and work with the web components of Java EE. i.e. the Servlet specification. Student will be able to learn MVC architecture and develop dynamic web application using Java

More information

Y ou must have access to a JSP-compatible Web server

Y ou must have access to a JSP-compatible Web server JSP-COMPATIBLE WEB SERVERS Y ou must have access to a JSP-compatible Web server before beginning to develop JavaServer Pages code. There are several JSP-compatible Web servers to choose from and most of

More information

SECTION II: JAVA SERVLETS

SECTION II: JAVA SERVLETS Chapter 7 SECTION II: JAVA SERVLETS Working With Servlets Working with Servlets is an important step in the process of application development and delivery through the Internet. A Servlet as explained

More information

8. Control statements

8. Control statements 8. Control statements A simple C++ statement is each of the individual instructions of a program, like the variable declarations and expressions seen in previous sections. They always end with a semicolon

More information

/ Introduction to XML

/   Introduction to XML Introduction to XML XML stands for Extensible Markup Language. It is a text-based markup language derived from Standard Generalized Markup Language (SGML). XML tags identify the data and are used to store

More information

Chapter 4 Defining Classes I

Chapter 4 Defining Classes I Chapter 4 Defining Classes I This chapter introduces the idea that students can create their own classes and therefore their own objects. Introduced is the idea of methods and instance variables as the

More information

Java SE7 Fundamentals

Java SE7 Fundamentals Java SE7 Fundamentals Introducing the Java Technology Relating Java with other languages Showing how to download, install, and configure the Java environment on a Windows system. Describing the various

More information

A Gentle Introduction to Java Server Pages

A Gentle Introduction to Java Server Pages A Gentle Introduction to Java Server Pages John Selmys Seneca College July 2010 What is JSP? Tool for developing dynamic web pages developed by SUN (now Oracle) High-level abstraction of Java Servlets

More information

CGS 3066: Spring 2015 JavaScript Reference

CGS 3066: Spring 2015 JavaScript Reference CGS 3066: Spring 2015 JavaScript Reference Can also be used as a study guide. Only covers topics discussed in class. 1 Introduction JavaScript is a scripting language produced by Netscape for use within

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 Web Design & Development Final Term Solved MCQs with Reference with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar

More information

CE221 Programming in C++ Part 1 Introduction

CE221 Programming in C++ Part 1 Introduction CE221 Programming in C++ Part 1 Introduction 06/10/2017 CE221 Part 1 1 Module Schedule There are two lectures (Monday 13.00-13.50 and Tuesday 11.00-11.50) each week in the autumn term, and a 2-hour lab

More information

Anno Accademico Laboratorio di Tecnologie Web. Sviluppo di applicazioni web JSP

Anno Accademico Laboratorio di Tecnologie Web. Sviluppo di applicazioni web JSP Universita degli Studi di Bologna Facolta di Ingegneria Anno Accademico 2007-2008 Laboratorio di Tecnologie Web Sviluppo di applicazioni web JSP http://www lia.deis.unibo.it/courses/tecnologieweb0708/

More information

S imilar to JavaBeans, custom tags provide a way for

S imilar to JavaBeans, custom tags provide a way for CREATE THE TAG HANDLER S imilar to JavaBeans, custom tags provide a way for you to easily work with complex Java code in your JSP pages. You can create your own custom tags to suit your needs. Using custom

More information

DECISION STRUCTURES: USING IF STATEMENTS IN JAVA

DECISION STRUCTURES: USING IF STATEMENTS IN JAVA DECISION STRUCTURES: USING IF STATEMENTS IN JAVA S o far all the programs we have created run straight through from start to finish, without making any decisions along the way. Many times, however, you

More information

Full file at

Full file at Java Programming: From Problem Analysis to Program Design, 3 rd Edition 2-1 Chapter 2 Basic Elements of Java At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class

More information

Database Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실

Database Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실 데이타베이스시스템연구실 Database Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실 Overview http://www.tutorialspoint.com/jsp/index.htm What is JavaServer Pages? JavaServer Pages (JSP) is a server-side programming

More information

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology Java Applets, etc. Instructor: Dmitri A. Gusev Fall 2007 CS 502: Computers and Communications Technology Lecture 25, December 5, 2007 CGI (Common Gateway Interface) CGI is a standard for handling forms'

More information

MathML Editor: The Basics *

MathML Editor: The Basics * OpenStax-CNX module: m26312 1 MathML Editor: The Basics * Natalie Weber This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract This module provides

More information

PRIMIX SOLUTIONS. Core Labs. Tapestry : Java Web Components Whitepaper

PRIMIX SOLUTIONS. Core Labs. Tapestry : Java Web Components Whitepaper PRIMIX SOLUTIONS Core Labs Tapestry : Java Web s Whitepaper CORE LABS Tapestry: Java Web s Whitepaper Primix Solutions One Arsenal Marketplace Phone (617) 923-6639 Fax (617) 923-5139 Tapestry contact information:

More information

Java Web Development With Servlets, JSP, And Ejb By Budi Kurniawan

Java Web Development With Servlets, JSP, And Ejb By Budi Kurniawan Java Web Development With Servlets, JSP, And Ejb By Budi Kurniawan If searching for the ebook by Budi Kurniawan Java Web Development with Servlets, JSP, and Ejb in pdf form, then you have come on to loyal

More information

Lab # 2. For today s lab:

Lab # 2. For today s lab: 1 ITI 1120 Lab # 2 Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot 1 For today s lab: Go the course webpage Follow the links to the lab notes for Lab 2. Save all the java programs you

More information

Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel

Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel Introduction: PHP (Hypertext Preprocessor) was invented by Rasmus Lerdorf in 1994. First it was known as Personal Home Page. Later

More information

WA1278 Introduction to Java Using Eclipse

WA1278 Introduction to Java Using Eclipse Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc WA1278 Introduction to Java Using Eclipse This course introduces the Java

More information

IT 374 C# and Applications/ IT695 C# Data Structures

IT 374 C# and Applications/ IT695 C# Data Structures IT 374 C# and Applications/ IT695 C# Data Structures Module 2.1: Introduction to C# App Programming Xianrong (Shawn) Zheng Spring 2017 1 Outline Introduction Creating a Simple App String Interpolation

More information

Developing Applications with Java EE 6 on WebLogic Server 12c

Developing Applications with Java EE 6 on WebLogic Server 12c Developing Applications with Java EE 6 on WebLogic Server 12c Duration: 5 Days What you will learn The Developing Applications with Java EE 6 on WebLogic Server 12c course teaches you the skills you need

More information

CS 231 Data Structures and Algorithms, Fall 2016

CS 231 Data Structures and Algorithms, Fall 2016 CS 231 Data Structures and Algorithms, Fall 2016 Dr. Bruce A. Maxwell Department of Computer Science Colby College Course Description Focuses on the common structures used to store data and the standard

More information

SYLLABUS JAVA COURSE DETAILS. DURATION: 60 Hours. With Live Hands-on Sessions J P I N F O T E C H

SYLLABUS JAVA COURSE DETAILS. DURATION: 60 Hours. With Live Hands-on Sessions J P I N F O T E C H JAVA COURSE DETAILS DURATION: 60 Hours With Live Hands-on Sessions J P I N F O T E C H P U D U C H E R R Y O F F I C E : # 4 5, K a m a r a j S a l a i, T h a t t a n c h a v a d y, P u d u c h e r r y

More information

CSCB20 Week 8. Introduction to Database and Web Application Programming. Anna Bretscher* Winter 2017

CSCB20 Week 8. Introduction to Database and Web Application Programming. Anna Bretscher* Winter 2017 CSCB20 Week 8 Introduction to Database and Web Application Programming Anna Bretscher* Winter 2017 *thanks to Alan Rosselet for providing the slides these are adapted from. Web Programming We have seen

More information

Servlet & JSP: A Tutorial, Second Edition By Budi Kurniawan READ ONLINE

Servlet & JSP: A Tutorial, Second Edition By Budi Kurniawan READ ONLINE Servlet & JSP: A Tutorial, Second Edition By Budi Kurniawan READ ONLINE Servlets and JavaServer Pages : Downloading the Java 2 Standard Edition 1.4 6 falkner.fm.qxd 8/21/03 5:16 PM Page xii. online download

More information

DINO. Language Reference Manual. Author: Manu Jain

DINO. Language Reference Manual. Author: Manu Jain DINO Language Reference Manual Author: Manu Jain Table of Contents TABLE OF CONTENTS...2 1. INTRODUCTION...3 2. LEXICAL CONVENTIONS...3 2.1. TOKENS...3 2.2. COMMENTS...3 2.3. IDENTIFIERS...3 2.4. KEYWORDS...3

More information

ucalc Patterns Examine the following example which can be pasted into the interpreter (paste the entire block at the same time):

ucalc Patterns Examine the following example which can be pasted into the interpreter (paste the entire block at the same time): [This document is far from complete but discusses some pattern essentials. Check back for more in the future; ask questions for clarity] ucalc Patterns ucalc patterns represent a key element of all current

More information

An Introduction to Stored Procedures in MySQL 5 by Federico Leven6 Apr 2011

An Introduction to Stored Procedures in MySQL 5 by Federico Leven6 Apr 2011 An Introduction to Stored Procedures in MySQL 5 by Federico Leven6 Apr 21 MySQL 5 introduced a plethora of new features - stored procedures being one of the most significant. In this tutorial, we will

More information

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview Introduction to Visual Basic and Visual C++ Introduction to Java Lesson 13 Overview I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Overview JDK Editions Before you can write and run the simple

More information

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

This course is intended for Java programmers who wish to write programs using many of the advanced Java features. COURSE DESCRIPTION: Advanced Java is a comprehensive study of many advanced Java topics. These include assertions, collection classes, searching and sorting, regular expressions, logging, bit manipulation,

More information

Language Fundamentals Summary

Language Fundamentals Summary Language Fundamentals Summary Claudia Niederée, Joachim W. Schmidt, Michael Skusa Software Systems Institute Object-oriented Analysis and Design 1999/2000 c.niederee@tu-harburg.de http://www.sts.tu-harburg.de

More information

)454 : 4(% #(!2!#4%2 3%4!.$ "!3)# %,%-%.43 -!.-!#().%,!.'5!'% )454 Recommendation : INTERNATIONAL TELECOMMUNICATION UNION

)454 : 4(% #(!2!#4%2 3%4!.$ !3)# %,%-%.43 -!.-!#().%,!.'5!'% )454 Recommendation : INTERNATIONAL TELECOMMUNICATION UNION INTERNATIONAL TELECOMMUNICATION UNION )454 : TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU -!.-!#().%,!.'5!'% 4(% #(!2!#4%2 3%4!.$ "!3)# %,%-%.43 )454 Recommendation : (Extract from the "LUE "OOK) NOTES

More information

Developing the First Servlet

Developing the First Servlet Overview @author R.L. Martinez, Ph.D. Java EE (Enterprise Edition) Java EE is a software platform consisting of multiple APIs (Application Programming Interfaces) and components that support and enable

More information

Simple Java Programs. OOC 4 th Sem, B Div Prof. Mouna M. Naravani

Simple Java Programs. OOC 4 th Sem, B Div Prof. Mouna M. Naravani Simple Java Programs OOC 4 th Sem, B Div 2016-17 Prof. Mouna M. Naravani /* */ A First Simple Program This is a simple Java program. Call this file "Example.java". class Example { } // Your program begins

More information

CSC Web Programming. Introduction to JavaScript

CSC Web Programming. Introduction to JavaScript CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its

More information

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Weiss Chapter 1 terminology (parenthesized numbers are page numbers) Weiss Chapter 1 terminology (parenthesized numbers are page numbers) assignment operators In Java, used to alter the value of a variable. These operators include =, +=, -=, *=, and /=. (9) autoincrement

More information

COMS 469: Interactive Media II

COMS 469: Interactive Media II COMS 469: Interactive Media II Agenda Review Data Types & Variables Decisions, Loops, and Functions Review gunkelweb.com/coms469 Review Basic Terminology Computer Languages Interpreted vs. Compiled Client

More information

Java Training JAVA. Introduction of Java

Java Training JAVA. Introduction of Java Java Training Building or rewriting a system completely in Java means starting from the scratch. We engage in the seamless and stable operations of Java technology to deliver innovative and functional

More information

FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar

FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar www.vuhelp.pk Solved MCQs with reference. inshallah you will found it 100% correct solution. Time: 120 min Marks:

More information

Java Bytecode (binary file)

Java Bytecode (binary file) Java is Compiled Unlike Python, which is an interpreted langauge, Java code is compiled. In Java, a compiler reads in a Java source file (the code that we write), and it translates that code into bytecode.

More information

Java1486-Fun with Java, Understanding the Fast Fourier Transform (FFT) Algorithm *

Java1486-Fun with Java, Understanding the Fast Fourier Transform (FFT) Algorithm * OpenStax-CNX module: m49801 1 Java1486-Fun with Java, Understanding the Fast Fourier Transform (FFT) Algorithm * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative

More information

Internet Technologies. Lab Introduction

Internet Technologies. Lab Introduction Internet Technologies Lab1 2011 Introduction Overview What will we do in the labs? Project Requirements Examples Evaluation Tools How to reach us? Cavada Dario: cavada@ectrlsolutions.com Mehdi Elahi: mehdi.elahi@stud-inf.unibz.it

More information

Session 21. Expression Languages. Reading. Java EE 7 Chapter 9 in the Tutorial. Session 21 Expression Languages 11/7/ Robert Kelly,

Session 21. Expression Languages. Reading. Java EE 7 Chapter 9 in the Tutorial. Session 21 Expression Languages 11/7/ Robert Kelly, Session 21 Expression Languages 1 Reading Java EE 7 Chapter 9 in the Tutorial 2 11/7/2018 1 Lecture Objectives Understand how Expression Languages can simplify the integration of data with a view Know

More information