"Send and forget" in Java application

Hello

I am interested in the development of Java applications in BlackBerry. I am very new in this area, just a couple of days downloading some JDE and some documents. I read in the document "BlackBerry_MDS_Studio_Fundamentals_413.pdf", page 11, 'Asynchronous programming model' section:

"Send-and-forget principle implies that the BlackBerry Application of MDS Studio once built and sends the message, the message
is no longer a matter of concern for the application. »

This feature applies to the Java application too? I read some JDE documents, so far, I have not found the answer.

Thanks in advance.

Network communications for duration of MDS Applications is managed by MDS Runtime.  The application does not require a developer to create any code to handle network traffic.  This means that the developer can simply choose the communication patterns of different network for their application based on the options they choose for their application.

On the side of Java, the code for network communication is created by the Java developer.  This means that you can implement your network communication by using the template of your choice.

Tags: BlackBerry Developers

Similar Questions

  • Requirements/process and how long is the lead-time before my java application for BlackBerry will be certified?

    Hello

    I would like to work on a java application to run on BlackBerry devices.

    Are there policies of certification that I must follow so that my application will be certified and downloaded in the store?

    I'm also curious to know how long certification process normally takes from submission to approval?

    Thanks for any help you can provide.

    Tanoe glance here, giving you the details of how to submit to AppWorld

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/1573156/What_Is_-_Pro...

    ----------------------------------------------------

    If I helped you press AS button

  • BlackBerry 8220 BB of Smartphones and Java applications

    Hello. How can I find out if BB 8220 supports Java applications written for VoIP and Skype? Any help will be greatly appreciated. Thank you.

    NoLimits wrote:

    Ok. So in this case it would be AppStore BB?

    I'm not sure I understand your question. AppWorld is simply a portal, applications developed by other ATMs... AppWorld is not a House of application development.

    NoLimits wrote:

    Or next to BB can I try to get a few apps for BB from different as you call the developers?

    There are several others that you can try (e.g., Handango, Handmark, BPlay, GetJAR and Mobihand). I found that there are very few applications that is exclusive to AppWorld. You can see the online catalogue and then look for other sources of supply, including quite often on the developer website.

    Good luck!

  • Deployment of Oracle Express and Java Application in a single installation

    Is it possible to deploy a Java application using Oracle express as the back-end in an installation? So in other words, rather than the installation of oracle express separately from the application, we seek to install from an executable file, including the java application and all the necessary components for oracle express to run.

    Your help is greatly appreciated.


    Thank you

    Mahmoud

    Hello

    You can install the database using a response file. Depending on the setup of your Java application, you can create a sort of meta-Installer creates a response file for the database and a response/parameter file for your application setup program and then run both in a single step.
    See the corresponding [url http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm#BABCCGCF] section of the Setup Guide for more information about the answer file.

    -Udo

  • Click directly on the pdf File and my Java application will run

    Hello everyone I have an app a java application which read pdf of the file and display
    the pdf of the dossier on a jPanel, but I look forward how it works because before I can open and read
    PDF file I have to click the intersted and open the jfilebrowser for my java application will open and read the pdf file.

    I want that I automatically click any pdf file on my computer with my java application is running and my app will run automatically and will be one who has read the PDF if I double click on any file pdf on my computer.

    any idea about this problem? PLSS help. I know this is possible because there is so much software that works like this.
    and I also know that this forum is the best and the center of all java developers.

    This is cross-posted from
    http://www.javaprogrammingforums.com/Java-theory-questions/8803-directly-click-PDF-file-my-Java-application-will-run.html
    and
    http://www.thenewboston.com/forum/viewtopic.php?f=119 & t = 10698

    I just want to get more information, because my problem is not resolved.

    Click on the PDF File, and my Java application will run

    Java Web Start can implement the file associations for an application. See the file service. demo for more details.

  • What I have to do, I can send and save my pictures?  Do I need an application specific jpeg?

    What do I need send and save my photos in contact photo adobe?  Do I need an application specific jpeg?

    You need a specific application. As soon you have saved your document (-up arrow to the left) you can find the share options - see my attached screenshot

  • How to load a text file to a Web page and processes using a Java application?

    My apologies if the question is off topic.

    I want a user to load a text file to a Web page and have a pre-existing Java application, I created the process text file and return the results to the user. The Java application is fairly intensive memory. It is expected that many customers will download at the same time. What is the easiest or most effective method to achieve?

    Thank you

    user11105060 wrote:
    What is the easiest or most effective method to achieve?

    A servlet and a few gigabytes of memory added to the server (if necessary).

  • I installed java and active. But some shoeing that java applications are not installed and enabled.

    I use ubuntu 12.04. I installed java inside. In firefox also I activated it. But some allplicatios like keepvid showing that java is not installed or not enabled. Done all the priliminary troubulshootings as verification of restart and everything

    Hello

    Try checking your version of plugins:

    I don't see Java installed on your computer also.
    Where's the installer?

    Also:
    Try going to Subject: config search plugin.state.java and change its truevalue, too, go to Tools > > Addons > > Plugins and look for Java and change his option still active or have active

  • asynchronous call of dialog pop up and forget

    Hello

    I don't really have experience with VI dynamic calls, so I would like to ask for help.

    Here is a (screenshot only) part of my MAIN VI, where the word is a VI contextual dialog box using the method "dynamic call and forget ':

    I convey only a single reference in this VI, the ref of the popup button, so when the user closed the window pop up, I re - activate this button on the MAIN façade. This dialog pop up as a graphical monitor function, it can update its chart using an ActionEngine which is a buffer. So please ignore the missing type defs and the ActionEngines, they are not relevant in this case. Find this contextual attached dialog box.

    In fact, my application just works, I just started having a few problems since when I included the 'MGI save and Restore Settings.vi' in this dialog box pop up, in order to save the graphic settings in a config file (the application which will serve as an exe built). When I close the pop-up VI, I see that the graphic settings are properly saved in the file *.ini under the Documents"" folder. However, when this file already exists, and I call this pop up VI, I get the following error (so when the VI MGI is triggered with the "Restore" action at the beginning of my VI dialog box):

    I have three questions:

    1. What I do is it OK? I mean to bring up this dialog box, is it OK to use "call and forget" method?

    2. When the user closes the popup VI Panel, it remains in the memory? I have a memory leak, or it closes correctly? (I think not...)

    3. I do not understand the error produced by the MGI Toolkit VI, it has something to do with the method of dynamic call? I even feed it with the static pop up VI VI reference itself. Before I tried the "VI this" constant reference, but getting same error.

    Edit1: hmm, maybe the MGI Toolbox is not compatible with graphics with several y axis? I'll test it...

    Just FYI, I've mailed the people GIG, and they found the problem very fast

    Here is their response:

    "I watched the first cause of what you see and discovered a bug in LabVIEW that I will be a report." Apparently LabVIEW gives us a 65536 xscale cursor property, but it is an illegal value. We get the error when we make this value. I have attached the VI I'll send in NC to describe the error.

  • Registration of a client device in a java application with BES/MDS

    Hi all

    I put this thread here that my application is a java application, but it could have also listed under the section development push as well.

    I have a part of my application that needs to connect to the BES to a certain company to receive push messages. The app works fine establishment of a listener and receiving thrusts by the MDS Simulator, and I also added more code to register the device with the BIS (BPA) from BIS example of Simon Hain.

    Initially I thought that the he had to register with the BES, just like how register us with the BIS except change some settings, as do not add an app ID etc. I have created a basic application of the Z10 push and remember that coding is the same for the BIS and BES except that the application ID and address BIS have been left blank. But now, after some research, I think with Blackberry 6/7, to onboard with a BES connection (unless a middleware program requires us to send some data onboarding) to receive a Push message, we just open a connector to the port number using the deviceside = false setting and wait for help to arrive.

    I looked on the net and forums to directly answer this question but can't seem to find one, that's why I'm asking here confirm.

    Quite simply, taking example of Simon for base, if I plug a client device to a BES (where the server application didn't need any onboarding of the device, its function is to, just send a message to the JSON style to the MDS with the device PIN to the device) would need to register the client with BES/MDS device, as Simon does with its function of registerWithBpas() to register with BIS/BPA , or could I just go directly to opening a connection to a port with the parameter; deviceside = attached false and wait for a Push message to arrive.

    Of course the devic has already been saved in the BES with its ID, e-mail address of the person using this device, etc.

    Simon if you get a chance to personally respond to it, that would be great!

    Thank you all for your time and your help.

    Rob

    Do not enter the unit, simply push the spindle for the MDS and push message will appear on the device.  As you rightly point out, the device is already on the BES and must use the MDS to access the internet in any case.

  • Pushing data from a Java application * confused *.

    Hello community,

    I'm new to the BlackBerry Push. I tried to understand what options are available to provide data to a Java application and how it can be tested.

    There are so many documents on this subject, for example:

    1. Push for the BlackBerry Enterprise Server software
    2. BlackBerry Push service
    3. Push blackBerry SDK service

    What I discovered thanks to these documents.

    1. There are two formats that can be used to send data through the BES (PAP push / push RIM)
    2. BlackBerry Push service has two levels (BB push Essentials / BB push more - limited to 8 KB content)
    3. In the Push Service SDK, there are two modes available (public and business mode)

    For me, these information are really confusing.

    What I don't understand:

    I. can the software of the BlackBerry Push Service SDK be used for both options 1. & 2. mentioned above? (referring to public and business mode)

    II. is there documentation how to push Service SDK can be configured for the mode of the company?

    III. when you use BES Push is also limited to 8 KB content size?

    IV. is it possible to only a single client application that can be used to BES and BIS push?

    Thanks in advance.

    I. the SDK can be used to push either a BIS or BES. The SDK has a setting to determine if its pressure through the (public) BIS or BES (company). The SDK can be used to push push Essentials or Plush Push. The SDK software uses the API of PAP.

    II. I'm not sure of the documentation, but I don't know that the SDK can ask a BES for sure. But in the end, you need to set the PushSDK.properties flag to push public were false.

    III. no the BES is not a limitation of 8 k.

    IV. I'm not an expert on client applications, but I think you need to develop a version for BIS and a version for BES.

  • Bluetooth connectivity - although get all paired devices, but not able to send and receive any file.

    I always found the problem when connecting Bluetooth devices. Although that devices paired but not able to send and receive any file.

    Please guide.

    Hello

    Don't forget to check with your system/motherboard manufacturer Support as long as that
    the real peripheral manufacturer. Updated the BIOS and drivers from the chipset (both can affect the)
    BT) and BT drivers to their online resources.

    Read these:

    Why isn't Windows find my Bluetooth or other wireless devices
    http://Windows.Microsoft.com/en-AU/Windows-8/why-isn ' t-windows-conclusion-device
    Device advice
    http://www.Bluetooth.com/pages/device-advice.aspx

    Microsoft - hardware and drivers
    http://Windows.Microsoft.com/en-us/Windows/hardware-drivers-help#hardware-drivers-help=Windows-8

    Why Windows is not find my device?
    http://Windows.Microsoft.com/en-us/Windows-8/why-isn ' t-windows-conclusion-device

    What happens if a device is not installed correctly
    http://Windows.Microsoft.com/en-us/Windows-8/what-device-isn ' t-installed-correctly

    BluetoothView is a small utility that runs in the background and monitor the activity of
    Bluetooth devices around you. For each detected Bluetooth device, it displays the following
    information: device name, address, Major Device Type Bluetooth Type device minor, first
    Detection time, last detection time and more. BluetoothView can also inform you when a
    new Bluetooth device is detected, by displaying a balloon in your bar tasks or playing a
    a quiet sound signal. -FREE
    http://www.NirSoft.NET/utils/bluetooth_viewer.html

    BluetoothCL is a small console application that transforms all current detected bluetooth devices
    to the standard output. For each Bluetooth device, the following information is displayed:
    Address MAC, Minor Device Type, Device Type Major and possibly society
    name of the device (if the external file of MAC addresses - oui.txt is provided) - FREE
    http://www.NirSoft.NET/utils/bluetoothcl.html

    BluetoothLogView is a small utility that monitors the activity of Bluetooth devices
    you and displays a log of the devices in the main window. Whenever a new
    Peripheral Bluetooth comes in your area and when the appliance leaves your area, a new line of log
    is added the following information: device name, device address, time of the event, event
    Type ("Device arrival" or "Equipment Left"), Type of aircraft and the company that created the device.
    BluetoothLogView also allows you to specify a description for each device (according to her)
    MAC address) that appears in the column "Description". -FREE
    http://www.NirSoft.NET/utils/bluetooth_log_view.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Listen for main events outside the java application

    I'm automating a procedure with the class Robot, sending mouse clicks and keys all around the BONE. I wish I could stop this procedure with a combination of keys, but the active window may not something to do with java at that time.

    Is there a way for my java application to listen a touch in this way?

    sabre150 wrote:

    Smigh wrote:
    Is there a way for my java application to listen a touch in this way?

    I would be very uncomfortable if it were possible without some big restrictions because it would allow a rogue program record passwords entered in other programs.

    Although keyloggers are available on any platform.

    The reason why you will not do using Java is because it is cross-platform and isolates your applications from the OS, rather than provide a pleasant environment and comfortable sandbox; to system events is exactly the opposite of isolation. Use a native language of the OS to be able to have the opportunity to do such things (and even then it will probably not possible without jumping through hoops first).

  • Pass the string as params from a Java application to another

    I'm moving a String as a parameter to a Java Aplications of a second as a startup parameter

    for example I have applications that must call start another Java application (just contains only JOptionPane, simple JFrame or JDialog) before System.exit (0); I'm trying to send some descriptions to close the application to another.

    East of simulations of what these codes I tried this and in this form, the code works correctly and displays the string in the JTextArea...
    import java.io.IOException;
        import java.util.concurrent.*;
    
        public class TestScheduler {
    
            public static void main(String[] args) throws InterruptedException {
                ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(10);
                executor.setContinueExistingPeriodicTasksAfterShutdownPolicy(true);
                executor.setExecuteExistingDelayedTasksAfterShutdownPolicy(true);
                for (int i = 0; i < 10; i++) {
                    final int j = i;
                    System.out.println("assign : " + i);
                    ScheduledFuture<?> future = executor.schedule(new Runnable() {
    
                        @Override
                        public void run() {
                            System.out.println("run : " + j);
                        }
                    }, 2, TimeUnit.SECONDS);
                }
                System.out.println("executor.shutdown() ....");
                executor.shutdown();
                executor.awaitTermination(10, TimeUnit.SECONDS);
                try {
                    Process p = Runtime.getRuntime().exec("cmd /c start java -jar C:\\Dialog.jar 'Passed info'");
                } catch (IOException ex) {
                    ex.printStackTrace();
                }
                System.out.println("System.exit(0) .....");
                System.exit(0);
            }
    
            private TestScheduler() {
            }
        }
    
    //
    import java.awt.*;
    import java.util.ArrayList;
    import javax.swing.*;
    
    public class Main {
    
        private static ArrayList<String> list = new ArrayList<String>();
    
        public Main() {
            JFrame frm = new JFrame();
            JTextArea text = new JTextArea();
            if (list.size() > 0) {
                for (int i = 0; i < list.size(); ++i) {
                    text.append(list.get(i));
                }
            }
            JScrollPane scroll = new JScrollPane(text,
                    ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
                    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
            frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frm.add(scroll, BorderLayout.CENTER);
            frm.setLocation(150, 100);
            frm.setSize(new Dimension(400, 300));
            frm.setVisible(true);
        }
    
        public static void main(String[] args) {
            if (args.length > 0) {
                for (String s : args) {
                    list.add(s);
                    System.out.print(s + " ");
                }
            }
            Main m = new Main();
        }
    } 
    My question:

    whether is there another way to pass a value to a Java application (it should be called System.exit (0);) to another Java application, another way I tried using process/ProcessBuilder

    My crospost http://stackoverflow.com/questions/6121990/pass-string-as-params-from-one-java-app-to-another

    Yes, there are other ways. Is this way do not meet your needs?

    1. There is another exec() signature that accepts an array where the first element is the command and the rest of the elements are its args. It may or may not be a varargs call. That looked something like this, but it might not work exactly as I.

    exec("cmd", "/c", "start", "java", "-jar", "C:\\Dialog.jar", "Passed info");
    // OR
    exec(new String[] {"cmd", "/c", "start", "java", "-jar", "C:\\Dialog.jar", "Passed info"});
    

    2. you can place the information in a file that the second process reads.

    3. you can store information in a database that the second dealing with applications.

    4. you can have a single process open a ServerSocket and either connect to it and send the data in this way.

    5. you can use a higher level like Active MQ, JMS messaging tool, etc.

    6. you can use the RMI.

    7. you can use CORBA.

    I don't know that there are other approaches as well.

    I have no idea to the approach that is best for your needs. It's something that you need to understand, if you do decide, if you view details about your needs here, someone can offer some advice.

  • Scroll too fast on java applications

    After update to sierra applications that use java in my case Intellij or even the java Control Panel, have increased the speed of scrolling. I use the trackpad so I don't know if the problem occurs with a mouse too. I tried to slow down to a minimum on the accessibility implementation, but it had no effect on java applications. It became really difficult to work. Is there a new setting that I should do or perhaps a work around?

    This is a bug in the JDK: https://bugs.openjdk.java.net/browse/JDK-8166591

    Explanation:

    It looks like the JDK question and is reproducible with a JList with simple scrolling. Sierra generates many more events than El captain. These events contain values ~0.1 planned instead ~ 1. But Java converts these small number 1 in any case.

    There is no solution except wait that Oracle will fix it.

Maybe you are looking for