Why no setProperty() method on the sap.ui.model.Context Class

With a model context object I can do the following to obtain a value from a model:
oModelContext.getProperty("name");
Is there any reason why a setProperty() method is also not provided ?
oModelContext.setProperty("name","Trevor");
It seems that the model context object has all the necessary information to support this function:
var oModel = oModelContext.getModel();
var sPath = oModelContext.getPath();
oModel.setProperty(sPath + "/name","Trevor");
Thanks,
Trevor

With a model context object I can do the following to obtain a value from a model:
oModelContext.getProperty("name");
Is there any reason why a setProperty() method is also not provided ?
oModelContext.setProperty("name","Trevor");
It seems that the model context object has all the necessary information to support this function:
var oModel = oModelContext.getModel();
var sPath = oModelContext.getPath();
oModel.setProperty(sPath + "/name","Trevor");
Thanks,
Trevor

Similar Messages

  • How do I call methods with the same name from different classes

    I have a user class which needs to make calls to methods with the same name but to ojects of a different type.
    My User class will create an object of type MyDAO or of type RemoteDAO.
    The RemoteDAO class is simply a wrapper class around a MyDAO object type to allow a MyDAO object to be accessed remotely. Note the interface MyInterface which MyDAO must implement cannot throw RemoteExceptions.
    Problem is I have ended up with 2 identical User classes which only differ in the type of object they make calls to, method names and functionality are identical.
    Is there any way I can get around this problem?
    Thanks ... J
    My classes are defined as followes
    interface MyInterface{
         //Does not and CANNOT declare to throw any exceptions
        public String sayHello();
    class MyDAO implements MyInterface{
       public String sayHello(){
              return ("Hello from DAO");
    interface RemoteDAO extends java.rmi.Remote{
         public String sayHello() throws java.rmi.RemoteException;
    class RemoteDAOImpl extends UnicastRemoteObject implements RemoteDAO{
         MyDAO dao = new MyDAO();
        public String sayHello() throws java.rmi.RemoteException{
              return dao.sayHello();
    class User{
       //MyDAO dao = new MyDAO();
       //OR
       RemoteDAO dao = new RemoteDAO();
       public void callDAO(){
              try{
              System.out.println( dao.sayHello() );
              catch( Exception e ){
    }

    >
    That's only a good idea if the semantics of sayHello
    as defined in MyInterface suggest that a
    RemoteException could occur. If not, then you're
    designing the interface to suit the way the
    implementing classes will be written, which smells.
    :-)But in practice you can't make a call which can be handled either remotely or locally without, at some point, dealing with the RemoteException.
    Therefore either RemoteException must be part of the interface or (an this is probably more satisfactory) you don't use the remote interface directly, but MyInterface is implemented by a wrapper class which deals with the exception.

  • REQUEST:  A filter method for the Recordset object

    How about it ?   Having a recordset object without a .Filter method could reduce significantly the dependency on the Database server.  Imagine having to make a query for each entry on a list in order to obtain related information!

    No has comment on this  ... for what I think it would be a useful tool for developers.
    Is there a reason why isn't part of the SAP's recordset object.

  • To call methods inside the same application is possible to use RMI ?

    hello,
    What I should like to know is if RMI can easily be used to implement comunication (calling methods) inside classes that are part of the one same application... This should be a restrict case to use RMI...
    The reason to do it come from the need to use the instance of a class knonwing it only as Object... This can be good to do if some code is used for general pupose in many different contexts.
    In this case you can pass to the "server class" a parameter 'o' of type Object (all the classes extend Object) of the "customer class" to get back informations if some elaboration happen inside the "server class"...
    This purpose is generally implemented with event listeners, but perhaps it could be done easily using RMI too (I dont know it...).
    Using RMI in this simple situation, don't should require anything of complicate (stub, .... mashalling parametres....) to have the reference to method of the "customer class" to call. The "server class" already recives a reference of the "customer class" how parameter of type Object, and the mame of the method too.
    I propose a simple thoeric example to explain really what I said before:
    Class Server {
        String methodName;
        Object obj;
        pubic Server( Oject o , String metName){  // constructor
            obj = o;
            methodName = metName;
            // some thing is done and, at last, the method callbakMethod() is executed
            callbakMethod();
        }// constructor
        public void callbakMethod(){ // this method have the purpose to call customerMethod()
              Class c = owner.getClass();                            
              Method m = null;
                  try {
                          m = c.getMethod("callBackMethod",null);     
                         * // (1)
                          // I think that here we could have the possibility to call
                          // the method  customerMethod() belonging to class Customer..
                          // I don't know if it possible and  ...  (and if it is possible) I am not able to do it*
        }// callbakMethod()
    }  // class Server
    Class Custmer{
        public Customer() { // constructor
              Server s = new Server (this, "customerMethod");
        } // constructor
        customerMethod() {    // I would this method is called from class Server
            // do some thing.....
        }  //customerMethod
    }  // class CustomerMy ask is: it is possible to call customerMethod() from the Server class ?...
    If the aswer is yes, I wold know the sintax to use to do it, please.
    thank you
    regards
    tonyMrsangelo

    RMI doesn't help you in the slightest here. You can just realize it all using local method invocation. All RMI does is to make that remote. If the objects aren't remote there is no point.

  • J2EE design patterns vs SAP component model

    Hello,
    does anyone have documentation or articles which makes a link between the J2EE design patterns and the SAP component model ?
    Thanks

    Hi Thierry,
    > What do you mean by assembling DC's into another DC ? Do you mean by using child DC's? Also , the J2EE server DC will have to be in a SC.
    If you create "Java" DC that DC will not have a deployable result on its own. Typically you create a public part with purpose "compilation" (API) and a public part with purpose "assembly". If you define a dependency from an EAR DC or a J2EE Library DC to that assembly public part then the Jar file contained in that public part will be assembled into your (deployable) .ear file or the J2EE library.
    Child DCs are just a means of limiting visibility/scope, similar to ACLs.
    As long as you are working with a "track" each and every DC will be part of an SC. You define a track, you add "developed" SCs, you get a "compartment" where you can create DCs. So each DC automatically belongs to an SC. (But not all DC types produce deployable results, EJB Module/Web Module also need to be assembled into an EAR).
    > is it typical to have an SC dedicated to utility classes?
    Depends on the size of the project/product. I'd start by putting utility classes into some utility package (pure Java). If that gets too large I'd put utility classes sorted by functionality into DCs (Java libraries = jars). If that gets too large its time to think about utility SCs. Otherwise the tradeoff between meta-information and real content might be too much. As the project/product grows the need for refactoring may arise...
    Regards,
    Marc

  • Session method and call transaction methos which one is the sap recomonded

    hi
    PLease give me the answer to these questions.
    session method and call transaction methos which one is the sap recomonded why .
    2) if we want to maintain BDC program in all the systems.wt to d0

    Hi Revethi,
    Here is the difference between the Session and Call Transaction method.
         Session
    Session method supports both small amount of data aswell as large amount of data
    2) data processing is asynchronus and data updation is synchronus.
    3) it process multiple apllication while perfomaning validations.
    4) in session method data will be updated in data base only after processing session only.
    5) system provide by default logfile for handling error records.
    6) it supports both foreground aswell as background process
    in bdc we use FM ... bdc_open_group " for creating Session
    bdc_insert " adding transaction and bdcdata table for updating database
    bdc_close_group " for closing Session
          Call Transaction
    Call transaction exclusively for small amout of data
    2) it supports only one apllication while perfoming validations
    3) there is no default logfile, We can explicitly provide logic for creating logfile for handling error records.
    we can create logfile by using structure....BDCMSGCOLL
    4) it doesn't support background processing.
    5) data processing is synchronous and Data updation is Synchronous( default), in
    this method also supports daya updation in asynchronus process also.
    Syntax:
    Call transaction <transaction-name> using BDCDATA
    mode <A/N/E> update <L/A/S>
    messages into BDCMSGCOLL.

  • How to call standard SAP method in the Custom Program ?

    Hi,
    i need to call sap standard method 'OpenItemRollinout' in my custom program. For the SAP Standard method 'OpenItemRollinoun' the BOR(Business Object) is 'PAYSCHEME'. So how to call the SAP standard method in the custom program ???

    Hi,
    In the method that you have provided only one function module is being used so better use the FM and copy the remaining code based on ur requirement.
    FM is ISU_S_PAYSCHEME_ROLLIN_ROLLOUT.
    Regards,
    Vijay.

  • What are the methods to modify SAP standard tables?

    hi
    what are the methods to modify SAP standard tables?

    .APPEND structures AND CUSTOMIZING INCLUDES.
    these are the two methods.. but customizing includes we, as a developers do not use.
    generally we use .APPEND structures to modify standard tables.
    note that we need an access key to modify atandard tables.
    we can create an apend structure and add that structure to the standard table at the end.
    note that .append structures should only be added only at the end.
    that is the reason we use .append structures to modify standard tables.as we should not include a field in the middle and disturb the original order of the standard table fields as it may effect many objects depending on the standard table.
    but Some standard tables for which there is a LONG datatype field can never be modified.
    the reason is the LONG datatype field should always be there at the end and also .APPEND strutures should always be there at the end. there will be a conflict. so, some standard tables can not be appended.

  • Why is the static method in the superclass more specific?

    Why is the static method in the superclass more specific than the static method in the subclass? After all, int is a subtype of long, but Base is not a subtype of Sub.
    class Base {
        static void m(int i){ System.out.println("Base"); }
    class Sub extends Base {
        static void m(long l){ System.out.println("Sub"); }
    class Test {
        public static void main(String[] args) {
            int i = 10;
            Sub sub = new Sub();
            sub.m(i);
    }The first example compiles without error.
    Output: Base
    class Base {
        void m(int i){ System.out.println("Base"); }
    class Sub extends Base {
        void m(long l){ System.out.println("Sub"); }
    class Test {
        public static void main(String[] args) {
            int i = 10;
            Sub sub = new Sub();
            sub.m(i);
    }In the second example, both instance methods are applicable and accessible (JLS 15.12.2.1), but neither is more specific (JLS 12.2.2), so we get a compiler error as expected.
    : reference to m is ambiguous,
    both method m(int) in Base and method m(long) in Sub match
    sub.m(i);
    ^
    1 error
    Why don�t we get a compiler error for the static methods?

    Thank you for your ideas.
    ====
    OUNOS:
    I don't get Sylvia's response. This is about static methods, what are instances are needed for??Yes, the question is about static methods. I included the example with non-static methods for a comparison. According to JLS 15.12.2, both examples should cause a compiler error.
    And why you create a Sub object to call the method, and dont just call "Sub.m(..)"Yes, it would make more sense to call Sub.m(i). Let�s change it. Now, I ask the same question. Why is there no compiler error?
    ====
    DANPERKINS:
    The error in your logic stems from calling static methods on instances, as ounos pointed out. Solution: don't. You won't see any more ambiguities.A static member of a class may also be accessed via a reference to an object of that class. It is not an error. (The value of the reference can even be null.)
    Originally I was looking only at the case with non-static methods. Therefore, I used sub.m(i). Once I understood that case, I added the static modifiers. When posting my question, I wish I had also changed sub.m to Sub.m. Either way, according to JLS 15.12.2, a compiler error should occur due to ambiguous method invocation.
    ====
    SILVIAE:
    The question was not about finding an alternative approach that doesn't throw up an ambiguity. The question related to why, in the particular situations described, the ambiguity arises in only one of them.
    Yes.
    Proposing an alternative approach doesn't address the question.
    Yes.
    ====
    If anyone is really interested, here is some background to the question. Some people studying for a Sun Java certificate were investigating some subtleties of method invocations:
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=24&t=019182
    I remember seeing the non-static case discussed in this forum once before in a more practical context. jschell probably knows the link.

  • Deployment methods - bundling the JRE, why not?

    On various other websites, I've noticed most people still use 1.4 and will do so for another year (or two!?) because 1.5 is not installed as widespread as 1.4.
    If you're deploying a desktop application, or any application that's going to be shipped on a CD, is there any reason why you wouldn't bundle the JRE with the application?
    I'm not referring to bundling the full jre setup file, where the user has to install it manually. What I mean is creating a subfolder in the installation directory with a cut down jre (which is allowed in the license agreement). The total size is about ~35MB (~15MB compressed). I've seen this approach in the Java game Tribal Trouble, but no where else. To be fair, as a windows user the only real java applications I see are my own. But from the looks of things, this seems to be the least used deplyoment method (and even frowned upon?).
    The way I see it, 15MB compressed is cheap on a CD (or DVD). You can use whatever JRE you want (even 1.6) without the user running into any problems where they don't have Java installed or they're using an older version.
    Any thoughts?

    Kuntilanak,
    Here's what I do.
    1. Create an application staging directory, call it C:\MyApp\Stage
    2. JAR up my application .class files and copy the JAR file to C:\MyApp\Stage
    3. Copy the C:\Program Files\Java\jre1.5.0_06 directory into C:\MyApp\Stage and rename it from C:\MyApp\Stage\jre1.5.0_06 to C:\MyApp\Stage\jre. Note: You may want to put a text file in the JRE directory that tells what version this JRE is.
    4. Create a batch file in C:\MyApp\Stage, the contents of this batch file should be:
    .\jre\bin\java -jar YourJarName.jar
    5. Using a utility like WinZip I will create an intallation executable that packages the contents of C:\MyApp\Stage into one exe file.
    6. Distribute the EXE file to your users.
    You may want to find a packaging tool (zip tool) that will allow you to put a shortcut on the users desktop or start button. I use Exceed Absolute Packager.
    You can also use launch4j (http://launch4j.sourceforge.net) to create an exe file that will execute your JAR file instead of using a batch file.
    Have Fun,
    Karl

  • Why RichCommandButton doesn't invoke the actionListener method?

    I have a dynamically drop down list, it is refreshed when user changes something on the UI.
    And I add a “RichCommandButton” button and set its ActionListener is a method in the backend bean (for example, #{ctrlBean.onClick} ), the bean’s scope is Request.
    In the backend bean method, I want to do the commit.
    DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    oracle.binding.OperationBinding operationBinding =
    bindings.getOperationBinding("Commit");
    operationBinding.execute();
    When I click the button on UI, the UI refreshes once and the dynamical entity type dropdown list becomes empty and the debugger doesn’t come into the breakpoint in the method.
    Can anybody explain the process when clicking the button?
    I don't know why the UI refreshes, but don't invoke my method.
    Thanks

    K. Konuri
    An Applet must implement at least one
    of the following methods: init, start, or paint. Unlike Java applications, applets do not need to implement a
    main method
    The init() method, which works much like a constructor, handles whatever
    initialization your applet requires. The browser or applet viewer automatically
    calls it to perform applet initialization each time the applet is loaded.
    Deepak

  • Why we able to see the messeges in SXMB_MONI at SAP R/3 side??

    Hi All,
    When we are dealing with Proxy--File scenarios
    After we triggered the proxy from SAP R/3 we are able to see the Messeges in MONI of SAP R/3.
    But if I used IDOC--File scenario, then why can't i see the Msg's in MONI???
    Regards
    Suman

    Hi,
    One more query is
    If i used Proxy --file scenario.
    When this data will be converted into XML format.
    Means before reaching to IE of SAP R/3????
    Or after reaching to IE of SAP R/3??
    I want to know the process flow of Proxy upto reaching of XI system
    Can u please summarize these??
    Double points are awaiting
    Regards
    Suman

  • Why notify/notifyAll method doesn't resume the waiting thread quickly?????

    I am currently working on a socket based IM server, I get messages from multiple clients simultaneously and put them into queues, for each queue in my server I have a separate listener running in a thread, as soon as a packet comes in the queue (from any client) it��s related thread is notified to get that packet from thread and process it.
    Here I am using wait/notify blocking mechanism to control loop in my listener thread. My logic works like this
    1)     When Listener thread starts it calls the synchronized getNextPacket method on that queue if the queue has any packet (i.e. it��s length is greater then zero) then it will remove that packet from the underlying vector (NOTE: I am using Vector to contain packets) and return that packet to listener thread, else if queue doesn��t have any packet (i.e. its size is zero) then I will call wait() method which causes the listener thread to wait.
    2)     Now when any client adds some packet in that queue using synchronized addPacket( ) method I first add that packet in the underlying vector and then call notify()/notifyAll() to awake that listener thread, which again calls the getNextPacket() method and this cycle continuous like this.
    So multiple threads (clients) are adding data in the queue using synchronized method, only one listener thread is getting data from that queue using a synchronized method again �� .
    This approach works fine but sometimes I have noticed that the listener thread doesn��t resume just after notiy() / notifyAll() has been called , sometimes it resumes after a long time sometimes it even don��t resume (after waiting a long time I assumed this).
    Solutions I tried
    1)     I did set the listener Thread��s priority to Maximum but facing same problem again.
    For better understanding I am also sending you the code for my queue class and it��s listener thread.
    CODE OF QUEUE CLASS
    import java.util.Vector;
    import org.apache.log4j.Logger;
    import com.tcm.unicorn.server.UnicornCustomeObject;
    * @author sajjad.paracha
    public class UIMPCommandsQueue {
         private static final Logger logger=Logger.getLogger(UIMPCommandsQueue.class);
          * Contains all the packets from clients
         private Vector <UnicornCustomeObject> unicornCustomeObjectQueue = new Vector<UnicornCustomeObject>();
         private UIMPCommandsQueue(){
         private static UIMPCommandsQueue uIMPCommandsQueue = null;
         public static UIMPCommandsQueue getInstance(){
              synchronized(UIMPCommandsQueue.class){
                   if(uIMPCommandsQueue!=null){
                        return uIMPCommandsQueue;
                   }else
                        return uIMPCommandsQueue = new UIMPCommandsQueue();
          * Adds a new command
          * @param unicornCustomeObject
         public synchronized void addCommandPakcet(UnicornCustomeObject unicornCustomeObject){
              logger.debug("[[[[[[[[[[[[[[[[[[[[[[[[[[   Going to add a packet in queue  no "+unicornCustomeObject.getClientSession().getRequestQueueNo());
              unicornCustomeObjectQueue.add(unicornCustomeObject);
              //** Notify the Listener (RequestProcessor) Thread that a new packet has been arrived in the queue
              //** So it now can again start it's processing
              notifyAll();
          * Removes an object from queue whose processing has been started or completed
          * @param unicornCustomeObject
          * @return
         private boolean removeCommandPacket(UnicornCustomeObject unicornCustomeObject){
              return unicornCustomeObjectQueue.remove(unicornCustomeObject);
          * <p> If no packet is available in queue it retuns null value
          *     otherwise returns an object from that queue
          * <p>
          * @return unicornCustomeObject
         public synchronized UnicornCustomeObject getNextCommandPacket(){
              if(unicornCustomeObjectQueue.size()>0){
                   UnicornCustomeObject unicornCustomeObject = unicornCustomeObjectQueue.get(0);
                   logger.debug("[[[[[[[[[[[[[[[[[[[[[[[[[[   Got a packet from queue no  "+unicornCustomeObject.getClientSession().getRequestQueueNo());
                   logger.debug("[[[[[[[[[[[[[[[[[[[[[[[[[[   Going to remove a packet from queue no  "+unicornCustomeObject.getClientSession().getRequestQueueNo());
                   removeCommandPacket(unicornCustomeObject);
                   return unicornCustomeObject;
              }else{
                   try {
                        //** Force the Listener (RequestProcessor) Thread to wait for notification
                        //** This Thread will be only notified if a new command packet has been arrived(added) in the
                        //** Queue i.e in addCommandPacket Method
                        wait();
                   } catch (InterruptedException e) {
                        logger.error("",e);
                   return null;
    CODE OF LISTENER CLASS
    import org.apache.log4j.Logger;
    import com.tcm.unicorn.server.UnicornCustomeObject;
    public class RequestProcessor implements Runnable {
          * will listen on Request queue for any new massages
         public void run() {
                   //** get an instance of RequestQueue before the loop  
                   UIMPCommandsQueue requestQueue= UIMPCommandsQueue.getInstance();
                   while(true){
                        try{
                             //**call the blocking method getNextCommandPacket()     
                             UnicornCustomeObject unicornCustomeObject= requestQueue.getNextCommandPacket();
                             if(unicornCustomeObject!=null){
                                  System.out.println("Got a pcket will process it now.......");                    
                        }catch(Exception exp){
                             exp.printStackTrace();
    Can anybody please tell me where I am doing something wrong and whats the best way to get rid of this situation .
    Thanks in advance
    Message was edited by:
    meetsaju

    Another question !
    in my previous programe i have seen a starange behavior , my processor thread sometimes processes the later message before the message came before that in queue here is an output of my debug statements
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 10
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 11
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 30
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 13
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 0
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 12
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 20
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 40
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 31
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 14
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 15
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 32
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 33
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 16
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 34
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 17
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 35
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 18
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 36
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 19
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 37
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 41
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 38
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 39
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 42
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 43
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 21
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 44
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 22
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 45
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 23
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 46
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 24
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 47
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 25
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 26
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 49
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 48
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 27
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 28
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 1
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 2 look at the lines
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 49
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 48
    as for as i know it shouldnt be the case as we are using a FIFO queue here....just querious how it is possible that a later message is taken from a FIFO queue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Trying to find the reflection coefficien​t using two microphone method, why can't I output the data in units of frequency?

    Using LABView to collect data over an experimental setup for measuring sound absorption using the two microphone method. The program cross correlates two mic inputs and then I use a fourier transform to split the complex result into real and imaginary parts. I cant seem to output into the right units or even the right format. Any help would be great, the VI is attached. Thanks.
    Attachments:
    convolutioncorrelation.llb ‏95 KB

    If you have the Report Generation Toolkit then you can easily use the VIs included with it to write to an Excel file.  Check out this example.
    Alternately, you can use the Write To Spreadsheet File VI to create a tab delimited or comma separated spreadsheet file which can be opened by Excel.  Check out this example.
    There are many more examples available in the NI Developers Community that you might find useful as well.
    Regards,
    Barron
    Applications Engineering
    National Instruments

  • Why it take so long to start the SAP Web Application Server?

    As I read from the doc that starting the SAP Web Application Server will take from 25 to 40 minutes, I don't believe. But as I try it on my machine, it does take really so long. Isn't it a wonder?
    I am used to work with Tomcat, JBoss, BEA etc. None of them will take so long.

    Hi Chen,
    In a WAS I assume that it has dual stack (ABAP + JAVA)
    For the startup of a ABAP Stack it generally takes about 2 minutes or so.
    And for the WAS JAVA STACK should take around 8 to 15 minutes depending on the application, services and hardware sizing.
    The reason for the long time required for a WAS Java Stackis:
    JAVA Stack depends on three diffrent components: a) dispatcher(java) b)SDM c) Server0 process.
    Now before the execution of all these the first thing what happens is the initializastion of jcontrol which inturn initiates the java bootstrap process.
    At this moment of time the JVM environment takes some time for the loading and memory management. Once the JVM is loaded successfully then only the three compnents (SDM, dispatcher and server0) are initiated to run.
    The SDM and dispatcher do started up with a couple of services and hence require not toomuch of time.
    But the main component i.e Server0 process consumes a lot of time to startup at it requires many of the Java stack services to start before it reaches running state.
    Again the port configuration for HTTP for SDM , dispatcher , server0 and java process also takes place.
    So this was an overview for the Time required for a WAS Stack to come up in operational condition.
    Apart from this , seeing specifically to your scenario, wherein it takes 25 - 40 minutes could be an issue with the Hardaware sizing of the Server and the Sofware compnents / tools loaded. We might need to analyze it in more detail to get a clear picture.
    I hope this helps you!
    Regards,
    Prem

Maybe you are looking for