On 11/24/2009 04:03 PM, farouk korteby wrote:
> I get my users data form XML files so i must do that by groovy or java.
>
> It's is a interesting idea to use a custom mapping for XWikiUsers in
> hibernate, but have i reason to think it don't impact the api for creating
> users "$xwiki.createUser()" ??

Custom mapping affects only the storage, specifically when serializing 
objects in the database, the actual data will look and behave the same 
in the rest of the code.

> Thank's
> --
> Farouk
>
> 2009/11/24 Sergiu Dumitriu<[email protected]>
>
>> On 11/24/2009 02:25 PM, farouk korteby wrote:
>>> Ok that's cool, i have less than 10000 members, i use tomcat and mysql in
>> my
>>> server.
>>>
>>> XWiki has a abstract data model so a large database of users do not cause
>>> problems ?
>>
>> For increased performance you could enable custom mapping for the
>> XWiki.XWikiUsers class. A mapping made some time ago is already present
>> in the xwiki.hbm.xml file, commented out, near the end of the file. If
>> you need additional fields in the user class, don't forget to add them
>> in the mapping too.
>>
>>> Also i have weekly users synchronization i guess use scheduler
>> application
>>> for do that :
>>> http://code.xwiki.org/xwiki/bin/view/Applications/SchedulerApplicationwhat
>>> you think?
>>
>> Where would you get the users from? Note that XWiki already has some
>> support for LDAP/ActiveDirectory.
>>
>>> <http://code.xwiki.org/xwiki/bin/view/Applications/SchedulerApplication>
>>> Thanks.
>>>
>>> --
>>> Farouk
>>>
>>> 2009/11/24 Vincent Massol<[email protected]>
>>>
>>>>
>>>> On Nov 24, 2009, at 1:07 PM, Sergiu Dumitriu wrote:
>>>>
>>>>> On 11/24/2009 12:11 PM, farouk korteby wrote:
>>>>>> Hi every body,
>>>>>>
>>>>>> I want to develop a platform based in XWiki Enterprise with a large
>>>>>> database
>>>>>> of users, can you give me some tips ?
>>>>>
>>>>> What kind of tips?
>>>>>
>>>>> First tip: Don't use the hsqldb engine that's provided with the
>>>>> standalone XE package.
>>>>>
>>>>> As far as I remember, Curriki (curriki.org) has somewhere around 40
>>>>> 000
>>>>> users,
>>>>
>>>> It currently has 93803 users :)
>>>> See left panel on http://www.curriki.org/xwiki/bin/view/Main/WebHome
>>>>
>>>> -Vincent
>>>>
>>>>> is that in the same range as your target database?


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to