How to make OAF Controller Changes reflect without Application Bounce
Often, when working with OAF customizations, we usually need
to change the java code frequently and test in server, which requires
application tier or apache bounce. Bouncing the application tier frequently
effects multiple users and slows down the pages performance. In order to
overcome this, if changes only involve controller changes, developer can follow
below procedure(before that one needs to understand that controller code is
cached using the Controller Class Name).
- Whenever you want to
modify existing controller class code(say, ControllerA), create a new
Controller Class(ControllerB) which is exactly as a copy of ControllerA.
- Make desired changes in
ControllerB code.
- Mention ControllerB as
controller using personalization.
- See the changes reflected
on the page
- Note: Once ControllerB
class name is registered with server, second change to this class will not
be reflected unless server is bounced.
- To summarize, use
different controller names for each change.
Very nice article.
ReplyDeleteHi, is there any way in 12.2.* version to make controller change effect without application bounce?
ReplyDelete