Concept similar to ServletContext available for WD?

Hi,
in standard J2EE web applications there is the ServletContext (als known as the predefined JSP-variable application) which can hold application specific data that can be accessed by any user session as long as the web application is running. In J2EE web apps I frequently use the ServletContext as a shared cache for certain data read from a database.
Now I wonder if there is something similar available for WD java applications.
My understanding is that a controller context within the root component of the WD application does not do the job, because the root component is instantiated on a per session basis.
Is there any concept similar to a ServletContext available for WD applications?
If not is there a best practice how to simulate such a concept?
Regards,
Sven

Dear Sven,
I have done some investigation on this topic. Due to the fact that one shouldn't access the HttpRequest in a webdynpro application, consquently one shouldn't access the underlying Servletcontext as well.
In order to store data in memory for usage as e.g. valuehelp content like in a project i am working on there are 2 possibilities:
1) implement a portal service that holds the cache in a private member variable, but provides accessor methods for it.
public class ContextService implements IContextService{
private IServiceContext mm_serviceContext;
private Properties mm_applicationCache;
Generic init method of the service. Will be called by the portal runtime.
@param serviceContext
public void init(IServiceContext serviceContext){
  mm_serviceContext = serviceContext;
  CrtClassLoaderRegistry.addClassLoader(this.getKey(), this.getClass().getClassLoader());
public Properties getCache(){
return mm_applicationCache;
tro call the Service in WD.
====================
IContextService portalservice=(IContextService)WDPortalUtils.getServiceRefrence(IContextService.KEY);
portalservice.getCache();
2)  the second solution (which i am not going to implement) is using Entity Beans, that hold the Applicationcontext Information. you would access these with SessionBeans (preferrably stateless) that in turns are used as Webdynpromodells (Command bean approach).
best regards,
Juergen

Similar Messages

  • I've searched to no avail for this problem. Similar posts but none that tell me what to do. I can't add or delete any bookmarks on my iPad 2 running the newest iOS. I know how it's suppose to work, it just isn't working!

    I've searched to no avail for this problem. Similar posts but none that tell me what to do. I can't add or delete any bookmarks on my iPad 2 running the newest iOS. I know how it's suppose to work, it just isn't working!
    It started after the major update to iOS 7.
    I can't believe that this is so hard to do. It's just not letting me. I can add a bookmark to the home screen just fine, just not in a bookmarks folder anywhere I try.
    I've used Apple products since 2001 and have always loved how intuitive they are. But the Safari browser since iOS 7 has been the worst I've experienced. At least right in the beginning after that update.
    I'd really appreciate any help that doesn't just tell me how it's suppose to work...I know that.
    My iPad 4 is not affected with the problem and works as it should.

    To delete, tap "Edit" (tap to enlarge image)

  • Is there a similar app to Ring Scheduler available for the iPhone?

    Hi,
    I currently use a Droid, and I am NOT happy with it overall.  However, the reason I chose a Droid over the iPhone is because of one application not available for the iPhone, but available for Droids.  That application is "Ring Scheduler."  (RS)  With RS you can select times at which your phone's ringer will automatically silence itself.  Additionally and MOST importantely, you can add contacts to an exceptions list so that when these contacts call during silence time the phone will ring.
    For example, I have my silence times set from 10:00 p.m. to 6:30 a.m.  I have my parents in the exceptions list, so if they call at 2:00 a.m. with an emergency, my phone will ring.  My buddy John, however, who may drunk dial me at 3:00 a.m. will not wake me since the phone is silenced and he is not on the exceptions list.  I also own a business with 70+ employees who tend to call at any hour of the day/night.  I don't need to be woken up at 2:30 a.m. from John Doe who is calling out for the day, but if my aunt has an emergency, since she is on the exceptions list, the phone will ring.
    Is there a functionality within the phone, or is there a similar application avaialble for the iPhone?  I have asked at the Verizon dealers, but I've never gotten a straight answer.  My Droid is nearing its end and I'd like to replace with an iPhone, but because my family is older and I have numerous people who call at any hour I NEED this application.  Please advise!
    Thanks in advance!

    It will be baked into iOS 6 when it's released this fall.
    http://www.apple.com/ios/ios6/#phone
    It's called "Do Not Disturb".
    3rd party apps don't have access to the functions necessary to do this.

  • Is there any project manager available for Mac. Something similar to MS Project

    Hi guys
    Is there any project manager available for Mac. Something similar to MS Project?
    If there was not one "genuine" version, may there be an app or so which enables to visualize a project desgined on MS Project?
    Any advice?
    Thanks so much for any help oyu may provide me.
    Kind Regards

    Check this list:
    http://mac-project-management-software-review.toptenreviews.com

  • Tool availability for Archival Solution similar to ILM Assistant?

    Can you suggest some other tool or facility which will give ILM Assistant like features?
    We want to archive data on date basis. ILM Assistant does not provide archiving solution. Is there any other tool available for the same?
    Regards,
    Archana.

    Oracle has two solutions for archiving.
    One is DBFS HSM. Oracle SecureFiles provide fast and file storage on an Oracle database. DBFS provides a file system interface to SecureFiles data. DBFS HSM store allows archiving and transparent recall of SecureFiles data to tape. See http://www.oracle.com/technetwork/database/features/secure-files/dbfs-sf-oow2009-v2-160969.pdf for more info. SecureFiles can be coupled with Oracle's Enterprise Content Management suite so that the content can be automatically stored, and recalled when necessary, on tape.
    The other is Storage Archive Manager. SAM presents a file interface and any files written to and stored on SAM can be managed in a multi tiered storage environment which also provides multi-tier transparent archiving. See http://www.oracle.com/us/products/servers-storage/storage/storage-software/031715.htm for more info. SAM can be coupled with Oracle's Enterprise Content Management suite so that the content can be automatically stored, and recalled when necessary, on SAM.
    Regards,
    Dan Ferber

  • Is there a plug-in similar to next tab for v3.6.18

    Is there a plug-in similar to next tab for v3.6.18?

    I had that version first and I got the message: "Not available for Firefox 3.6.24". I don't knoe why-I was able to open tabs next to the one I was using up 'til yesterday when I had to uninstall and RE-install for another reason. Now I can't get the feature back.

  • First call attempt fails with 12000; reason="Routes available for this request but no available gateway at this point"

    We've installed a new Audiocodes Mediant 1000B gateway for our customer.  They only have about 6 users enabled for Enterprise voice and using Lync for all calls.  They have an intermittent problem whereby the first call attempt to a number on the
    PSTN fails with 12000; reason="Routes available for this request but no available gateway at this point".  There is only one PSTN gateway installed.  All routes point to this gateway.  What I found initially is that the calls
    were failing after 10 seconds which is the default "failovertimeout" in the OutboundRouting.exe.config.  I found this post http://voipnorm.blogspot.co.uk/2012/06/lync-2010-gateway-timeout-call-failures.html and
    changed the value to 20 seconds.  Subsequent failures failed after 20 seconds (the new value).  The interesting thing is that the second attempt even a couple of seconds later succeeds.  My Lync server event log has 46046 "A call to a PSTN
    number failed due to non availability of gateways." for the failed call and 46047 "A PBX gateway is now responding to requests after some failures." for the successful call moments later.
    My environment is Lync 2010.  A single enterprise edition Front End with collocated mediation.  The server is virtual and in a different physical location to the gateway.  The two sites are connected via a LES1000.  The RTT between the
    sites is very low so it isn't necessarily networking.
    In the Syslog output on the Audiocodes we don't see the call even reach the gateway.  It's likely that Lync has simply marked the gateway as down and doesn't route the first call.  Then it wakes up and marks it as up and routes the next call.
    Update wise I'm on 4.0.7577.183, 199 and 217 for those that are up to date and the only components that are behind say that 223 is available.  Those being Core Components, Lync Server, Conferencing Server and Web Components.
    As I said, this is intermittent, apparently doesn't happen for every user (which I don't buy), but is easily replicated on request.
    I definitely think changing the failovertimeout value has reduced the number of failures.  But realistically I don't want users sitting there for 20 seconds before their call fails.  Or 19 seconds for the call to route.
    I've found a few posts on this and similar issues.  I don't get the 25051 or 25052 errors.
    Any help gratefully appreciated.
    Regards
    Randy Chapman
    Best Regards Randy Chapman

