When should this file be used?

Hi!
I have left this forum for a long while, but now I am back.
Sorry, may I start with a question?
I don't know when we should we use Context Listeners?
Please help if you could!

Do you mean ServletContextListener? Look it up in the J2EE API documentation (javax.servlet.ServletContextListener).
A ServletContextListener is called when the context of the servlet it belongs to is created or destroyed, i.e. when the web application is started up or shut down. If you need to initialise or cleanup things for your web application, you could do it with a ServletContextListener.

Similar Messages

  • When should a DSO be used?

    When should a DSO be used?

    Hi surya,
    1.Mainly ODS is used to store detailed level of data.
    2. Getting teh data overwrtten for key fiedls instead of appending.
    3. Delta functionality because of the Change log table.
    4.All Datasources in ECC will not support for Delta. In such scenarios will go for DSO before cube, as DSO has Overwrite functionality.
    If datasource does not support Delta, we can do full update to DSO and from there we can do Delta Update to Cube. We can maintain change log of each record in DSO,as it has chanege log table.
    Here is the detail of Type of DSO in BI,
    DataStore object types:
    Standard DataStore object
    Data provided using a data transfer process
    SID values can be generated
    Data records with the same key are aggregated during activation
    Data is available for reporting after activation
    Write-optimized DataStore object
    Data provided using a data transfer process
    SID values cannot be generated
    Records with the same key are not aggregated
    Data is available for reporting immediately after it is loaded
    DataStore object for direct update
    Data provided using APIs
    SIDs cannot be generated
    Records with the same key are not aggregated
    And you can find more information / examples on this topic at:
    http://help.sap.com/saphelp_nw04s/helpdata/en/F9/45503C242B4A67E10000000A114084/content.htm

  • When should we prefer to use LinkedList

    when should we prefer to use LinkedList ?

    i have read some where related to java performance...stating that
    http://www.java-performance-portal.org/modules.php?name=News&file=article&sid=8
    The ArrayList is quite fast for accessing the elements in direct or random order, but the pure sequential use the LinkedList might be concerned as the right List for an application. The Vector provides snchronized access to its elements and is a slower than the ArrayList.
    what does it means exactly -------
    accessing the elements in direct or random order or sequential ??

  • What does this file be used for?

    What does this file be used for: $COHERENCE_HOME/lib/coherence/coherence-client.xml ?
    The contents of this file is show as the following:
    ?xml version='1.0'?>
    <license-document>
      <license>
        <software>Oracle Coherence: Data Client</software>
        <licensee>n/a</licensee>
        <type>production</type>
        <id>0x00A800CC0000011295888F24BC6C730B</id>
        <signature>302C02147737DBFAC8F3931DC9A50EFB78A9DF824414054B0214277CACA4CA2B3D01292FBEB080A18DDCC79DBF0F</signature>
      </license>
    </license-document>What is the difference between $COHERENCE_HOME/lib/coherence/ coherence-client.xml and
    $COHERENCE_HOME/lib/coherence/ coherence-rtc.xml about the purpose of usage?
    Edited by: junez on 30-Nov-2009 08:50

    Hello Junez,
    The coherence-client.xml is for the Data Client.
    The coherence-rtc.xml is for the Real Time Client.
    Please take a look at the following page for more information and let me know if you have anymore questions.
    I am also curious what version of Coherence are you using?
    Best regards
    -Dave

  • InDesign Cs5 keep crashing when open this file

    Hi guys,
    I am back for another problem with my InDesign. It's been a while since my last problem...
    Right now I'm facing a new problem and I hope you guys can fix this with me..
    So the problem is that just on this file.. Everytime I try to open it, it just crash. But it is fine when I open other files. Yesterday it was fine when I export as PDF, and even package the file. This morning when I tried to open it, it just crash...
    The solutions I tried :
    Troubleshooting 101: Export to .idml or .inx to clear file corruption
    http://forums.adobe.com/thread/526991
    (I cannot open the file because it says that the file is missing or in any other place..)
    Troubleshooting 101: Replace, or "trash" your InDesign preferences
    http://forums.adobe.com/message/2404821#2404821
    and none of that works.
    I even tried save As.  Still not working..
    Here's the log
    Problem signature:
      Problem Event Name:          APPCRASH
      Application Name:          InDesign.exe
      Application Version:          7.0.0.355
      Application Timestamp:          4bad00be
      Fault Module Name:          PARAGRAPH COMPOSER.RPLN
      Fault Module Version:          7.0.0.355
      Fault Module Timestamp:          4bad0414
      Exception Code:          c0000005
      Exception Offset:          0002e623
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          0a9e
      Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:          0a9e
      Additional Information 4:          0a9e372d3b4ad19135b953a78882e789
    Should I just leave it as it is and try again tomorrow? Maybe it'll work?? :/
    I forgot to do back ups yesterday because I don't bring my external HD. And now I regret it
    Please help?
    Thank you!
    Have a nice day!

    Hi Peter,
    I was trying to export it as .idml and the program crash, so maybe it says file cannot be open because missing maybe because it wasn't finish to export and got crash. Maybe that is why I can't open it.
    well the thing is that my work InDesign Cs5 is bootleg (boo! i know )
    and i was once told not to update them. so i never update until now..
    unless you have a thread where i can read the manual how to update bootleg?
    Thanks Peter!

  • When should object casting be used?

    Hi,
    just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve objects from the HashMap using the relevant key, I have to cast them to what they were originally! Is this bad programming practice or is it the only way to do things?
    Thanks.
    // example of retrieving object from key
    dbDirectory = (String)dbInfo.get("dbDirectory");

    LeWalrus wrote:
    Hi,
    just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve objects from the HashMap using the relevant key, I have to cast them to what they were originally! Is this bad programming practice or is it the only way to do things?
    Thanks.
    // example of retrieving object from key
    dbDirectory = (String)dbInfo.get("dbDirectory");
    Before generics, this was a perfectly acceptable practice. Generally speaking, you use type-casting when the compiler is unable to ensure the type validity at compile-time, but you know it is correct, so you supply the extra information to the compiler so it knows everything is correct. Sometimes you need to circumvent the strong type-checking part of the language for flexibility, but this is something that should be used very sparingly.
    Now it would be better to use generics so that the compiler will know at compile time that the values in your map are Strings, instead of just Objects.

  • When should we prefer to use JSF

    we work on web based applications in servlets and jsp .
    this is my first message in this forums...
    since nowadays i come across hearing JSF..i am interested to clarfiy that weather it is used along with jsp
    or it would replace jsp....
    say
    index.jsp----->index.jsf

    In the project I am working on we have adopted the convention of using the .jsf extension for JSPs that contain JSF tags (mainly forms) and .jsp for regular JSPs. This helps to differentiate the pages that are displayed via the Faces servlet and the distinction can be useful when writing build scripts or using other automated tools.
    -- Keith

  • Using the latest version of Firefox for business when I access this site get corruped data error when downloading .dat files.It used to work

    When I acess this site I can not download .dat files get a corrupted data error

    <i>Moderator Comment<br>
    (Duplicate thread closed. Continue at [/questions/1000178]) -m) </i>

  • "Memory effect" when loading .xls file information using PropertyLoader

    I have a TestStand 3.1 application, in which the sequence start off loading a number of configuration settings embedded in different .xls files using the PropertyLoader.
    Unfortunately, Teststand sometimes loads the previously used .xls files (same name, located elsewhere), rather than those it were supposed to. In particular, if a .xls file is missing, Teststand will often (always?) load a previously used file with the same name, but located elsewhere. VERY inconvinient when testing ...!
    Is there any way to remove this unfortunate "memory effect"?

    Where are your sequence files located? If the .xls files are relative to them you might want to use a more fully specified relative path to the files (for example: bin\config\filename.xls) rather than just filename.xls. Then becareful to remove search directories (especially recursive ones) that you might have added to find these files. It's very easy to get into problems with recursive search directories or by adding too many search directories if you have lots of files with the same names, by instead using paths relative to the sequence file you can avoid the need to add search directories in many cases.
    Hope this helps,
    -Doug

  • No Warning when opening FM file in use by someone else

    Hello,
    When opening an FM10 document in use by someone else across the network, the Document In Use dialog does not appear.
    The .lck file exists in the location of the document but FM allows the file to be opened and edited and saved with no warning.
    -Andy

    Andy,
    In the General Preferences, select Network File Locking.
    Van

  • When should mapping.getAttribute() be used in Struts?

    and why do we need attribute in Action mapping when we already have form bean?

    // you posted in the FCPX-forum intentionally? //
    pheewwww - where to start?
    'film'is a year long study, very academic.
    plus, due to about a 100 years in use, film'language' is part of public concious - there are perhaps 'rules' or common agreements, but an artist will break rules - for a reason.
    In MY simple understanding: a cross-dissolve 'combines', a fade-to-black/-white seperates.
    but that has to been seen - as in any language - in context.
    a dissolve could mean 'meanwhile'.
    a fade has, imho, some 'stop'.
    or some 'and now to something completely different!"
    (Python did NOT dissolve nor fade http://youtu.be/sZa26_esLBE)

  • PSE10 crashes when opening 3rd file (I use a Mac)

    Error message:
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    I've tried re-starting my computer....

    Go to your username>library>preferences and delete:
    com.adobe.PhotoshopElements.plist
    Adobe Photoshop Elements 10 settings
    Adobe Photoshop Elements 10 paths
    In 10.7 and 10.8 this library is hidden. To see it, option click the Go menu in Finder and it will appear below the little house for your user account. In those versions of OS X it's also not a bad idea to go to the Saved Application States folder while you're in the library and delete any states for PSE.

  • I have an old iphone 3 backup file that i need to load back onto an i phone 3, where do i place this file on pc so when i do a backup in itunes, the itunes software will know where to 'look' for it as a selection for a backup file

    I have an iphone 3 backup file saved on harddrive.  Need to restore it to my upgraded s/w 4.2.1 iphone3 thru iitunes.  Need a place to 'land' this file.  Using Windows 7 now.

    The following links gives iOS backup locations for Windows 7 and other operating systems: http://support.apple.com/kb/ht4946

  • Linking KN9 files together using hyperlinks, fades to black

    When linking KN9 files together using hyperlinks, I press play the document being linked to fades in, then out to a black screen and after a couple of seconds returns to the files open files on my desktop.
    I've checked all the setting and it even does it on 2 empty pages I tested with no transitions or document settings.
    If I open both document before pressing play it's OK but because I have several large files being linked together I dont want to have to open all the files before presenting to clients etc.
    Thanks!

    The History
    I reported the hyperlinking problem over a year ago when I updated Keynote from version 5.0.5 to version 5.1. According to the Apple tech that I wroked with at that time the Apple engineers had reproduced the issue and had put it on the fix list (Case 235638615). I then worked with Apple in December 2011 to test a version that supposedly fixed the problem, but did not, so Apple sent me a data logging monitor program which I ran and sent back. The Apple tech asked me to be patient as it might take awhile for the Apple engineers to fix the issue. When version 5.2 came out I reran my testing suite of presentations and found that the hyperlinking issue had still not been fixed. I have tried to contact Apple about my case since July 26th - my emails to the Apple tech with whom I worked back in December bounce back as undeliverable and he does not answer his phone (I have left messages with no replies) plus when I try to use Apple support to follow up on the case, all I get is a message to contact my Apple tech (Doh!). If Apple techs or Apple engineers watch the forums I hope they look into unresolved Case 235638615.
    The Workaround
    Hyperlinking worked fine with 5.0.5 - the .key files would load and display and did not have to be preloaded prior to runing the linked presentations. Version 5.1 through the current version 5.2 require all of the linked presentations to be preloaded prior to running them. Prior to the current version of Lion, I was able to manually run version 5.0.5 to successfully run my system of 32 presentations. The only downsides were that I could not use any transitions or animations introduced with version 5.1 and I had to force quit Keynote 5.0.5. However, when I tried that solution this month, it would not work. So I created an Automator app to load the appropriate subset of presentations for each day of the five day class and used version 5.2. Everything went okay with preloaded presentations.
    I love using Keynote and do not want to go back to PowerPoint, so I hope Apple fixes this issue. I think we have been more than patient with the Apple engineers.

  • WCF-NET TCP Error when processing X12 file

    Hi ,
    Is it that WCF-NET TCP adapter only processes Xml file? I am trying to send x12 message through Send port wth Passthrough  Pipeline and Net-Tcp configuration, but fails for invalid root node error: (below)
    Send Port is subscribing to a Receive Port which has pass through on receive with File adapter ( I don't want to do EDI receive when receiving this file - just to convert it to Xml)
    A message sent to adapter "WCF-NetTcp" on send port "port......._InputPassThru_snd" with URI "net.tcp://localhost:808/totemp" is suspended.
    Error details: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

    The thing is, if you're using the WCF Net-TCP adapter, the receive is expecting a SOAP formatted message over TCP.  The Net-TCP binding is 'binary' because there is no encoding layer, but the message is still SOAP.
    If you really need to send binary data over TCP, you would use the BizTalk TCP/IP Adapter from CodePlex:
    http://tcpipbz2010.codeplex.com/

Maybe you are looking for

  • How to change Users name in Terminal Users.

    Hi, I am trying to change my Users name from firstnamelastname to mac on my OSX10.7.5. I went to Terminal > Users and tried to rename, however upon reboot, the Terminal > Users always brings back the folder firstnamelastname. How can this be changed?

  • What leads and/or software is needed

    Hi, I have a MacBook Pro 13 inch (2011 edition) and a Fender P-Bass, and am looking to use my bass to make recordings in GarageBand. I'm a Mac newbie, so dont know whether i'd need to get a usb/guitar jack to use, or is there another lead/cable that

  • Unable to access servlet

    I'm working on a project in JBuilder that has been around for about a year, and one of my frustrations with the site is that it's a bit too JSP-centric for my liking, so I'm trying to experiment by adding some servlets. However, I don't know how to h

  • Problems with Tomcat 4.0 and jdk 1.3.1 (jsp:include) Help Gurus...

    Im running examples of the include: <jsp:include page="xxx.jsp" flush="true"> and received error: org.apache.jasper.JasperException: No se puede compilar la clase para JSP An error occurred at line: 17 in the jsp file: /jsp/include/include.jsp Genera

  • G4 dual Logic Updated to 7.2.3 Exs Instruments not found!

    I have a G4 dual , with OS 10.4.8 and I just updated to Logic 7.2.3 and now when I do the Expanded scan or try to get my computer to recognize my Exs24 instruments nothing happen, its searched i tried selecting folders, its searches but its says 0 fo