Defining external configuration
hi there.
i wondering if there way define
b external
(not related blazeds) values use configuration within service, or preferably destination.
what i'm trying find place xml configuration file that's accessible within remoteobject code. remoteobject uses values xml configuration file has do. right now, place can access /bin or /temp directories of tomcat server (which can using system.getproperty()), placing configuration file there seems inappropriate. preferably, place in root of webapp directory, can't seem find generic way find directory is, within remoteobject code. means have hard-code location of xml file, doesn't work obvious reasons.
i noticed destination has "getextraproperty" method, i'm unsure of (the source wasn't either) or you're supposed define "extra" properties.
any suggestions should put xml configuration file , or know if can define them within service/destination?
thanks.
i wondering if there way define
b external
(not related blazeds) values use configuration within service, or preferably destination.
what i'm trying find place xml configuration file that's accessible within remoteobject code. remoteobject uses values xml configuration file has do. right now, place can access /bin or /temp directories of tomcat server (which can using system.getproperty()), placing configuration file there seems inappropriate. preferably, place in root of webapp directory, can't seem find generic way find directory is, within remoteobject code. means have hard-code location of xml file, doesn't work obvious reasons.
i noticed destination has "getextraproperty" method, i'm unsure of (the source wasn't either) or you're supposed define "extra" properties.
any suggestions should put xml configuration file , or know if can define them within service/destination?
thanks.
i seem have (temporarily) solved specifying location of file init-param in web.xml file, , picking using flexcontext class url , parse configuration object.
seems sufficient now, comments on how easier, or better still welcome though :)
seems sufficient now, comments on how easier, or better still welcome though :)
More discussions in Configuration and Getting Started
adobe
Comments
Post a Comment