Re: [OJB-developers] PersistenceBrokerServlet again
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-05-17 12:08:44
|
Hi Joachim, Joa...@tp... wrote: > Hy, > > it's me again. I've just finished the first version of the > PersistenceBrokerServlet that passes all JUnit tests. fine ! > It still stumble > sometimes (have to take a closer look at that), but it works. Now I'm > searching for anyone who is willing to experiment with OJB running via a > HTTP connection. I'll give it a try! Setup on the OJB-side is easy (just use > http://server/path/servlet instead of server\:2001 for servers in > OJB.properties), the Servlet-part not so (no documentation yet, but anyone > who worked with servlets before should be able to work it out). I dont > want to check this in, until someone tried it and tells me that it doesn't > detonate his computer and doesn't turn his neighbours into aliens as well > (take a close look at that last one, I got some suspicious code in there). don't be shy! I'm always checkin in untested and suspicious code ;-) > The attached zip file contains all java files that I changed and should be > unziped into src/java of a current CVS-version of OJB. > > btw, it seems that I'm the only one who is working on the C/S-part of OJB, The last thing I did, was building a ServerConsole that can be used for remote administration of a OJB server. But I did not work on the internals for quite some time. > is noone using this feature? AFAIK most people are using the singlevm mode only. For most scenarios this will be sufficient. > I think it'd need some redesign. I think that > it wouldn't be necessary to parse the repository on both the client and > the server, as the clients fetches quite some info from the server (as an > alternative we could find a way how to let both parse it and just assume > that the other side knows the same as we do). Mhh, I once removed all references to DescriptorRepository from PersistenceBroker client. AFAIK there is no reading of the repository on the client side. That's why I introduced methods like getDescriptorFor(Class c) into the PB interface! If the repository *is* parsed on the client it is a bug !!! > I don't really feel > comfortable to approach such a redesign without someone to check my ideas > for sanity feel free to discuss any further issues regarding c/s mode directly with me. >( I got no problems withing living with my design-decisions, > but I want others to find it useable as well ;-) > cheers, Thomas > regards > Joachim Sauer > > |