    Try to change the value of Failovertimeout to 1000.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • More than 1 blank line available for input in IP-Excel based?

    Hello,
    We are converting a large BW-BPS application (> 200 active users) to IP.
    A major requirement is the availability of the "blank screen" in Excel, similar to the BPS standard screen, where users can cut-and-paste multiple lines into it.
    IP - Excel-based appears to give only one blank line available for input at the bottom of the query.  Is there a setting or change available to give 20 blank lines, similar to the UPP_SET_DEFAULT_DUMMIES program for BPS?
    If this is not available it would be a large drawback to converting to IP, as users require pasted-in input from other systems, or "templates" where they change just a few numbers or rows each month, etc.
    Thanks,
    Aaron Benner

    Mayank, thanks for the info.  I knew about the analysis item option in the web, unfortunately I'm only interested in the Excel option.
    Marc, can you shed any light on this subject, as pertains to the Excel-based IP?
    Thanks, Aaron

  • How can I make addons available for enterprise users by an central service and forbid the installation from any other sources

    in the company I´m working for it´s not possible to install add-ons by the Users . That´s what I´m going to change.
    We use Firefox ESR 17 and Window 7.
    I want to make add-ons available for everybody by integrating an internal central service. That is possible by customizing the "extension.webservice.discoverURL" to the server I´m talking about. The Problem is that nobody should be able to install add-ons from any other source, for example addons.mozilla.org, local media,...
    Do you have an idea, how this problem can be solved?
    Maybe there is a possibility by using the lockPref "xpiinstall.enabled false" in conjunction with a whitelist defining my Server?

