Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing Floggy framework in J2ME

I am creating an application with J2ME. for connecting with database I am using RecordStore. This is first get all records and traverse through it to search a record. But I have thousands of records and I just need some based on criteria - is there any way to resolve this problem? I do not want to traverse through thousands of records to get ten records.

I have found Floggy framework at http://floggy.sourceforge.net/ I think it will be better but I am not able to find any proper reference to configure it out.

Does anyone know to may I configure Floogy in my J2ME application? I just want a RMS that has criterion like thing, see my other question: Database query j2me including criterias

Error Stack trace:

Created dir: /NetBeansProjects/Login_1/build/preverifysrc
Copying 798 files to /NetBeansProjects/Login_1/build/preverifysrc
Created dir: /NetBeansProjects/Login_1/build/preverified
Preverifying 798 file(s) into /NetBeansProjects/Login_1/build/preverified directory.
Error preverifying class net.sourceforge.floggy.persistence.WeaverTask
    java/lang/NoClassDefFoundError: org/apache/tools/ant/
Task
/NetBeansProjects/Login_1/nbproject/build-impl.xml:431: Preverification failed with error code 1.
BUILD FAILED (total time: 12 seconds)
like image 999
Hemant Metalia Avatar asked Aug 20 '12 13:08

Hemant Metalia


1 Answers

The introduction article can be found here: http://floggy.sourceforge.net/core-package.html
You can build your project with Ant: http://floggy.sourceforge.net/configuration/ant.html
But there is also an Eclipse plugin: http://floggy.sourceforge.net/configuration/eclipse.html

like image 61
Telmo Pimentel Mota Avatar answered Oct 09 '22 17:10

Telmo Pimentel Mota