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 13 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
Thanks for the timely response, appreciate it


isabelt_18

  • Member
  • Posts: 342
Reply 3 on: Yesterday
Excellent

 

Did you know?

Bacteria have been found alive in a lake buried one half mile under ice in Antarctica.

Did you know?

Calcitonin is a naturally occurring hormone. In women who are at least 5 years beyond menopause, it slows bone loss and increases spinal bone density.

Did you know?

Individuals are never “cured” of addictions. Instead, they learn how to manage their disease to lead healthy, balanced lives.

Did you know?

Acute bronchitis is an inflammation of the breathing tubes (bronchi), which causes increased mucus production and other changes. It is usually caused by bacteria or viruses, can be serious in people who have pulmonary or cardiac diseases, and can lead to pneumonia.

Did you know?

On average, someone in the United States has a stroke about every 40 seconds. This is about 795,000 people per year.

For a complete list of videos, visit our video library