Zum Hauptinhalt springen

Request cache to improve web applications performance

Oracle International Corporation
2020
Online Patent

Titel:
Request cache to improve web applications performance
Autor/in / Beteiligte Person: Oracle International Corporation
Link:
Veröffentlichung: 2020
Medientyp: Patent
Sonstiges:
  • Nachgewiesen in: USPTO Patent Grants
  • Sprachen: English
  • Patent Number: 10594,764
  • Publication Date: March 17, 2020
  • Appl. No: 15/478043
  • Application Filed: April 03, 2017
  • Assignees: Oracle International Corporation (Redwood Shores, CA, US)
  • Claim: 1. A non-transitory computer readable medium including instructions executable by one or more processors for: receiving a user interface request from a client computer to generate one or more user interface components; initiating processing of the user interface request; determining when processing of the user interface request accesses context information; detecting when the context information represents dynamic context requiring fetching of the context information from an external source; providing a detection signal in response to the detecting; retrieving the dynamic context in response to the detection signal; generating a cache for storing the dynamic context in response to the detection signal; storing the dynamic context in the cache; using the dynamic context that is stored in the cache for subsequent dynamic context requests for the dynamic context during the processing of the user interface request; and cleaning the cache after the processing of the user interface request has completed.
  • Claim: 2. The non-transitory computer readable medium of claim 1 , wherein the user interface request represents a JavaServer Faces (JSF) request.
  • Claim: 3. The non-transitory computer readable medium of claim 2 , wherein the processing of the user interface request includes plural stages.
  • Claim: 4. The non-transitory computer readable medium of claim 3 , wherein the plural stages include a restore-view stage, an apply-values stage, a validate stage, an update stage, a logic-invocation stage, and a rendering stage.
  • Claim: 5. The non-transitory computer readable medium of claim 4 , wherein at each of the plural stages, one or more context fetches are generated by the processing.
  • Claim: 6. The non-transitory computer readable medium of claim 5 , wherein the one or more context fetches include a fetch to access the context information.
  • Claim: 7. The non-transitory computer readable medium of claim 6 , wherein the context information includes one or more properties describing a JavaBean (JB) state.
  • Claim: 8. The non-transitory computer readable medium of claim 6 , wherein the context information includes the dynamic context.
  • Claim: 9. The non-transitory computer readable medium of claim 2 , wherein the detecting includes employing a JSF phase listener to intercept or analyze context fetches during the processing of the JSF request.
  • Claim: 10. The non-transitory computer readable medium of claim 9 , wherein the detecting further includes using a JavaBean (JB) proxy to maintain the cache, wherein the cache stores fetched dynamic context, and wherein the fetched dynamic context includes dynamic context retrieved using one or more web services or Application Programming Interfaces (APIs).
  • Claim: 11. A method for enhancing web application performance, the method comprising: receiving a user interface request from a client computer to generate one or more user interface components; initiating processing of the user interface request; determining when processing of the user interface request accesses context information; detecting when the context information represents dynamic context requiring fetching of the context information from an external source; providing a detection signal in response to the detecting; retrieving the dynamic context in response to the detection signal; generating a cache for storing the dynamic context in response to the detection signal; storing the dynamic context in the cache; using the dynamic context that is stored in the cache for subsequent dynamic context requests for the dynamic context during the processing of the user interface request; and cleaning the cache after the processing of the user interface request has completed.
  • Claim: 12. The method of claim 11 , wherein the user interface request represents a JavaServer Faces (JSF) request.
  • Claim: 13. The method of claim 12 , wherein the processing of the user interface request includes plural stages.
  • Claim: 14. The method of claim 13 , wherein the plural stages include a restore-view stage, an apply-values stage, a validate stage, an update stage, a logic-invocation stage, and a rendering stage.
  • Claim: 15. The method of claim 14 , wherein at each of the plural stages, one or more context fetches are generated by the processing.
  • Claim: 16. The method of claim 15 , wherein the one or more context fetches include a fetch to access the context information.
  • Claim: 17. The method of claim 16 , wherein the context information includes one or more properties describing a JavaBean (JB) state.
  • Claim: 18. The method of claim 16 , wherein the context information includes the dynamic context.
  • Claim: 19. The method of claim 12 , wherein detecting includes: employing a JSF phase listener to intercept or analyze context fetches during the processing of the JSF request; and using a JavaBean (JB) proxy to maintain the cache, wherein the cache stores fetched dynamic context, and wherein the fetched dynamic context includes dynamic context retrieved using one or more web services or Application Programming Interfaces (APIs).
  • Claim: 20. An apparatus comprising: one or more processors; a non-transitory computer readable medium including instructions executable by the one or more processors for: receiving a user interface request from a client computer to generate one or more user interface components; initiating processing of the user interface request; determining when processing of the user interface request accesses context information; detecting when the context information represents dynamic context requiring fetching of the context information from an external source; providing a detection signal in response to the detecting; retrieving the dynamic context in response to the detection signal; generating a cache for storing the dynamic context in response to the detection signal; storing the dynamic context in the cache; using the dynamic context that is stored in the cache for subsequent dynamic context requests for the dynamic context during the processing of the user interface request; and cleaning the cache after the processing of the user interface request has completed.
  • Patent References Cited: 2003/0065826 April 2003 Skufca ; 2016/0140100 May 2016 Carr
  • Other References: http://www.tutorialspoint.com/jsf/jsf_life_cycle.htm—JSP Life Cycle—downloaded Feb. 27, 2017—4 pages. cited by applicant ; http://stackoverflow.com/questions/2090033/why-jsf-calls-getters-multiple-times—Join the Stack Overflow Community—downloaded Feb. 27, 2017—7 pages. cited by applicant
  • Primary Examiner: Mundur, Padma
  • Attorney, Agent or Firm: Trellis IP Law Group, PC

Klicken Sie ein Format an und speichern Sie dann die Daten oder geben Sie eine Empfänger-Adresse ein und lassen Sie sich per Email zusenden.

oder
oder

Wählen Sie das für Sie passende Zitationsformat und kopieren Sie es dann in die Zwischenablage, lassen es sich per Mail zusenden oder speichern es als PDF-Datei.

oder
oder

Bitte prüfen Sie, ob die Zitation formal korrekt ist, bevor Sie sie in einer Arbeit verwenden. Benutzen Sie gegebenenfalls den "Exportieren"-Dialog, wenn Sie ein Literaturverwaltungsprogramm verwenden und die Zitat-Angaben selbst formatieren wollen.

xs 0 - 576
sm 576 - 768
md 768 - 992
lg 992 - 1200
xl 1200 - 1366
xxl 1366 -