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 22 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
Excellent


brbarasa

  • Member
  • Posts: 308
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

Alcohol acts as a diuretic. Eight ounces of water is needed to metabolize just 1 ounce of alcohol.

Did you know?

Medication errors are three times higher among children and infants than with adults.

Did you know?

It is widely believed that giving a daily oral dose of aspirin to heart attack patients improves their chances of survival because the aspirin blocks the formation of new blood clots.

Did you know?

There are more bacteria in your mouth than there are people in the world.

Did you know?

Vampire bats have a natural anticoagulant in their saliva that permits continuous bleeding after they painlessly open a wound with their incisors. This capillary blood does not cause any significant blood loss to their victims.

For a complete list of videos, visit our video library