Re: about storing data
"Adi" <[email protected]> Sat, 19 Mar 2005 08:53:06 +0700
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
hello if i have class Car and CarImpl and i have to create the child class for example BigCar and SmallCar 1. is this child class must be extended OzoneRemote and OzoneObject???? 2. if not my child class my extended from what??? the class Car or carImpl 3. to create of list with OzoneZCompatible what can i do to implement it? any example use it? thanks On Fri, 18 Mar 2005 09:38:18 +0100 Per Nyfelt <[email protected]> wrote: > 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 > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ======================================================================================== 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