0 votes
25 views
in Technology by (230k points)

What are the callback annotations for stateful bean?

1 Answer

0 votes
by (230k points)

Following is the list of callback annotations for stateful bean:

  • @PostConstruct - method is invoked when a bean is created for the first time.

  • @PreDestroy - method is invoked when a bean is removed from the bean pool or is destroyed.

  • @PostActivate - method is invoked when a bean is loaded to be used.

  • @PrePassivate - method is invoked when a bean is put back to bean pool.

Related questions

0 votes
1 answer 54 views
0 votes
1 answer 14 views
0 votes
1 answer 28 views
0 votes
1 answer 56 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 21 views
0 votes
1 answer 21 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 17 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 36 views
0 votes
1 answer 43 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 31 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 24 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 54 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 26 views
0 votes
1 answer 20 views
0 votes
1 answer 46 views
0 votes
1 answer 51 views
0 votes
1 answer 24 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 41 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 33 views
0 votes
1 answer 26 views
0 votes
1 answer 58 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 24 views
0 votes
1 answer 21 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 60 views
...