Re: about storing data
Per Nyfelt <[email protected]> Fri, 18 Mar 2005 09:38:18 +0100
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
fredagen den 18 mars 2005 03.12 skrev Adi: > i confuse with some of example of ozone > would you like to help me > > there are example use hashTable, treeMap, AbstractMap, > ozoneObject. > what different of them? > and if i will create user account database, what of them > can i use it???? Assuming you have created your own user management structure and each user is an OzoneCompatible the following would apply: If the total number of users are less tan a couple of thousand then any standard Map implementation is fine. If the total number of users might be bigger than that you should consider looking at the (still experimental) persistant collections module. If you are using the User object in Ozone things are slightly different since a User is a plain serializable and hence storing several thousands of them in a Memory-only Map is probably not a good idea (though it might still be OK since User is a pretty light-weight Object). > > can i store a pic into ozone database??? can i use blog to > implement it? Yes Blob would be a good choice. Small pictures can alternatively be stored as a byte[]. > > thanks Welcome, Per > =========================================================================== >============= Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus > untuk wilayah Jawa Timur. Informasi selengkapnya di www.telkomnetinstan.com > atau hub 0800-1-INSTAN (467826) > =========================================================================== >============= > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click