Hi

The last couple of day's i have been updating rmmci to solve one of the bigest 
issue (sorting of bridge list using Collections.sort()). This is now possible 
and today I ran the editwizard via rmmci and also some of the mmbase demo's 
like mymews.

To do this I had to remove all the ref to the bridge LocalContext and change 
them to a newly added ContextProvider.getDefaultCloudContext();
I have changed this in mmbase 1.7 but kept the "old" 1.6 branch as is
if you want to do this in the 1.6 branch just change 
private static final CloudContext thiscontext = new LocalContext();
in LocalContext
to
private static final CloudContext thiscontext = 
RemoteContext.getCloudContext("rmi://myhost:1111/remotecontext");

it's quit nice to see mmbase starting up. not being able to connect to a 
database and still be working.

I think it would be good to have more configurable defaults
cloud.getDefaultCloud() maybe

The last problem I am facing is realy a bridge desing error
some bridge functions require a ServletRequest/Response object as parameter
since those are not serialisable this give errors.
I can be sovled by creating our own request/response objects but i think we 
need to start thinking in a more abstract way and create something like 
scanpage to feed into the bridge so that core interfaces can have a notion of 
users/sessions
what do you think?








Reply via email to