[OJB-developers] PersistenceBrokerServlet again
Brought to you by:
thma
From: <Joa...@tp...> - 2002-05-13 16:54:36
|
Hy, it's me again. I've just finished the first version of the PersistenceBrokerServlet that passes all JUnit tests. 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. 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). 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, is noone using this feature? 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). I don't really feel comfortable to approach such a redesign without someone to check my ideas for sanity ( I got no problems withing living with my design-decisions, but I want others to find it useable as well ;-) regards Joachim Sauer |