You can remove all those classes for a memory-only version. The Collator 
class can be removed from HSQLDB's Collation class. The JavaSystem class can 
be simplified to remove blocks with calls that are not supported in J2M2.

Fred

----- Original Message ----- 
From: "Jérôme Paschoud" <[EMAIL PROTECTED]>
To: <hsqldb-developers@lists.sourceforge.net>
Sent: 12 September 2005 08:15
Subject: Re: [Hsqldb-developers] General Architecture Informations


I just replaced the Properties class from the HsqlProperties classes by
the Hashtable as you proposed.

For the class Locale if you want to get the Locale you have to code:
System.getProperty("microedition.locale")

That was for the wath's new part, now let's get to the how to part.

How do you get rid of java.text.Collator class?

Can I remove safelyn the org.hsqldb.lib.FileUtil class?
Can I remove safelyn the org.hsqldb.lib.ZipUnzipFile class?
Can I remove safelyn the org.hsqldb.lib.FileAccess class?

What to do with org.hsqldb.lib.java.JavaSystem?

Thanks Jerome

fredt wrote:
> You need to remove the dependencies. The Locale can be removed from the
> Collation class. You can also remove the use of the Properties class and
> replace it with HashTable.
>
> Fred
>
> ----- Original Message ----- 
> From: "Jérôme Paschoud" <[EMAIL PROTECTED]>
> To: <hsqldb-developers@lists.sourceforge.net>
> Sent: 09 September 2005 13:28
> Subject: Re: [Hsqldb-developers] General Architecture Informations
>
>
> Ok now I'm at the next step and most of my problem are coming from the
> fact that I cannot have and HsqlProperties because their is no
> properties at all in the J2ME API.
>
> I'm also having problem with the class java.util.Locale. Their is no
> localisation system in J2ME (no java.text.Format, no java.io.Reader).
>
> If you could help me on that I could go a bit further.
>
> CU Jerome
>
> fredt wrote:
>
>>You can determin class loading by looking at the uses of Class and
>>Class.forName() etc.
>>
>>If you remove Log.java and its dependent classes,  most of the IO related
>>stuff would disappear.
>>
>>Fred
>>----- Original Message ----- 
>>From: "Jérôme Paschoud" <[EMAIL PROTECTED]>
>>To: <hsqldb-developers@lists.sourceforge.net>
>>Sent: 08 September 2005 16:07
>>Subject: Re: [Hsqldb-developers] General Architecture Informations
>>
>>
>>How could I determine where, in the code, are located the methods that
>>are doing optional class loading.
>>
>>For information the BigInteger & BigDecimal can be taken for the first
>>one at: http://www.bouncycastle.org/ and for the second one:
>>http://www2.hursley.ibm.com/decimalj/.
>>
>>The rest of the problem deal with classes that belong to the java.io
>>package.
>>
>>In fact the main problem is that I'm unable to see how the things are
>>working together. I tried to obtain an UML schema from the sources but
>>the soft crash duting the parsing the files.
>>
>>I hope, I'm not too anoying with all my questions.
>>
>>Jerome
>>
>>fred wrote:
>> > If you're aiming at a memory-only engine, you can remove a lot. All
>>of > the
>> > IO, starting with org.hsqldb.persist.Log can be removed. If you don't
>> > have
>> > JDBC, java.sql is not needed apart from java.sql.Connection, which
>>you > can
>> > replace with org.hsqldb.SessionInterface. The java.lang.reflect usage
>> > can
>> > also be removed when you don't use optional class loading, such as
>> > user-defined functions. There is an opensource java.math.BigDecimal
>> > substitute somewhere on the net.
>> >
>> > Fred
>>
>>
>>-------------------------------------------------------
>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>Practices
>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>_______________________________________________
>>hsqldb-developers mailing list
>>hsqldb-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/hsqldb-developers
>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>Practices
>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>_______________________________________________
>>hsqldb-developers mailing list
>>hsqldb-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/hsqldb-developers
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> hsqldb-developers mailing list
> hsqldb-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hsqldb-developers
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> hsqldb-developers mailing list
> hsqldb-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hsqldb-developers


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to