    Does any of this or similar blogs by the same author help
    *http://mike.kaply.com/2012/07/03/customizing-firefox-blocking-add-ons/
    Although with many hacks there could be some sort of workaround that advanced users may employ when attempting to circumvent the measures, such as the ability to use Firefox in safe-mode and then install add-ons, or even run a browser from a memory stick.
    You may well get a better answer on some other forum. This mozillazine forum deals with some coding issues, not sure but they may consider your sort of question on topic.
    * http://forums.mozillazine.org/viewforum.php?f=25

  • Is Lightroom available for Ubuntu 14.04 ?

    I'm a Linux user (Ubuntu 14.04)... I searched the web for lightroom and downloaded Lightroom... But I couldn't run it on my PC since the OS is Ubuntu. Is a version available for my OS ? Please help me out of this...

    LIghtroom only runs under Windows and Mac operating systems.
    Darktable is a "similar" program to Lightroom that runs under Ubuntu.

  • Is iBooks author available for the iPad?

    I'd like to use the iBooks author. I have the new iPad (#3) is the iBooks author only available for use on the Mac?
    If it is restricted to the Mac, - I don't have a Mac - is it possible to use one of those programs that translates a Mac program for use on a PC?

    That's actually a bummer!!
    I've seen Pgms that allowed a PC to use Apple Pgms. But that was several years ago. I'm assuming from what you said, those days are gone. Is that right?
    The only Pgm that comes near iBooks Author is InDesign - and that's hundreds of dollars Vs FREE! And InDesign is Overkill with a heavy learning curve.
    The aggregators are actually Go-Betweens that convert for a fee, and then collect a % of the sales, in addition to what Apple takes.
    I'd prefer to use the iBooks Author because it's simple and does nice work. AND the submission is direct to Apple, which avoids the extra aggregator fees and commissions on all future sales.
    There's also an additional 30 to 45 days AFTER Apple's 30 - 60 days till payment is sent. They work with my money AND don't send it till it totals $500.
    Do you have any experience with any of the other Pgms  similar to the iBooks Author?

