DataBindings and Application Module Bean

Hello everyone,
I'm working on JDev 10.1.3.4 and Oracle Application Server 10.1.3.4.
I developed a "request module' and I've marked as being accessible remotely using option"EJB Session Bean.
then I deployed on his.
I know how to call the remote application of code module in a JClient application ([thanks a metalink note: https://metalink2.oracle.com/metalink/plsql/f?p=130:14:6076423513290714654:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 309753.1, 1, 1, 1, helvetica | thanks a metailk note]):
Bq. JUApplication app = new JUApplication (TestClient.getAppModule ()); - app.setClientApp (DCDataControl.JCLIENT); - + app.getApplicationModule (+)
I would use the function module remote application of DataBindings and PageDef %.
is this possible? How can I do this?

Best regards

Published by: user567554 on December 17, 2008 17:44

Hello

its been a while since I tried the distance AM, but the configuration of remote access AM must be in the configuration of data control, which means that remote becomes automatically available through the definition of link ADF. At the level of the application developer, there should be no need to know the type of deployment of AOS

Frank

Tags: Java

Similar Questions

  • The affinity of session and Application Module API

    Hi all

    We have some problems to understand why - the session affinity is not preserved when you use some of the methods provided by the interface of the AOS.

    In particular, we analyzed the effects of the method post_changes on the session of DB that the referenced instance of AM used to execute the method:
    We have seen that post_changes, when called, outside any internal modification of ADF, also locks the tables DB changes the user through the web interface of the session. Very well.

    Now if another user opens a Web Session and, for some reason, the above AOS instance is recycled to the pool, then the DB used by instance AM session is restored to be ready for the demands of the new session, so the previous table locks are lost and the new user can basically do anything with the table/view objects.

    The question is:

    Why are they not all the effects of post_changes (which is the framework method) "passivees/enabled" as the other methods of the framework, for example: "insert/delete/update? or why locks are lost?
    We expected these paintings remain locked after the instance referenced AM was recycled (i.e. is no rollack should have be done).

    Basically, we think that there is something inconsistent in the behavior of the framework: simultaneity is always choerent for some base DML (insert, update, delete) via the API framework, but, on the other hand, at least in the case of post_changes the "effects" of the two concurrent on AOS users same instance may be gone.

    Could someone give no explanation?

    Because postChanges actually performs the DML against the underlying tables in the DB instead of simply store the intermediate layer state information. The effects of the postChanges cannot be passive/active. If you do not postChanges, then the insert/delete/update is just the State information in the middle tier and can be passivated/activated.

    In short, as we discussed on your other thread, you shouldn't be trying to keep DB state between requests :)

  • Call stored procedures in the object module and application of entity

    Hello

    I've implemented a helper methods that contains the EntiyImpl base class to call stored procedures.

    Now, I need to call procedures stored from the module of the application.

    Apart from the creation of a module base class asks and the programme of assistance of duplication of code in the method is possible
    to share methods of assistance for calling stored procedures between the entity impl and application module impl?


    Concerning
    Paul

    Support code depends on characteristics of an object instance given entity beyond its database transaction?

    If so, I'm not sure I see how it could be used with a class of application module.

    Otherwise, here's what you do:

    Step 1:

    Set up the database transaction - you can even choose to. So instead of

    {myHelperMethod (Object someParam) protected
    DBTransaction trans = getDBTransaction();
    ...
    }

    This is for change

    protected myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }

    Step 2: make the method public and static - once you set DBTransaction, you should be able to do.

    public static myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }

    Step 3: Remove your EntityImpl base class method in a utility class:

    Public MustInherit class PlSqlUtils {}
    private PlSqlUtils() {}

    public static myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }
    }

    When you call the method of application module, object entity or class of same view object, call

    PlSqlUtils.myHelperMethod (getDBTransaction (), paramValue);

    Unlike Transaction.executeCommand (), allows you to provide features like the setting procedure of parameter values, recovery of the values of the parameters, etc.

    Hope this helps,
    Avrom

  • Best practices for call code plsql and methods of application module

    In my application I am experience problems with the connection pool, I seem to use a lot of connections in my application when only a few users are using the system. As part of our application, we need to call procedures of database for the business logic.
    Our support beans, calls the methods of the module of the application calling to turn a database procedure. For example, in the bean to support, we have code as follows to call the method of module of the application.

    Component Module to generate new review/test.
    CIGAppModuleImpl appMod = (CIGAppModuleImpl) Configuration.createRootApplicationModule ("ky.gov.exam.model.CIGAppModule", "CIGAppModuleLocal");
    String testId = appMod.createTest (username, examId, centerId) m:System.NET.SocketAddress.ToString ();

    AdfFacesContext.getCurrentInstance () .getPageFlowScope () .put ("tid", testId);

    Close call
    System.out.println ("delete Calling releaseRootApplicationModule");
    Configuration.releaseRootApplicationModule (appMod, true);
    System.out.println ("Completed releaseRootApplicationModule delete");
    Return returnResult;

    In the method of application module, we have the following code.

    System.out.println ("CIGAppModuleImpl: call the database and use the value of the iterator");
    CallableStatement cs = null;
    try {}
    CS = getDBTransaction () .createCallableStatement ("start?: = macilap.user_admin.new_test_init(?,?,?);") end; ", 0) ;
    cs.registerOutParameter (1, Types.NUMERIC);
    cs.setString (2, p_userId);
    cs.setString (3, p_examId);
    cs.setString (4, p_centerId);
    cs.executeUpdate ();
    returnResult = cs.getInt (1);
    System.out.println ("CIGAppModuleImpl.createTest: return result is" + returnResult);

    } catch (SQLException to) {}
    throw new Aexception.getLocalizedMessage (se);
    }
    {Finally
    If (cs! = null) {}
    try {}
    CS. Close();
    }
    catch (SQLException s) {}
    throw new Aexception.getLocalizedMessage (s);
    }
    }
    }

    I read in one of the presentations of Steve Muench (Oracle Fusion Applications Team' best practices) that the call of the method createRootApplicationModule is a bad idea and call the method via the link interface.
    I guess that the call of the createRootApplicationModule uses a lot more resources and connections to database as the call to the method via the link interface such as

    BindingContainer links = getBindings();
    OperationBinding ob = bindings.getOperationBinding("customMethod");
    Object result = ob.execute)

    Is this the case? Also use getDBTransaction () .createCallableStatement the best average of calls to database procedures. Would it not be better to expose plsql packages such as Web services and then call from the applicationModule. Is it more effective?

    Concerning

    Orlando

    He must show them.
    But to work around the problem, try this - drag method of the data control to your page and the fall as a button.
    Then go to the source of the JSPX view and remove the button from there - if it comes to the display of the source - the link must remain in your pagedef.

  • A question about Application module and bounded taskflows

    Hello

    One of my friends sent me this question that I could not answer. The question is:


    Your application contains a workflow bounded with four pages.

    The pages are all based on different application modules and the workflow has the property of transaction, the value 'Always Begin new Transaction, and a commit operation is defined as the return of the activity. The user makes a few changes on each page, but a validation failure happens on the links on the third page.

    Which of these scenarios describes the outcome of this situation?

    A. None of the changes on pages undertakes all are cancelled.

    B. pages one and two and four engaged; page three is not validated.

    C. changes to the first two pages are validated; changes on the last two pages are not committed.

    D. it depends on the value that has been set in the property Transaction on each module of the application.

    I suggest the answer is A, but the answer my friend is C.

    What is your suggestions

    Thank you

    You are right.

    The point of transaction is that a couple of operation may be validated or cancelled together.

    If a stubborn workflow starts with a new transaction, when he wishes to complete, he must call a task flow return activity validation or cancellation. They call the underlying commit() or rollback() operations on the associated data control framework, essentially validation or restoring all the data attached to the frame controls.


    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/ADF-task-flow-TRANS-Fund-v1-1-1864319.PDF

  • Application Modules Resuablity face-to-face Web and Non Web Application

    I have a web application that uses the plsql API list and not of Java Web Application that uses the same API plsql can I write an Application Module and use it in the web not Application?

    If not
    If there is a way to manage for the Non Web Applications connection pooling
    How can I share common codes that plsql api call between Web and Non Web application

    IF yes how can I manage the DBTransaction creation for non web?

    Hello

    You can use application Modules in non-web environments.

    String amDef = "model.module.AppModuleAM";
    Config = "AppModuleAMLocal";
    AppModuleAMImpl app = Configuration.createRootApplicationModule (amDef, config) (AppModuleAMImpl);

    Frank

  • get the Application Module during the invocation of Taskflow delimited

    Hello dear developers,

    I have a filter that maps just before the Faces Servlet and fill some attributes in the HttpSession before it proceeds with the request

    [...]

    If (_clientUser! = null & &! _clientUser.isEmpty ()) {}

    session.setAttribute (CLIENT_USER_URI_PARAM_NAME, _clientUser);

    filterChain.doFilter (servletRequest, servletResponse);

    return;

    }

    [...]

    There are some practical information for which task flow should be addressed within the URI,

    faces/ADF. Task-Flow? ADF.tfId = Task-Flow-Definition-ID & adf.tfDoc=/WEB-INF/task-flow-definition-id.xml

    After I continue the application there is a method call within the bounded workflow that is called before the display (allows to call the current view), making it default business

    [...]

    activity < default > doStuff < / default activity >

    [...]

    The method itself is in a Managed Bean PageFlowScoped, which is added to the task-flow-definition - id.xml

    This is the method that is called before the "MainPage"-view of doStuff ".

    public class {controller

    [...]

    public void doStuff {}

    FacesContext ctx = FacesContext.getCurrentInstance ();

    Card sessionMap = ctx.getExternalContext () .getSessionMap ();

    String clientUser = (String) sessionMap.get (CLIENT_USER_URI_PARAM_NAME);

    AppModImpl am = getApplicationModule();

    DBTransaction transaction = am.getDBTransaction ();

    do more things

    }

    [...]

    }

    public AppModImpl getApplicationModule() {}

    FacesContext fc = FacesContext.getCurrentInstance ();

    Application app = fc.getApplication ();

    ExpressionFactory elFactory = app.getExpressionFactory ();

    ELContext elContext = fc.getELContext ();

    {ValueExpression valueExp = elFactory.createValueExpression (elContext, "#{data.", Object.class "}") AppModDataControl.dataProvider};

    AppModImpl m = valueExp.getValue (elContext) (AppModImpl);

    am back;

    }

    Everything works well so far. But if I try to get the Module of the Application. There is not.

    This app normally isn't any what DataControl, because is just a root application which different components of blocks that have been added by ADFLibrarys, but I added a DataControl to the DataBindings.cpx and an iterator for the MainPagePageDef (just to understand a DataControl in links) but still no result.

    Do you have any tips for me how I can access the application Module? FacesServlet should have been already created the necessary FacesContext managed Bean is called at the moment or it only creates a new FacesContext time a real (jspx/jsf) Page loads?

    Yours,

    Matthias Schnell

    I got a response:

    Here is the block message that has helped me to understand.

    Andrejus Baranovskis Blog: How to fix error of initialization of the control Data with the ADF libraries

  • ADF Code Corder 42: by using a &lt; af:poll &gt; with an Application Module

    Hi all

    With the help of JDev 11.1.2.3.0.

    I worked to solve this puzzle for a while.  I'm trying to implement a simplified version of the ADF Code corner #42 (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/42-progressbarcolor-169184.pdf)

    The thing is that my 'business ' service is running in my module of the application.  In short, I take 10,000 rows to view object and run through a few different algorithms.  It would be nice to give a report during this operation.  However, as soon as I start my method of request module, my component < af:poll > end, refusing to update the current page.

    I watched a lot of sites tutorials to try to solve this problem.  I try to stay within the limits of the ADF Essentials which means no ADVERTISING, only of the poll.  Here are some of the best references:

    GEBS | Oracle Fusion Middleware 11g ADF progress indicator

    Refresh the page periodically by using survey components |

    Their service 'business' in the managed bean and the other simply re - runs a page runs a view object.  I can't find a site that will their own business service and surveys it.  Here's what I have:

    Application module

        private long uploadStatus;
    
    
        public void doUpload() {
            long max = this.getMaximum();
            for(this.uploadStatus = 0; this.uploadStatus <= max ; this.uploadStatus += 500){
                System.out.println("@ " + this.uploadStatus);
                try {
                    TimeUnit.SECONDS.sleep(1);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
            System.out.println("Upload Complete");
        }
    
        public long getStatus(){
            return this.uploadStatus;
        }
    
        public long getMaximum(){
            return 10000;
        }
    

    Backing Bean

    public class ProgressBarModel extends BoundedRangeModel {
    
        private long max;
        private long status;
    
        Thread newProgress = null;
    
        public ProgressBarModel() {
            this.getMaximum();
            this.getValue();
        }
    
        @Override
        public long getMaximum() {
            // Not best practice. Should get through page def method operation
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
            this.max = am.getMaximum();
            return this.max;
        }
    
        @Override
        public long getValue() {
            System.out.println("polling ...");
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
            this.status = am.getStatus();
            return this.status;
        }
    
        public void doUpload(ActionEvent actionEvent) {
            if (newProgress != null) {
                newProgress.interrupt();
            }
    
            ProgressUpdater progressSimulator = new ProgressUpdater();
            newProgress = new Thread(progressSimulator);
            newProgress.run();
    
        }
    
        public void stopUpload() {
            newProgress.interrupt();
            newProgress = null;
        }
    
        class ProgressUpdater implements Runnable {
            public void run() {
                AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
                am.doUpload();
            }
        }
    
        public long getPercentageUploaded() {
            long state = this.status * 10 / 10000;
            if(state >= 100){
                this.stopUpload();
            }
            return this.status * 100 / 10000;
        }
    }
    

    JSPX

    <af:panelFormLayout id="pfl1">
                                    <af:poll id="pollid" interval="1000"/>
                                    <af:outputFormatted value="#{MyProgressRangeModel.percentageUploaded}% completed"
                                                        id="of1" partialTriggers="pollid"/>
                                    <af:commandToolbarButton actionListener="#{MyProgressRangeModel.doUpload}" text="Run"
                                                            id="ctb1"/>
    </af:panelFormLayout>
    

    Give me the result

    polling ...
    polling ...
    polling ...
    @ 0
    @ 500
    @ 1000
    @ 1500
    @ 2000
    @ 2500
    @ 3000
    .... // up to 10000
    Upload Complete
    polling ...
    polling ...
    

    How can I get the survey allows you to control when the method of the module of an application is running?  Use more than one module app, for inclusion in the database and the other for monitoring?

    Thank you

    Will be

    I went with that instead

    How I finally reached updates to asynchronous UI with WebSockets and JMS

  • Cannot find the Application Module

    Hello experts!

    I extended a controller to validate a user input (controller: oracle.apps.ar.cusstd.contact.webui.ArAcctContactCreateCO).
    I clicked on the about Page and in the PageDefinition the pageLayout controller = ArAcctContactCreateCO and ArContactsAM = application module.
    When I scroll I find attribute I'm posting called PersonLastName. This attribute is under
    controller: HzPuiQuickCreatePersonSpecialCO
    AM: HzPuiQuickCreatePersonAM
    VO: HzPuiPerQuickCreateProfileVO
    Display attribute: PersonLastName


    It's my extended controller:

    package xxx.oracle.apps.ar.cusstd.contact.webui;
    Import oracle.apps.fnd.framework.webui.OAPageContext;
    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    Import oracle.apps.ar.cusstd.contact.webui.ArAcctContactCreateCO;
    Import oracle.apps.fnd.framework.OAApplicationModule;
    Import oracle.apps.fnd.framework.OAException;
    Import oracle.apps.fnd.framework.OAViewObject;
    Import oracle.jbo.Row;


    SerializableAttribute public class XXF5ArAcctContactCreateCO extends ArAcctContactCreateCO
    {
    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
    {System.out.println ("Running LOW");
    OAApplicationModule oaapplicationmodule = (oawebbean) oapagecontext.getApplicationModule;
    System.out.println ("AM:" + oaapplicationmodule);
    OAApplicationModule PersonAM = (OAApplicationModule) oaapplicationmodule.findApplicationModule ("HzPuiQuickCreatePersonAM");
    System.out.println ("PersonAM:" + PersonAM);
    }
    }

    For some reason, the computer cannot find HzPuiQuickCreatePersonAM application module. I get the following results:
    PFR running
    AM: oracle.apps.ar.cusstd.contact.server.ArContactsAMImpl@5b04ae
    PersonAM: null


    I also replaced OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule (oawebbean) with OAApplicationModule oaapplicationmodule = (OAApplicationModule) oapagecontext.getRootApplicationModule () and I got the same results.

    Does anyone know why it does not find HzPuiQuickCreatePersonAM application module? Any help is appreciated.

    Hello

    as HzPuiQuickCreatePersonAM is under HzPuiCompositionAM

    (-a) HzPuiCompositionAM
    -I) HzPuiQuickCreatePersonAM

    If you start with
    OAApplicationModule apprAM = (OAApplicationModule) rootAM.findApplicationModule ("HzPuiCompositionAM");

    Kali has provided a code too much for AMs nested.

    Thank you
    Pratap

  • How to send the value of the variable to the application module to servlet?

    HII...
    How can you send a value to the application module to the servlet or jsp page when we call the function from the application module...
    as the return type of function module of the application must be zero when it to add in the client interface...

    Your Java Bean must be serializable. A quote from what is displayed when you click on 'Help' in the ' Add method on the client interface screen:

    A list of the generated methods available for export (only the public methods with parameters and return types that are primitive or implement that the Serializable interface will appear in the list).

    John

  • Custom hardware and the module of ARM

    Hello world

    Our company is in the early stages of designing a custom measuring device. In the past we used Microchip microcontrollers (PIC16 and 18), a simple IDE and a C compiler, but for the new generation of devices we will use microcontrollers from Luminary Micro ARM. Since we are also users of LabVIEW, the choice for the LabVIEW embedded module for ARM seems logical. I read a lot of documentation OR and watched the tutorials, but I'm still uncertain on what we may or may not do with the module. Until we buy eval kits and the module, I need to have some facts.

    1. The 'heart' of our circuit is a microcontroller LM3S1968, this MCU is ARM Cortex-M3 based. It is listed in Keil device database (http://www.keil.com/dd/), then is also a LabVIEW "Tier 1" - peripheral (http://zone.ni.com/devzone/cda/tut/p/id/7066)? ".
    2. What I have to add the MCU manually to the project as described in http://zone.ni.com/devzone/cda/tut/p/id/7152, or can I just it select from a menu?
    3. We already have a LM3S1968 evaluation kit (http://www.luminarymicro.com/products/lm3s1968_evaluation_kits.html) and a programming JTAG device. We can use these hardware components to evaluate the LabVIEW ARM module or should I buy a complete kit of NOR (including the dev board)?
    4. Is a JTAG connector on our device and a connection for a JTAG debugger, all I need for debugging the device with LabVIEW?
    5. Assessment OR (http://sine.ni.com/nips/cds/view/p/lang/en/nid/205040) kit includes JTAG Keil ULink2 adapter on the photo?
    6. We want to connect the MCU to a converter A/D, the AD7738 of Analog Devices (http://www.analog.com/en/analog-to-digital-converters/ad-converters/ad7738/products/product.html). We will use the SPI bus for communication and I know what codes to send to get a basic reading. What I need to use the SPI-Subvi and send the hex codes or can I use a Subvi 'AD7738' built-in device drivers CD?

    I apologize in advance for the number of questions, it's just that the use of LabVIEW for the development of material is completely new to me

    Thanks in advance for your help.

    Paul

    Hello Paul!

    I'll try to answer your questions and I hope someone else can add more information if necessary.

    1. The 'heart' of our circuit is a microcontroller LM3S1968, this MCU is ARM Cortex-M3 based. It is listed in Keil device database (http://www.keil.com/dd/), then is also a LabVIEW "Tier 1" - peripheral (http://zone.ni.com/devzone/cda/tut/p/id/7066)? ".

    Answer: no, that would be a level 2 device, we now offer three level 1 devices and information on these can be found on the link you condition.

    1. What I have to add the MCU manually to the project as described in http://zone.ni.com/devzone/cda/tut/p/id/7152, or can I just it select from a menu?

    Answer: you need to add yourself as described in the link you provided.

    1. We already have a LM3S1968 evaluation kit (http://www.luminarymicro.com/products/lm3s1968_evaluation_kits.html) and a programming JTAG device. We can use these hardware components to evaluate the LabVIEW ARM module or should I buy a complete kit of NOR (including the dev board)?

    Answer: is trickier, LV Module Embedded for ARM in trial mode will have some limitations (size applications, can open the development environment for a number of days and so on), but it should not have limits when it comes to other targets as described in the links that you have already provided. When it comes to the JTAG interface, I would recommend using the Keil ULINK2 USB-JTAG.

    1. Is a JTAG connector on our device and a connection for a JTAG debugger, all I need for debugging the device with LabVIEW?

    Answer: I would like to make use of the Keil ULINK2 USB-JTAG Adapter for debugging and allows us to download the code on the target. In fact, it's the only way we can download code on the ARM, but we can use a serial port / TCP in addition to JTAG debugging.

    1. Assessment OR (http://sine.ni.com/nips/cds/view/p/lang/en/nid/205040) kit includes JTAG Keil ULink2 adapter on the photo?

    Answer: Yes.

    1. We want to connect the MCU to a converter A/D, the AD7738 of Analog Devices (http://www.analog.com/en/analog-to-digital-converters/ad-converters/ad7738/products/product.html). We will use the SPI bus for communication and I know what codes to send to get a basic reading. What I need to use the SPI-Subvi and send the hex codes or can I use a Subvi 'AD7738' built-in device drivers CD?

    Answer: I/O could be implemented using the basic IO layer provide us as described here:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7119

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7144

    I hope this helps!

  • PoCL FlexRIO 7962R and 1483 module

    Hi people!

    I use a platform SMU make some video acquisition/processing. I use a 7962R with a module of 1483 FlexRIO (and therefore a connection Camera Link between the 1483 and the camera).

    With the help of examples of LabVIEW, I managed to develop a project to acquire videos and save them on the hard drive of the control. In this application, the device is powered by its own cable, separated from the Camera Link cable to connect the camera and the module of 1483.

    Now, I would like to use the CL cable to power the camera and get rid of the other cable. CL cable I use is compatible with Power over Camera Link. But I can't find any information on the weather the FlexRIO 7962R and 1483 module allow to use PoCL or not. Does anyone have information on the PoCL? You have an idea on how I can do with the platform that I have?

    I had a look on the specifications of a capture card that I use on another computer. It seems that PoCL is provided via pins 1 and 26 of the CL connector. Does anyone know if the pins 1 and 26 are connected to the electronic circuit of the 1483 module? Is it possible to configure the FPGA so that power can be delivered through these pins?

    Thanks in advance for your answers.

    Nice day.

    Luke

    1483 can't PoCL. A re DGND-pin 1 and 26.

  • Application module tries to access the secure API

    Hi all.

    We are new to Blackberry Java development and have some problems with it.

    We use the same BlackBerry Bold 9000 and OS worm Simulator. 5.0 in Eclipse JDE.

    The JDE version is 5.0.0

    We signed HelloWorldDemo with tool of power, provided by BB. It worked fine on the Simulator AND the device.

    Then we signed our own application, based on PictureScrollFieldDemo.

    The thing is, on the simulator of OUR application works fine, but when we try to run on the device, it failed with an error that says something like this: "Application module tries to access the secure API."

    After that many times we tried to remove the code all potentially dangerous and recompile the application. After that it stopped working at all (when you click on the application menu, ABSOLUTELY nothing happens).

    Then, we decided to try to launch PictureScrollFieldDemo, the sample provided by BlackBerry. Also, it did not work

    Finally, the HelloWorldDemo has stopped working or the other...

    During all this madness, we rebooted the unit several times.

    Please help, appreciate any advice.

    Thanks in advance, geezmo.

    You should have received 3 keys, RBB, CPR and RRT. You imported all 3 when you have been setting up the signature tool?

  • The best way to find the name of the installed application module?

    If you don't know the name of an application module, how can you find it?

    For example, if I have the name of jad file from another application, can I assume that the name of the application module is basename of the jad?  As in, a name of jad MyApp.jad would result in a module name to 'MyApp '?

    That was my assumption in a first time, and it of that he seems to be the case, most of the time, but not all.  In particular, if the jad's name:

    MyApp - 1.0.0.jad

    I found that the name of the actual module on a "BOLD" v4.6.167 running (and the 4.6.0 JDE the bold Simulator) is

    MyApp$ 2 d 1

    However, * on an another "BOLD" * (this a v4.6.0.162 running), the exact same application indicates a module name of

    $ 2 d $1 2e0 MyApp$ 2e0

    That's why I wonder if there is way to get more definitive an application module.  I scoured the API documentation and the solution isn't jumping home.

    Thoughts?

    Thanks for any help.

    Ah.  I can also see if I need to 'escape' my module names.  If this isn't the case, then I can watch an exact match in the list of module names.  If I have, it seems that I still need to look for something, "close enough" and hope for the best.

  • Update of persistent storage and application

    Hi all

    is there a way to keep the persistent storage when I update the application on the device/Simulator? At the present time, I have to remove my storage before persistent that I have send a *.cod on the device/Simulator update, otherwise I get the javaloader message that the module is still in use.

    Kind regards

    Carsten

    Yes, and it works. I guess the behavior of everything that I experience is according to the design, in fact, that it makes sense, I have to admit.

    Conclusion:

    Without a persistent store, you can load and delete modules as you want without reinitialization.

    With a store persistent activity the reference must be resolved in a controlled manner, allowing RIM only via a reset after downloading the updated application. Delivery to zero then correctly replaced the old app of the new application and allows access to the preserved persistent store.

    I hope that my conclusions are correct. However, it is inconvenient because the sim card reset takes quite a long time...

    Thanks for your time, LWG!

    Kind regards

    Carsten

Maybe you are looking for