How to use FTP Client and manage the table in BB with JDE

I'm a newbie to BB development. I have an application in mind, it is a simple ordering application. BB users can send order information to an ftp server. The BB will have some paintings as a customer table and the Order Details table (the two have only a few records). Since cannot use the Services of SDM BlackBerry because the license fees. I'll use JDE to develop the application.  Here are my questions:

1. What is the best way to manage the tables (read/write)?  RMS, or embedded database (which one?)
2. is there any ftp client in JDE, api can be used to send data to an ftp server?

Thanks for help.
PJ

The exact figures for RMS sizes are available in this article:

What is - size restrictions when you use the RecordStore
Article number: DB-00656
http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800724/What_Is...

So that your information is correct, in 4.6 or later, the per application limit went up to 512 KB.  I don't know if there is a limit on a single record in a record store. We must be careful of the terminology here, it's RecordStore or RMS - is not in BlackBerry terms anyway, PersistentStore (see next).

The BlackBerry offers two other ways to store data.

The first and most commonly used are called PersistentStore, and it is an a storage mechanism for objects, I am not aware of any restrictions, other than the memory of the device, about the size of an object that can be stored in PersistentStore.  The advantage with PersistentStore, is that you just persist an object helps you, rather than having to convert it to bytes (serialize) before storing and converting new (him deserialize) after reading it back.

The second way is to write data using the FileConnection API, and you can for example use this to write data to the SD card in the device.

