I found out JAVA class can be executed by command or in any IDE, it doesnt have to be ALFRESCO solution, it worked however when it created a site it shoes after a refresh of the page only in sites dashlets, (only after I acess to the concerning site it refreshes the menu … )
So how can I refresh the menu sites after the first refresh ..