as i said, i'm not very familiar with php/java intergrations, but you might have a look at http://php.net/manual/en/ref.java.php. they bind java using to php. i'm sure there also exist something for RMI. there is also the way of using php inside a java servlet environment, which might be more stable.
regards, toby On 5/26/06, stella lok <[EMAIL PROTECTED]> wrote:
Hi, I agree, that it would be ineffecient, however my constraint is that I must be able to use a web client in another language to access the repository. So, I am wondering if there is any other method more feasible to do that? The only way I can think of, is to confine all JCR API usage to the repository instance, and have the web client use web services to access and update the repository... I would be happy to hear your opinion on this Thanks a lot for your help, and for validating my use of Jackrabbit to build an ecommerce app! Yours Sincerely, Stella On 5/26/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: > > > 1) Is it feasible to use Jackrabbit with a web framework of another > language > > (eg. RubyOnRails, PHP) ? > afaik, there is a php port of jsr170. but i don't know how this > connects to a jackrabbit repository. probably via rmi. > > > The only way I can think of integrating the two > > together, is through exporting the repository to XML and then parsing > the > > XML on the web tier > that would not be very efficient and i wonder why you would want that. > especially, how you would trigger the export? > > > 2) As Jackrabbit is primarily used for building CMSs, > that is not the case at all. first, jackrabbit is the reference > implemenation of JCR (jsr170), the Java Content Repository API. second > the jcr was not designed to suit any special usecase. just as content > repository api. but of course, one very common type of application > that levereges jcr are CMS. > > > I'm wondering if it's > > suitable for ecommerce (shopping cart, order management) systems too? > sure. content repositories are theoretically a superset of rdbms and > therefore can be used for everything rdbms can. > > regards, toby > > -- > -----------------------------------------< [EMAIL PROTECTED] >--- > Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel > T +41 61 226 98 98, F +41 61 226 98 97 > -----------------------------------------------< http://www.day.com >--- >
-- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
