Skip to Content
V B

What is webdynpro application life cycle

Hi Experts,

I want to know about the life cycle of webdynpro java application.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jul 07, 2008 at 04:24 AM

    Hi,

    Its already asked and discussed in following thread...

    What is the life cycle of a standard dynpro application?

    regards,

    Pradeep

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 07, 2008 at 05:33 AM

    Hi

    WebDynpro application life cycle is the time span for which data renders in application at run time.

    It is of two types

    1. Framework_controlled

    2. When Visible

    When life span property of view controller is Framework_controlled then application will take the age of controller.

    Application data will last long up to time of controller have data.

    Suppose you defined a context in Global Controller i.e Component Controller and similarly in two view controllers. this data is mapped between both views through Component controller. When you enter some data in input field of first view and navigate to second view and again come back to first view you will get same data in input field. This data will last long up to the time session of application is active. This is possible when View property is framework controlled.

    In case of When Visible the life span of data is upto the life of view controller only. The time for which view is active data will be there. If you navigate to other view and come back this data will be refreshed. But this is the case when context is Not mapped with component controller.

    Mandeep Virk

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 07, 2008 at 05:39 AM

    Hi see this link (Video Presentation) I hope it will be correct answer to your question

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50b0f2aa-20d0-2a10-1685-d163d88a3e09

    If you want anything further I will help you

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 07, 2008 at 05:44 AM

    Thanks for your answers but still my doubt has not cleared...

    I want to know.. what happens exactly when you run webdynpro application and then how the internal flow works ,how control passes from controller to view etc..

    Add comment
    10|10000 characters needed characters exceeded

    • Yes i have gone through the link you have provided to me but it explains about phase model of webdynpro and not about life cycle of webdynpro.

      But any how it is very useful.Thanks

  • Jul 07, 2008 at 06:05 AM

    Thanks for providing your inputs...but if i am not wrong,when application loads at SAP WAS it executes wdDoInit() method of Component controller.

    But my question is how control passes from wdDoInit() to the view.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Yes you are true.

      What i told is high level control flow with in application.

      You are talking about flow in View controller.

      In View wdDoInit()+wdDoModify(). is executed simultaneously first time when view is called.

      In total life span of application wdDoInit() is not called later on, wdDoModify() is executed instead every time view is called.

      Rest all methods / actions are called accordingly

      Mandeep Virk