I posted this on ojb-dev, but there doesn't seem to be much traffic there, so I thought I would repost it on ojb-user. If you are using multiple databases, this patch will allow you to run OJB in client server mode. Feedback and testing are encouraged.
I'm not sure how patches should be submitted, but I implemented multiple DBs in OJB client/server mode. With the patch, a client passes a repository file name with the request object on the first remote call. On the server sice, multiple repository names are specified on the BrokerServer command line as "repository1,repository2". A BrokerPool is instantiated for each repository and RequestProcessor delegates to the appropriate pool keyed by repository file names. There are relatively minor changes in 7 files, including the implementation *todo*. They are attached below. It seems to work, but it has not received significant testing... Thanks, Corey
broker.zip
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
