It is usually used in enterprise programming contexts where application, session and request scopes (lifecycles) can be distinguished. In this case specific objects (e.g. an EJB if speaking about Java EE) can have different lifecycles according to these scopes managed by the container infrastructure.
Questions tagged [application-lifecycle]
221 questions
0
votes
1 answer
Symbian App life cycle: Apps never killed?
Coming from Android/WP7 and having been involved in Symbian projects by the past, i would like now to exactly understand the Symbian App life cycle. I want to understand how the Apps are killed.. if they are..
I found this:
"The Symbian platform is…

pedro242
- 33
- 5
0
votes
2 answers
WP7 Application Lifecycle
Ok, this is what I know so far about the Windows Phone 7.1 application life-cyle, but I still have a few questions.
Application Launching
- Called on application start-up, then proceeds to initializes App and then MainPage.
Applicaiton Deactivated
…

methodMan
- 629
- 2
- 11
- 27
0
votes
1 answer
Android: findViewById gives me wrong pointer?
In my updateGUI() function I update each TextView like so:
((TextView) findViewById(R.id.lbTrackerLat)).setText(String.valueOf(lat));
((TextView) findViewById(R.id.lbTrackerLong)).setText(String.valueOf(lng));
((TextView)…

Hein du Plessis
- 3,305
- 6
- 34
- 51
-1
votes
1 answer
Keeping a Spring Boot Application alive
Background
I have a Spring Boot Application that I am deploying in a Docker container.
The application must be running 24/7. If it crashes, it must restart.
I have the option of configuring the container to restart on crash, and of using Kubernetes,…

David Sackstein
- 500
- 1
- 5
- 19
-1
votes
1 answer
"applicationWillTerminate" is not called in swift
I am working on a chatting application, where i have to maintain user "offline" or "online" status.I want the user status will be offline when user enters in background and also if user will kill the app.In my app in the background case it is…

swift Developer
- 11
- 2
-1
votes
1 answer
Detect which applications have been opened
I have such a problem, it is necessary if you run any application to output Toast with the text "some application to run," and when closed by show again Toast with text "some application is completed."
For example launched Play Market, and in my app…

No Name
- 741
- 8
- 18
-1
votes
2 answers
Why none of Windows 10 App is in Suspended State
My understanding for Windows 10 Apps Application life-cycle is that when you switch from one App to another, OS puts first App in suspended mode.
I am running several Apps but none of these is in suspended mode (see image below). I was expecting to…

whoami
- 1,689
- 3
- 22
- 45
-1
votes
1 answer
Are the Application life cycles for Windows phone 7 and 8 the same?
Are the Application life cycles for Windows Phone 7 and Windows Phone 8 the same? If not, please guide me to the differences in the application life cycles of both.

Shafiq Abbas
- 484
- 1
- 5
- 18
-1
votes
2 answers
Spring startup listener which works in junit
Hi i have an web application unsing spring and hibernate.
I'm looking for a possiblity to call some startup functions which are executed when running tests, too.
I uste the AbstractTransactionalJUnit4SpringContextTests class and tried the following…

wutzebaer
- 14,365
- 19
- 99
- 170
-2
votes
1 answer
How do "Suspended" and "Not Running" states look like for the user?
I'm trying to work out the lifecycle of an application, but I can't imagine what some of the states look like.
The program goes into a suspended state when there is no code to run in the background, right? It's still in the background (memory) but…

Dmytro
- 37
- 6
-2
votes
1 answer
PHP MVC Controller Created Over and Over Again
I am new to PHP. I am using a MVC project as an example, and I noticed that each time a submit button is pressed my controller is called. The issue with this is that it creates a new model every time the button is pressed.
To fix this, I used a…

JKo
- 1,260
- 1
- 10
- 18