  • New update available for Lumia 800 (1600.2487.8107...

    Hi all!
    Good news! We have brought forward the software update schedule for our Nokia Lumia 800, and have begun rolling out the latest update 1600.2487.8107.12070 to India and Singapore. This update will gradually be available for more markets in the coming weeks and we will keep you informed via our support pages as well as via a similar announcement here on Nokia Discussions Forum, once we add additonal markets to the roll out.
    As this is not a mandatory software update, not every country or network carrier will make it available to their customers. However, all features and enhancements will be included in subsequent software updates. If you have questions if 1600.2487.8107.12070 will be available for you, please check with your local network carrier.
    The new Lumia 800 update brings the following enhancements:
    Enhanced battery standby and talk-time performance
    Fix for non-responsive screen when ending a call
    Improved  bass in audio performance
    Soft keys illumination available for all screen brightness levels
    Fix for rebooting in certain network conditions 
    As soon as the update is available for you, your phone will display a notification on your Homescreen or you can check for available updates manually by going to Settings > phone update. To update your phone, please follow those 4 steps:
    1.   Install the Zune software (Windows) or Windows Phone 7 Connector (Mac OS) on your computer. You'll need this software to download the phone update.
    2.   Connect your phone to your computer, using the USB cable that came with your phone.
    3.   If the Zune software or Windows Phone 7 Connector for Mac doesn't start automatically when you connect your phone, start it manually.
    4.   In the Zune software, click Update Now (in Windows Phone 7 Connector for Mac, click Install Updates). Make sure you keep your phone connected to your computer until you see a notification that the update is complete.
    Best regards,
    Yvonne from Nokia Care
    Solved!
    Go to Solution.

    ’We will add more countries and variants to the rollout based on market requests.’’
    There is no request, there is an absolute necessity! Patience is usually my second nature, but the whole non communication policy since the launch of the Nokia Lumia 800 is scandalous. When Nokia finally listening to their customers and responds quickly to problems and childhood illnesses. Like many others with me I'll be forced to daily to plug my device to the Zune software in the hope that Nokia (Netherlands) will be so kind to update my phone.
    Nokia, listen, communicate (especially in the media and forums) and trade as a company that lives up to your image.

  • I cant update my apps. it says 'This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled

    Problem started today, may 8. I cant update apps, it says 'The update is not available for this apple id either because it was bought by a different user or the item was refunded or cancelled.

    There are a number of similar posts coming on here, did you change your Apple ID, are you the original purchaser of the app, did you recently do an update of the iOS?  I just updated two apps on my iPhone which has iOS 7.1.1 without any problems at all, so a little more detail would be helpful.

  • How to make Manufacturer Information Available For Display in SC

    Hello,
    We would like to make the Manufacturer Part Number and External Manufacturer available for display in the shoppng cart. Also, UNSPSC for that matter.  I know these are in the shopping cart as loaded from the external catalog but have not found anywhere in the HTML templates where they could be made available by uncommenting, like we did for Unloading Point. Are there provisions in the shopping cart to show this information?
    If not, how would you accomplish this?
    Thanks in advance for any assistance.

    Hi
    We have done similar requirements in our past previous SRM implementations.
    <u>It's not possible to enable the required fields - Manufacturer part number, External Mnaufacturer, UNSPSC, etc as these are not avaibale on the Standard HTML Templates of the Internet Service - BBPSC01 (using SE80 transaction).
    You need to go for adding customer fields to the Shopping cart Item level in this case.</u>
    Refer the following OSS notes which guides you how to create customer fields on the shopping cart ->
    <b>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2</b>
    Refer the following forum links, which will definitely help ->
    <b>Custom UI fields on shoping cart
    Add custom field in SC -Item Level
    Customer field integration
    Derive GL code based on UNSPSC from catalog
    Custom fields not display in SRM5.5 Basic Data Frame
    BBPSC04 Custom Fields Addition Not working
    How to chage the display name in SC browser for the custome fields?
    <u>You can use several BADIs to map the data from Shopping cart to the Back end documents (Purchase Order, Purchase Req, Requistions, etc) using these Business Add-Ins.</u>
    <b>Refer to the  BADIs using transaction - SE18.</b>
    BBP_DOC_CHANGE_BADI
    BBP_DOC_CHECK_BADI
    BBP_CREATE_PO_BACK
    BBP_CREATE_REQ_BACK
    Note -> Please read the relevant Standard BADI definition documentation, before doing any coding for the custom BADI Implementations.
    Do let me know, incase you face any issues.
    Regards
    - Atul

  • AMS Amazon Release now available for Sydney Region

    Adobe Media Server availability on Amazon Web Services has been expanded. Amazon Machine image is now also available for Sydney Region
    AMI ID -
    ami-90e071aa
    Instances Supported
    m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.xlarge
    FMS 4.5.5 was also made available in Sydney region earlier
    http://helpx.adobe.com/adobe-media-server/kb/flash-media-server-amazon-machine.html
    Team AMS

    Great news Mike! I've got my copy pre-ordered already ;-)
    Do you know of any other similar Siebel CRM On Demand reference books that are available for purchase? From what I can tell, it's like trying to find a needle in a haystack!

Maybe you are looking for