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 15 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
Gracias!


irishcancer18

  • Member
  • Posts: 310
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

The FDA recognizes 118 routes of administration.

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?

Eating food that has been cooked with poppy seeds may cause you to fail a drug screening test, because the seeds contain enough opiate alkaloids to register as a positive.

Did you know?

As of mid-2016, 18.2 million people were receiving advanced retroviral therapy (ART) worldwide. This represents between 43–50% of the 34–39.8 million people living with HIV.

Did you know?

Blastomycosis is often misdiagnosed, resulting in tragic outcomes. It is caused by a fungus living in moist soil, in wooded areas of the United States and Canada. If inhaled, the fungus can cause mild breathing problems that may worsen and cause serious illness and even death.

For a complete list of videos, visit our video library