EFF and PersistentStore use the flash memory in the device.  You don't have to manage yourself.  You treat all that identical objects, the BlackBerry operating system very cleverly manages to bring your items in RAM and save them in Flash, so you don't have to worry about the type of storage you have.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • Satellite A210 - 16G (PSAELE) - how to use 4 GB and update the BIOS?

    Hello! I hope someone can answer a few questions for me.

    First of all is: How can I turn on my laptop to use all the 4 GB of RAM? OS is Win Vista Ultimate 32-bit with Service Pack 2. Now Vista all show the 4 GB of RAM, but don't use it. I activated the EAP in Vista, but still nothing. As I saw, I need to turn it on too memory remapping in BIOS but there is no option (my BIOS is ver.1.70).

    The second question relates to the BIOS. Because my version is 1.70 and there are more recent version 2.00; I get benefits if I update to BIOS? Someone has updated to version 2.00? And there are more options in the BIOS after update to version 2.00 (for example the memory remapping or a similar option)?
    I'm a little afraid to update BIOS, because sometimes my Toshiba freezes, and I would not hang during the update of the BIOS.

    And the final question is there any changelog to the BIOS? So I can see what is added and changed, and what's new in the new version of the BIOS. Because I could not find anywhere.

    Thanks for the responses to come.

    Hello!

    (1) you can use the entire 4 GB of RAM on a 32 bit OS. It is a due limitation of 32-bit technology. Windows Vista with Service Pack 2 may recognize the full 4 GB of RAM but not use it, more than 3.2 g.
    Here you can find more information about this limitation:
    http://APS2.toshiba-tro.de/KB0/TSB82022E0000R01.htm

    (2) about BIOS updated I can tell only must be made only if you have problems with the laptop. A BIOS update should never be done just for fun, because it of still a little risky. In the worst case, you can destroy the ROM module or complete motherboard.
    Update the BIOS doesn't normally contain new features or options. It s bug just setting. In addition it can t solve the problem with 4 GB of RAM and Vista 32 bit if you think that ;)
    If your laptop does not have 100% stable you shouldn't t update because it s too risky. Before the update, you should try to solve the problem of gel.

    (3) If a change log is available you can find it on the Toshiba site. If you can t find, there isn t available.
    That s all about this.

    I hope I could help a bit.

    Good bye

  • How to use FOLLOW-UP and COMPRESS the clause of the CREATE statement TABLE?

    my oracle's 10g and the statement of create table below:

    CREATE TABLE S005.q100

    (

    Q1 tank (1)

    )

    NOMONITORING;

    After you create this table, I ask USER_TABLES, but the value of the follow-up column is YES.

    I think there should be no how is? and also I have the same problem with the COMPRESS.

    Thank you very much


    Hello

    Heap - organized tables are your usual routine tables. It is created using the BUNCH of the ORGANIZATION of the CREATE TABLE statement clause. This is the default value.

    The other variant of this clause is ORGANIZATION INDEX, which means that you will create an organized Index of Table. In other words, it is a table that is stored in a B-tree, like an index.

    You also have an EXTERNAL BODY, which means that you will create an external table. Here is generally flat files outside of the database that you can order the database to see tabular to use SQL (read only) against. You will also need the settings on how the data are presented on the file, so that your database knows which column will match that of the data.

    The COMPRESS on 10G is known as the "basic compression" and it works on ordinary table segment blocks, which are organized by a bunch of tables.

  • How to use a directory and change the sizes of jpg

    Maybe I'm in the weeds here, but I'm looking to use an action to walk all files in a directory and for all jpg files to reduce the size of the longest side at certain age % and then save the file in a nother directory.  So I need to be able to:

    for all the files in the named directory {}

    look at the file type

    If {.jpg

    Look at the size of the image

    apply % next longest retractable age

    Save the file

    }

    }

    Simple stuff, but I don't know if stock allows me to do the walkor playback of the type or the criterion of size, etc.

    So if possible, can someone tell me the orders for action I need - or - another way to do this.

    Thank you

    Take a look at this video tutorial on a custom by Benjamin Root action. If you don't care no watermark, you can omit that.

    It includes the reduction of the images in a certain size, both landscape and portrait, adding web profile sRGB and save in jpeg format.

    Automate the tattoo Images in Photoshop CC - YouTube

  • Is my client using the web browser editor can change the position of text and images, the site was built with muse

    Is my client using the web browser editor can change the position of text and images, the site was built with muse and at first, tell him that he could change the text and images, but he can't change the location of contents of Th.

    Now he wants to paste and copy directly from the web browser Publisher Word and wants to change all of the place itself.

    Does someone have an answer or another solution?

    Philippe

    First of all, to answer your question about moving content. No, that is not supported.

    Then, never advised him to stick to Word what for the web. Word adds a lot of very strange code that can break your page completely. Tell him if he has a Word to add to the site to paste into Notepad or any other text editor, copy and paste to Muse.

  • I use Illustrator CC and sent a file to a colleague who uses CS6 where all the layers become a great layer.  How can I send it and preserve the layers?

    I use Illustrator CC and sent a file to a colleague who uses CS6 where all the layers become a great layer.  How can I send it and preserve the layers?

    coledang,

    Save a copy, and in the following options choose CS6.

    In this way, it should open correctly in CS6, and the original document is unscathed.

    You may find that some (new CC) features will not survive the downsaving.

    Edit: Hi SRiegel.

  • How to use FTP in window 8?

    I'm new on via FTP, and I was wondering how to use FTP in window 8? I've always used my cpanel, but I thought that I have that would give a try instead.

    Thanks in advance to anyone who might help

    I'm new on via FTP, and I was wondering how to use FTP in window 8? I've always used my cpanel, but I thought that I have that would give a try instead.

    Thanks in advance to anyone who might help

    I recommend to use this https://filezilla-project.org/download.php?type=client

    easy to use GUI for ftp in windows...
  • FTP connection refused with FTP client to open the port in the firewall ESX

    Hello.

    I just installed an esx 3.5 U4.    We have an FTP server where we all night to make a copy of all our VM.

    This ESX may not put the files in the FTP server... I open the FTP client port on the 'profile terms' - & gt; Firewall tab without problems and

    I can connect with the FTP server... but... I can't do a LS for example, can I change to a different folder, I try with passive mode works... but

    It does not work.

    FTP server works well because other ESX work with her, and I do my windows XP with the same user/pass login and it works...

    Any idea?

    Thank you very much

    # ftp 192.168.18.15

    Connected to 192.168.18.15 (192.168.18.15).

    Welcome to 220 xxxxxxxx

    Name (192.168.18.15:morado): vmbk

    331 please specify the password.

    Password:

    230 login successful.

    Remote system type is UNIX.

    Using the binary mode to transfer files.

    FTP & gt; Backup CD

    250 changed Directory successfully.

    FTP & gt; LS

    227 entry Passive Mode (192,168,18,15,72,91)

    FTP: connect: connection refused

    FTP & gt;

    Looks like the second TCP connection for file transfer (which is also used in the list of directories) from the client FTP on the server fell. Have you tried completely disabling the firewall with esxcfg-firewall - allowOutgoing (can try esxcfg-firewall - allowIncoming, although it should not be necessary in the passive FTP mode)? This command sets the iptables chains of ENTRY and EXIT to accept instead of the fall.

    I tried esxcfg-firewall - e ftpClient and it worked fine for me.

    You could also post your esxcfg-firewall OUTPUT string parameters - q.

  • How to use bidirectional I/O in the CLIP of LabVIEW FPGA?

    How to use or define two-way i/o for CLIP with LabVIEW FPGA? I want to use 1-wire communication inside the kernel CLIP, the function will be implemented to read and write as I/O inside the CLAMP.

    The XML Generator (CXG) 1.1.0 ELEMENT does not support.

    Thank you

    Supawat

    Work after separate IB pin (bidirectional) at the entrance and exit. Thank you.

  • How to use windows search to search the contents of a bunch of files with random names / extensions?

    How to use windows search to search the contents of a bunch of files with random names / extensions? Plain txt files say 1,000 with random name of file extensions?

    You can always search within those, but you need to add extensions to the file system so that it knows to look inside these files.  You said that you have a lot, so it's perhaps tedious.  Here's How to search within several types of files.

    One thing you could try is rather to make a copy of this file, rename all the files to the same extension (even an extension false for example something.bill) and perform your search on this band.  Just an idea.

  • How to create a document and insert the words and/or art on both sides of the page

    How to create a document and insert the words and/or art on both sides of the page

    How to create a document and insert the words and/or art on both sides of the page

    You create a document by using an application of word processor like Microsoft Word or Corel WordPerfect or OpenOffice Writer.  Think of it as a broad a page roll.

    When you print the document, you can print all pages of the document on one sheet of paper (the normal default value), or you can print on both sides of a sheet of paper.

    Some printers are capable of automatic double-sided printing.  With others, you print all the odd pages and then take the stack of paper, turn upside down and put it back into the printer to print all pages.  You need either to read your printer manual, or experiment a bit to determine if you need to re - organize the first last pages before printing the second side.

  • Hi all, someone could please describe how to use partition recovery and recovery disks

    Hello

    Could someone please describe how to use recovery partition and stage of recovery disks by

    step to restore the window to its factory settings 8, that I know what to expect until I take

    a dip. I have a HP laptop.  Thank you. English is my second language, so please be clear.

    Hello:

    Please read the info at the link below.

    http://support.HP.com/us-en/document/c03489643

    Paul

  • How to use this site and whre to find answer to my questtion?

    How to use this site and whre to find answer to my question?

    Well, you found how to ask a question, see the answers, simply click on your profile jake coll at the top right of any page name and look at my Questions.
     
     
  • How to use a form created on the Capture of a vector

    People, I'm having difficulties to find out how to use a form created on the Capture of a vector. For example, I open Illustrator on my desk and, although the form is saved in a creative library of clouds, I can't find how to open this archive as a vector. I tried everything from capture, but then I can just export the shape as a bitmap image. I'm really lost on this.

    Hello Cristina,

    In Illustrator, simply drag the shape of your library panel in an open document. That's all there is to it.

    Mike

  • How to use setViewportBounds (Bounds value) to the ScrollPane?

    How to use setViewportBounds (Bounds value) to the ScrollPane? This method is, visually, what for? I tried to put a specific Bounds.minY to have a precise scrolling in the axis Y in vain. I use the setVvalue() method to scroll, but it is not convenient to exactly locate a position in the coordinates of the node content listed in the scroll pane.

    The viewportBounds are the limits of the viewport (i.e., the visible part of the content) in the scrolling pane itself, if I understand correctly. The way to access programmatically is by setting the vValue property.

    I have not tried, but if you do something like

    scrollPane.setVmin(0);
    DoubleBinding vmax = new DoubleBinding() {
         { super.bind(scrollPane.viewportBounds(), content.heightProperty()); }
         @Override
         public double computeValue() {
            return content.getHeight() - scrollPane.getViewportBounds().getHeight() ;
         }
    };
    scrollPane.vmaxProperty().bind(vmax);
    

    to configure your component to scroll, then you can call setVvalue (...) and just pass a location of coordinates for your content node. This assumes that your content node is a region or a control; you will have to perhaps a little logic in the method computeValue() to deal with the cases where the display window is greater than the additional content.

Maybe you are looking for