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 20 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
Great answer, keep it coming :)


sailorcrescent

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

 

Did you know?

The top 10 most important tips that will help you grow old gracefully include (1) quit smoking, (2) keep your weight down, (3) take supplements, (4) skip a meal each day or fast 1 day per week, (5) get a pet, (6) get medical help for chronic pain, (7) walk regularly, (8) reduce arguments, (9) put live plants in your living space, and (10) do some weight training.

Did you know?

Disorders that may affect pharmacodynamics include genetic mutations, malnutrition, thyrotoxicosis, myasthenia gravis, Parkinson's disease, and certain forms of insulin-resistant diabetes mellitus.

Did you know?

Drug abusers experience the following scenario: The pleasure given by their drug (or drugs) of choice is so strong that it is difficult to eradicate even after years of staying away from the substances involved. Certain triggers may cause a drug abuser to relapse. Research shows that long-term drug abuse results in significant changes in brain function that persist long after an individual stops using drugs. It is most important to realize that the same is true of not just illegal substances but alcohol and tobacco as well.

Did you know?

Russia has the highest death rate from cardiovascular disease followed by the Ukraine, Romania, Hungary, and Poland.

Did you know?

The modern decimal position system was the invention of the Hindus (around 800 AD), involving the placing of numerals to indicate their value (units, tens, hundreds, and so on).

For a complete list of videos, visit our video library