Categories

JAVA DATEBASE
Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Java
Desktop
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Architecture
Migration and Modernization
E-Business Suite
Siebel
PeopleSoft Enterprise
JD Edwards World
Industries
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Primavera
ATG
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums

 



Tags

JDeveloper and ADF


JDEVELOPER 10G, ADF BC: Passivate static instance variables in AM?


I understand the need to passivate/activate instance variables but what about static instance variables within an application module?  Thanks, Wes

Static variables - being class variables and not instance variables - persist without a need for passivation. Is there a particular reason or scenario why to use static variables? You have to consider that since all AM instances will share it, changing it in one AM instance - i.e. one user session - will affect all other AM instances - i.e. all other user sessions! You also have to consider the implications of multithreading when attempting to modify the static variable.

thanks Nick, that answered my querstion. these vars are also final and used to circumvent hard coding strings for helper methods.


Related Links

java.lang.ClassCastException:String cannot be cast to java.sql.Date
How to generate a Unique key based on a some String value
reset button not working after update model
Connection with Many Users
Accessing txt files in the App server from web application
Facing issue while creating af:selectOrderShuttle
SelectOneChoice reset
Help - Taskflow parameters are empty - second time around...
Unable to open ADF file once downloaded with FileDownloadActionListener.
Where to get ADF Sample Applications with Documentation.
how to create Login page in Jdev11.1.1.4
Navigating to buttons using Arrow Key
inputListOfValues column width of Table
menu item hover/highlight issue in ie
ADF Runtime Authorization for Toolbar Button
Anchoring ShowDetailItem in PanelAccordion