This topic contains a solution. Click here to go to the answer

Author Question: Explain the process by which JSP pages are compiled. What will be an ideal ... (Read 16 times)

jhjkgdfhk

  • Hero Member
  • *****
  • Posts: 569
Explain the process by which JSP pages are compiled.
 
  What will be an ideal response?

Question 2

Explain the differences between the E-R model and the semantic object model.
 
  What will be an ideal response?



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

soda0602

  • Sr. Member
  • ****
  • Posts: 313
Answer to Question 1

All JSP pages are compiled into servlets. When a JSP page is requested, the servlet processor checks to see if the uncompiled version of the JSP page is older or newer than the compiled servlet. If the servlet is older than the uncompiled version of the JSP page, then the JSP page is parsed into standard Java source code and is recompiled into a new version of the servlet. This new version of the servlet is then loaded into memory. If the uncompiled version of the JSP page was created at or before the time of the current servlet, the servlet processor checks to see if the current servlet is already loaded into memory. If it is not, then the servlet is loaded. In either case, the servlet is then ready to be executed by the servlet processor.

Answer to Question 2

The primary differences between the E-R model and the semantic object model are differences in orientation. The E-R model considers entities and relationships to be the basic building blocks of a data model, while the semantic object model considers semantic objects to be the basic building blocks. Semantic objects are self-contained from the users perspective-everything that a user thinks of as being a characteristic of a given identity in his or her environment is captured within a single semantic object. With E-R models, all the data that a user thinks of as being a characteristic of a given identity is spread across multiple entities, and thus relationships are required to reconstruct the user's perspective. Therefore, semantic models tend to produce a data model that more closely resembles the user's model.




jhjkgdfhk

  • Member
  • Posts: 569
Reply 2 on: Jul 7, 2018
Wow, this really help


tkempin

  • Member
  • Posts: 332
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

A headache when you wake up in the morning is indicative of sinusitis. Other symptoms of sinusitis can include fever, weakness, tiredness, a cough that may be more severe at night, and a runny nose or nasal congestion.

Did you know?

In 1864, the first barbiturate (barbituric acid) was synthesized.

Did you know?

A cataract is a clouding of the eyes' natural lens. As we age, some clouding of the lens may occur. The first sign of a cataract is usually blurry vision. Although glasses and other visual aids may at first help a person with cataracts, surgery may become inevitable. Cataract surgery is very successful in restoring vision, and it is the most frequently performed surgery in the United States.

Did you know?

Street names for barbiturates include reds, red devils, yellow jackets, blue heavens, Christmas trees, and rainbows. They are commonly referred to as downers.

Did you know?

When Gabriel Fahrenheit invented the first mercury thermometer, he called "zero degrees" the lowest temperature he was able to attain with a mixture of ice and salt. For the upper point of his scale, he used 96°, which he measured as normal human body temperature (we know it to be 98.6° today because of more accurate thermometers).

For a complete list of videos, visit our video library