Open source, object-oriented embedded database for J2ME

For J2ME-based devices that require embedded data management, there is now an open source, object-oriented embedded database for J2ME called Perst Lite.
Perst Lite can be downloaded as part of the Perst open source embedded database package, at
http://www.mcobject.com/downloads.php?step=2&catID=4
Cheers,
Ted

Spam blocked. As this user has only ever logged in here to post spam, the user account is blocked for a year.
db

Similar Messages

  • Enhydra  DODS - Open Source Object/Relational Mapping Tool from Enhydra

    Hi all,
    I just want to inform you that the final version 5.1 of DODS is released.
    Data Object Design Studio is an open source Object/Relational mapping tool.
    Based on XML data model descriptions (DOML files) SQL DDL, sophisticated Java O/R code and documentation (HTML, pdf, XMI) is generated automatically using a generator GUI, by Ant tasks or from within your IDE of choice (using Kelp).
    The generated Java code provides a lot of possibilities for runtime optimization (DO LRU caching, Query LRU caching, cache initialization, lazyloading,...).
    DODS can be used with or without the Enhydra application server.
    DODS Development Team
    Home page http://dods.enhydra.org
    Objectweb project http://forge.objectweb.org/projects/dods
    Download page http://forge.objectweb.org/project/showfiles.php?group_id=61

    Hi Davide,
    SAP doesn't have proprietary O/R tool but it supports JDO 1.0 standard and Entity Beans as part of J2EE 1.3.
    Regards,
    Avi

  • Any Embeded database for CLDC ?

    Hi to all
    Is there any standard embeded database for mobile phone application development. That embeded database can store in mobile itself. We can access this database using standard sql quires from MIDP. And also we cannot use HttpConnection and RMS Concept. We can write pure jdbc connection concept in CLDC application itself.
    1. Embeded MySql support for this concept? If it support please provide the link for download and sampels codes.
    2. Or suggess me can i use any other database for mobile without using a httpserver connection.
    Thanks in advance,
    Saravanan.K

    Hi,
    We are a startup mobile technology company. We have developed a complete relational database with SQL and JDBC support for J2ME platform. The CLDC 1.0 version is in beta testing and supports standard SQL including triggers. It is a small footprint database only 115 KB in size. It runs on any mobile which supports J2ME CLDC 1.0 / MIDP 1.0 or above. We also have a CLDC 1.1 database under development which will support support constraints like foreign key and check constraints. If you are interested in receiving a evaluation copy please email at [email protected]
    Thanks

  • Best tutorial using open source technology with jdeveloper 11g for beginner

    Best tutorial based on Jdeveloper 11g myfaces, Spring , hibernate and oracle xe or mysql using tomcat server.
    Is there any tutorial like followed link. Using jdeveloper 11g.
    http://www.javaguicodexample.com/javawebjpajsfmysqldatabase12.html
    also like netbean tutorial in jdeveloper 11g.
    http://netbeans.org/kb/67/web/jastrologer-intro.html
    http://netbeans.org/kb/67/web/jastrologer-validate.html
    http://netbeans.org/kb/67/web/jastrologer-jsfformtags.html
    Jdeveloper 11g always go with wizard. I personally like visual jsf desinger of jdeveloper.
    But other thing i want to code. To understand properly.
    I am following following tutorial in jdeveloper 11g
    http://wowjava.wordpress.com/2010/01/21/jsf-database-application/
    Edited by: prafull on May 26, 2010 5:37 PM

    There isn't an end to end tutorial with the stack you are looking at, but:L
    You can start with this tutorial that uses EclipseLink for JPA to build the model layer:
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ejb/ejb.html
    Here is a little example of how you can use Trinidad components (open source) in JDeveloper 11g for visual JSF development:
    http://blogs.oracle.com/shay/2009/02/using_trinidad_in_jdeveloper_1.html
    using MySQL would just mean adding the MySQL JDBC driver to JDeveloper, and to the integrated WebLogic - like this:
    http://jobinesh.blogspot.com/2009/06/adf-with-mysql.html

  • Embedded devices for J2ME implementation

    Where to start looking for an embedded device which will support J2ME with a CDC config and a Personal Profile?
    Background:
    I want to port a J2SE application to J2ME but i cant find an embedded device that has network capabilities, and at least 20 MB of RAM.

    do u mean download via a datacable, or wap?
    via datacable is much better for developers, however, most manufacturers in their infinite wisdom have stopped using datacables.

  • Object Oriented Blackjack game for class final...

    I'm trying to accomplish my final & this is what I have so far. The teacher has given permission to use outside resources, so I'm hoping you can help.
    This is what I have so far.....any suggestions?
    Thank you
    //Play one hand of Blackjack
    import java.util.Random;//program uses class Random
    public class Blackjack
         private String dealer;//Dealer who does not play
         private int player1;//Player one of three
         private int player2;//Player two of three
         private int player3;//Player three of three
         Random randomNumbers = new Random();//Random number genertor
              //enumeration with constants that represent game status
              private enum Status{ HIT, STAND, WIN, LOST }
              public void Blackjack( String Alice, int Emily, int Matt, int Mary )
                   //initializing variables in declaration
                   Alice = dealer;
                   Emily = player1;
                   Matt = player2;
                   Mary = player3;
                   int nextCard;
                   int totalHand;
                   Status gameStatus;
                   int sumOfCards = dealCard();
                   int Blackjack = 21;
                   int hit;
              public int dealCard()//deal cards, calculate sum and display results
                   //Player1 is dealt 2 cards
                   int card1 = 1 + randomNumbers.nextInt( 10 );
                   int card2 = 1 + randomNumbers.nextInt( 10 );
                   int sum = card1 + card2;
                   System.out.printf( "Emily is dealt %d, %d\nHer hand is: %d\n",
                   card1, card2, sum );
                   //Player2 is dealt 2 cards
                   card1 = 1 + randomNumbers.nextInt( 10 );
                   card2 = 1 + randomNumbers.nextInt( 10 );
                   sum = card1 + card2;
                   System.out.printf( "Matt is dealt %d, %d\nHis hand is: %d\n",
                   card1, card2, sum );
                   //Player3 is dealt 2 cards
                   card1 = 1 + randomNumbers.nextInt( 10 );
                   card2 = 1 + randomNumbers.nextInt( 10 );
                   sum = card1 + card2;
                   System.out.printf( "Mary is dealt %d, %d\nHer hand is: %d\n",
                   card1, card2, sum );
                   return totalHand;//return sum of hand
                   //Report game status and maintain sum of hand
                   switch ( sum of cards )
                        //Dealer asks player if he/she wants another card
                        System.out.println( "Do you want a hit?" );
                   if ( gameStatus == Status.HIT )
                        nextCard = 1 + randomNumbers.nextInt( 10 );
                        totalHand = nextCard + sum;
                        System.out.printf("Emily's next card is %d\nEmily's hand is: %d\n",      
                        nextCard, totalHand );
    }

    The following is not a constructor:
    public void Blackjack( String Alice, int Emily, int Matt, int Mary )
       //initializing variables in declaration
      Alice = dealer;
      Emily = player1;
      Matt = player2;
      Mary = player3;
    }Remove the word "void" to make it a constructor
    public Blackjack( String Alice, int Emily, int Matt, int Mary )And, your code doesn't make sense. When you make that into a constructor and run the constructor, you will do something like this:
    Blackjack game = new Blackjack("Alice", 1, 2, 3);But, when you run the constructor, dealer is 'null' [default value of String variable]; and player1, player2, and player3 are 0 [default value of int variable]. Your constructor essentially says:
    Alice = null;
    Emily = 0;
    Matt = 0;
    Mary = 0;It sets the parameters to new values, but only locally within the constructor. The instance variables don't get new values at all. You need to reverse the assignments:
    dealer = Alice;
    player1 = Emily;
    ...It doesn't make a lot of sense to name your parameters to the constructor with specific persons' names. Not sure what your int values for players are for, anyway. You should have a Player class, as someone else suggested. It should have a name that can be set by the person running your program. Your game could start by saying:
    What is the name of Player 1?
    What is the name of Player 2?
    What is the name of Player 3?Then use the names to generate messages in the program.

  • Java ME embedded database used in BlackBerry for mobile CRM

    Interested in business applications of Java ME mobile technology, or in embedded database systems available for Java ME?
    If so, take a look at the news posted on McObject's 'Perst Blog'. Maximizer, a British Columbia company, has adopted the Perst Lite open source, object-oriented database for Java ME to integrate with its customer relationship management (CRM) software on BlackBerry devices.
    What Maximizer gets from Perst Lite -- in addition to efficient data management and 'transparent persistence' for developers -- is support for the JSR 75
    specification, which enables database files to be saved to SD cards within the BlackBerry smartphones.
    The post is at at [http://www.jroller.com/perst/entry/perst_lite_chosen_to_improve]{size}{font}

    Spam blocked. As this user has only ever logged in here to post spam, the user account is blocked for a year.
    db

  • What should I be using for an embedded database?

    I'm still learning C# in the .NET environment and I'm currently working on a Windows desktop app. I've read that LocalDB can be used as an embedded database if I want to let other people buy any apps I make in the future. But I've also read that SQL Server
    Compact Edition is what I should be using and those sources say that LocalDB isn't suitable for an app that's made so that other people can buy it. Which is correct? Is SQL Server Compact Edition still being developed by Microsoft?
    I've got a laptop with 64 bit Windows. If I install a 64 bit version of the either of the above database software can I still make 32 bit database files for use as embedded databases for C# apps?
    I'm interested in learning to make Windows desktop apps as well as Windows Store apps and apps for Windows tablets.
    I've read about SQLite but I'm thinking either LocalDB or SQL Server Compact Edition would be more compatible with C# code. Am I right? I'm using Visual Studio Community 2013 on Windows 8.1.
    I've read about the SQL Server Compact/SQLite Toolbox by ErikEJ
    Thanks

    You cannot use SQL for a mobile application. 
    I would suggest using SQLLite and it is not very complicated to use with c#.
    If you select 32-bit version of the database, you will not have compatibility issues. It will work for both 32-bit and 64-bit systems. 
    Even if you select SQL Lite you cannot use it both from mobile and desktop devices. You will face serious issues. 
    What I suggest is to have an online database and read from there to your local databases if you wanna use a database. 
    You can reach that database with web service(WEB API).

  • Any open source of simple statistical analysis tools for java?

    Hi ya,
    Anyone knows any open source of statistical analysis tools for java?
    A simple tool which is able to retrieve the coverage, the number of threads, and a list of methods within the code will be fine :)
    Many thx

    If what you mean is a profiler, you can get it from Eclipse's plugin, and it's open source.
    http://sourceforge.net/projects/eclipsecolorer

  • Porting open source application to SAP WAS

    Hi,
      I'm porting jZForum ( http://www.jzforum.org ) to integrate it with SAP WAS and SAP Dictionary instead of internally used
    HypersonicSQL database. I mainly changed obtaining connection to the database directly through JDBC:
    jdbc:hsqldb:hsql://localhost:1476
    into connection obtained through JNDI with Spring Framework (more precisely through org.springframework.jndi.JndiObjectFactoryBean class) :
    jdbc/MY_DATABASE
    with connection pooling parameters:
    initial connections: 1
    maximum connections: 50
    maximum time to wait for connection: 120
    expiration: yes
    connection lifetime: 600
    cleanup thread: 300
    Unfortunately ported jzForum seems to "hang on". I see in Log Viewer (Visual Administrator) log that it is quering database with a lot of SELECTs,
    I assume that it is indexer which on startup is indexing all objects from the forum to speed up searching this objects in the future.
    After about 2-3 minutes hanging on, application shows generated page, but every subsequent request to
    the server cause hanging on in the same way.
    I assume that it might be the case that application is obtaining through JNDI connection to the database, but is
    not releasing it. I have examined entire jzForum code, and closed all unnecesary Connection in final Java statements,
    but it unfortunately didn't help.
    Original jzForum (not ported to SAP Dictionary) works on SAP WAS just perfectly.
    Have someone else experience with porting open source application from some database (eg. HSQL) to SAP Dictionary ?
    Maybe it is a problem with Spring Framework implementation ? Maybe it is a problem with wrongly configured connection pool ?
    I have no idea at the moment. Every help will be appreciated.
    Kind regards,
      Marcin Zduniak

    Hi Marcin,
    from what you are describing, the port to JNDI obtained connections and your "research" in visual admin uncovered some issues with the original code ( not closing open connection ).
    My attempt to explain your difficulties:
    1. Working with hsqldb in direct mode, where hsqldb connection are obtained by driver.getConnection(), works well, becuse GC "reclaims" unused but not closed
    connections. Things seems to work out this way.
    2. Getting connections through JNDI involves a datasource with its associated db pool. Not closed connections are then "trapped" in the pool as long as is specified by the "connection lifetime" DS parameter. Things get worse by the time, becuse the application leaks constantly connections.
    Remedy for the problems described in 2:
    - middle term: fix the application: here spring might be useful, consider using its JDBC support classes!
    - short term: set the connection lifetime to a small value to let pool reclaim the unclosed connections
    Hope it helps a bit,
    Gregor

  • Is Java itself open source?

    Hi,
    There are a lot of software built using JAVA are open source.
    But is JAVA itself open source?
    Thanks.

    What is YOUR definition of open source?When someone says "open source", they probably mean it as you can see it defined on Wikipedia:
    "...source code is available under a copyright license that permits users to study, change, and improve the software, and to redistribute it in modified or unmodified form."
    I have seen talk of open-sourcing Java in the media for a long time, and searching Google yields many results.

  • Open source r5xx drivers

    Hi, I've been playing around with new open source drivers for ati r5xx series. The driver is still in early development and it currently doesn't work on my card (ATI Mobility Radeon X1400), because the driver in git contains a limited number of PCI IDs for different Radeon X1000 graphics cards. I've created a package for this driver but didn't upload it on AUR because:
    1. i don't think i have enough knownledge about building packages (not yet)
    2. haven't looked into what dependencies to include in the package
    3. driver is still in early development with almost no use to end-user
    nevertheless, i have successfuly build a package and if anybody wants to add it to AUR or build it, here it is:
    pkgname=xf86-video-avivo-git
    pkgver=20070620
    pkgrel=1
    pkgdesc="Open source ATI/AMD R5xx drivers for Xorg"
    arch=('i686')
    url=""
    license=('GPL')
    depends=('xorg-server>=1.3.0' 'libpciaccess-git') #or does libpciaccess-git go to makedepends?
    makedepends=('git')
    provides=()
    conflicts=()
    replaces=()
    backup=()
    install=xf86-video-avivo-git.install
    source=()
    noextract=()
    md5sums=()
    _gitroot="git://anongit.freedesktop.org/git/avivo/xf86-video-avivo"
    _gitname="xf86-video-avivo"
    build() {
    cd $startdir/src
    git clone $_gitroot
    cd $_gitname
    ./autogen.sh --prefix=/usr/
    make || return 1
    make DESTDIR=$startdir/pkg install
    i also had to build libacpiaccess-git to be able to build the driver:
    pkgname=libpciaccess-git
    pkgver=20070620
    pkgrel=1
    pkgdesc="Generic PCI access library"
    arch=('i686')
    url=""
    license=('GPL')
    depends=()
    makedepends=('git')
    provides=()
    conflicts=()
    replaces=()
    backup=()
    install=libpciaccess-git.install
    source=()
    noextract=()
    md5sums=()
    _gitroot="git://anongit.freedesktop.org/git/xorg/lib/libpciaccess"
    _gitname="libpciaccess"
    build() {
    cd $startdir/src
    git clone $_gitroot
    cd $_gitname
    ./autogen.sh --prefix=/usr/
    make || return 1
    make DESTDIR=$startdir/pkg install
    you can find more info on Avivo driver on this page: http://www.phoronix.com/scan.php?page=a … 753&num=1#
    Last edited by billy (2007-06-20 09:57:27)

    This kind of sums it up, doesn't it?
    http://www.userfriendly.org/cartoons/archives/99feb/19990208.html

  • Is Format Builder open source?

    If not, what are other open source tools we can use to convert non-XML to XML reporesentation?
    Thanks,

    What is YOUR definition of open source?When someone says "open source", they probably mean it as you can see it defined on Wikipedia:
    "...source code is available under a copyright license that permits users to study, change, and improve the software, and to redistribute it in modified or unmodified form."
    I have seen talk of open-sourcing Java in the media for a long time, and searching Google yields many results.

  • Adding color to a row in alv grid not using object oriented.

    Hello Gurus.
    I want to display a row in  color in alv grid using normal alv,  not by using object oriented programming.
    I am having one of the field say spart ie division in internal table itab.
    The spart has values like 12 , 45, 67, 68 ,88 ,99.
    when ever spart is 12 i want to display that row in color format. Here this table is sorted by mblnr so if 1st record is 12 then may be 50 th record will be 12. so when where the record contains the value has 12 then that row should be displayed in color. So please tell me how to do it. Previously i posted the same question but i got is by using object oriented. so please tell me how to do it without using object oriented.
    Thanks for all the replies.

    Check this example code.
    report zrich_0004
           no standard page heading.
    type-pools slis.
    data: fieldcat type slis_t_fieldcat_alv.
    data: begin of imara occurs 0,
          matnr type mara-matnr,
          mtart type mara-mtart,
          maktx type makt-maktx,
          color_line(4) type c,
          tcolor type slis_t_specialcol_alv,  "cell
          end of imara.
    data: xcolor type slis_specialcol_alv.
    start-of-selection.
      perform get_data.
      perform write_report.
    *  Get_Data
    form get_data.
      imara-matnr = 'ABC'.
      imara-mtart = 'ZCFG'.
      imara-maktx = 'This is description for ABC'.
      append imara.
      imara-matnr = 'DEF'.
      imara-mtart = 'ZCFG'.
      imara-maktx = 'This is description for DEF'.
      append imara.
      imara-matnr = 'GHI'.
      imara-mtart = 'ZCFG'.
      imara-maktx = 'This is description for GHI'.
      append imara.
      loop at imara.
        if sy-tabix = 1.
          imara-color_line = 'C410'.   " color line
        endif.
        if sy-tabix = 2.          "color CELL
          clear xcolor.
          xcolor-fieldname = 'MTART'.
          xcolor-color-col = '3'.
          xcolor-color-int = '1'. "Intensified on/off
          xcolor-color-inv = '0'.
          append xcolor to imara-tcolor.
        endif.
        modify imara.
      endloop.
    endform.
    *  WRITE_REPORT
    form write_report.
      data: layout type  slis_layout_alv.
      layout-coltab_fieldname = 'TCOLOR'.
      layout-info_fieldname = 'COLOR_LINE'.
      perform build_field_catalog.
    * CALL ABAP LIST VIEWER (ALV)
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                is_layout   = layout
                it_fieldcat = fieldcat
           tables
                t_outtab    = imara.
    endform.
    * BUILD_FIELD_CATALOG
    form build_field_catalog.
      data: fc_tmp type slis_t_fieldcat_alv with header line.
      clear: fieldcat. refresh: fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material Number'.
      fc_tmp-fieldname  = 'MATNR'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '18'.
      append fc_tmp to fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material Type'.
      fc_tmp-fieldname  = 'MTART'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '4'.
      append fc_tmp to fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material'.
      fc_tmp-fieldname  = 'MAKTX'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '40'.
      fc_tmp-emphasize = 'C610'.   " color column
      append fc_tmp to fieldcat.
    endform.
    Regards,
    Rich Heilman

  • Is JSF technology based on open source?

    Hi,
    Does any one know if JSF is based on any open source technology? Like struts?
    Because my company projects use Struts technology, they want to switch to other
    non-open source technology, does JSF suit for this purpose?
    Thanks for your valuable advice,
    Raymond

    Most of Java itself is Open Source. The JSF API is open source and can be found at https://javaserverfaces-sources.dev.java.net and as BalusC mentioned, you can access Mojarra's source code as well from there. The MyFaces implementation is also open source.
    Does your company want something that is not open source? Or do they want something they can count on with a company to stand behind it? A product with real release cycles and a person they can call for support? If that's what they really want, JSF is a good choice. Particularly if you choose GlassFish (which includes JSF) -- or more likely the Sun Java Systems Application Server version: http://www.sun.com/software/products/appsrvr/index.xml) which is fully supported by Sun MIcrosystems. This should give your company the confidence they need in a fully supported product. BTW, there are tools and other supported products (portal, access manager, JBI, etc.) that integrate very well with this solution if you need them. Check it out.
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

Maybe you are looking for