You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by stella lok <oi...@gmail.com> on 2006/05/26 03:53:15 UTC
General Questions about Jackrabbit
Hi,
I am new to Jackrabbit and I'd like to integrate it into an web-based
ecommerce system I'm building
I have some concerns:
1) Is it feasible to use Jackrabbit with a web framework of another language
(eg. RubyOnRails, PHP) ? 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
2) As Jackrabbit is primarily used for building CMSs, I'm wondering if it's
suitable for ecommerce (shopping cart, order management) systems too?
Thanks very much for your time
Stella
Re: General Questions about Jackrabbit
Posted by Tobias Bocanegra <to...@day.com>.
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 <oi...@gmail.com> 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 <to...@day.com> 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
> >
> > --
> > -----------------------------------------< tobias.bocanegra@day.com >---
> > 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 >---
> >
>
>
--
-----------------------------------------< tobias.bocanegra@day.com >---
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 >---
Re: General Questions about Jackrabbit
Posted by stella lok <oi...@gmail.com>.
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 <to...@day.com> 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
>
> --
> -----------------------------------------< tobias.bocanegra@day.com >---
> 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 >---
>
Re: General Questions about Jackrabbit
Posted by Tobias Bocanegra <to...@day.com>.
> 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
--
-----------------------------------------< tobias.bocanegra@day.com >---
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 >---