commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@mwm.lt>
Subject Re: cvs commit: jakarta-commons-sandbox/simplestore/src/sample/org/apache/commons/simplestore/persistence AbstractStorage.java InternalTransaction.java MetaObject.java PersistenceManager.java Persistent.java PersistentProxy.java Storage.java StorageExcepti
Date Sat, 09 Feb 2002 10:35:23 GMT

Hi,
I am very new in Apache and don't know rooles. I tried to use this style
from existing code.
I Think license is not the main problem in my code. I see I must to fix code
formating and
naming first.
I have some ideas for collections. We done reachebility management in
simplestore.
Ideas can be reused for "soft pool" implementation.
It has meaning for Lists :
 users code :

 List myList = CollectionUtils.getPooledList();
 ......list  operation....
// no need to return list to pool GC will do this then object becomes
unreacheble.

This can be used for more generic pools, but this is the most trivial
example to understand.
Lists created by "CollectionUtils" will be reused in very transparent way.
It can be useful if
application uses a lot of arrays or lists implemented on arrays, it because
memory allocation
for "Large" array is very expensive and this operation can be "cached".
SoftValueMap can be implemented this way, no need to have "public void
purge()".
Collections are used in core parts and they must be very "fast" to have good
quality.
I see a lot of optimizations for collections.

I have "karma" on commons but I think it is by mistake. My "Karma" was for
simplestore
in "sandbox" only, but it seems I have "Karma" on commons too. I don't want
to commit anything  withaut "+1" on commons at this time.
Most of projects in commons are dependant on some project in commons.
It is good, we have a lot of "smal" projects in commons, sandbox, but I
think it is too mucth
"good". Commons can become SourceForge, think about this. Commiters or some
advanced users can find useful ideas and code in commons, but not all users.
May be, I wrong understand commons and sandbox ideas ? It is not product, is
it ?





















> I believe you need to use the full form of the license in each class.
>
> --- baliuka@apache.org wrote:
> >   Index: DBStorage.java
> >   ===================================================================
> >
> >
>
/***************************************************************************
**
> >    * Copyright (C) The Apache Software Foundation. All rights
> > reserved.        *
> >    *
> >
> -------------------------------------------------------------------------
> > *
> >    * This software is published under the terms of the Apache
> > Software License *
> >    * version 1.1, a copy of which has been included  with this
> > distribution in *
> >    * the LICENSE file.
> >          *
> >
> >
>
****************************************************************************
*/
>
>
> =====
> Lance Lavandowska
> Http://www.brainopolis.com/
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message