Re: JavaSpace vs ActiveSpace vs GreenTea for distributed computin g

Nati Shalom <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <MONITOR2zBxhJTANZww000000d5@monitor2>
" Essentially, ActiveSpaces, is a Space-like implementation running on top
of JMS, ..."

The interesting thing about JMS approach and JavaSpaces is the fact that you
could also implement a JMS on top of a space.
Actually this approach in my view provides more value then the other way
around. The reason is that a space can be implemented more easily in a
virtual manner and therefore a JMS implementation based on such space
architecture could inherit this characteristics which means that the JMS
implementation could span across multiple machine (That includes a queue as
well as Topic). In addition to that you get the extra functionality that the
space provides i.e. caching capabilities, workflow, content based routing
etc.

With GigaSpaces we took that approach even a step further and implemented a
virtual JDBC in the same approach that in fact can interact with both JMS
and Space client.  

Our free community edition includes a full JMS implementation built with the
approach mentioned above. 
Now that it is provided for free, I would encourage you to try it out.

You can find more information about this approach on our online
documentation.
http://www.gigaspaces.com/docs/doc/Enterprise_messaging_grid.htm



Nati S.
CTO GigaSpaces. 
www.gigaspaces.com



-----Original Message-----
From: Calum Shaw-Mackay [mailto:[email protected]] 
Sent: Tuesday, April 05, 2005 10:58 AM
To: [email protected]
Subject: Re: JavaSpace vs ActiveSpace vs GreenTea for distributed computin g

Essentially, ActiveSpaces, is a Space-like implementation running on top of
JMS, so the API itself does not support transactions as these would be
supplied via the underlying JMS using JTA/XA etc.
This means that you'll need some form of JMS running somewhere, most likely
an Application Server.Also ActiveSpaces provide for interaction with the JMS
queues through the AS api.

GreenTea provides a cluster/P2P network rather than a federated system, like
Jini. Although I haven't had a huge exposure to GreenTea, the idea is that
you use a Space to coordinate work and data. So, in effect, your space works
as an area of shared memory, but the shared memory is accessible across the
network and thus across multiple machines. Also Jini is more service
oriented, whereas GreenTea is mainly focused on Grid and parallelisation of
workload - which of course can be done using Jini, just that Jini tries not
to focus on that one individual area.

HTH

--Calum

__________________________________________________________________
Liberata is the trading name of Liberata UK Limited (Registered in England
and Wales - No 1238274) and other Liberata group companies which include
Liberata Financial Services Limited (Registered in England and Wales - No
5301492), an entity authorised and regulated by the Financial Services
Authority. The holding company is Liberata plc ( Registered in England and
Wales - No 3987802).

Registered Offices, 17 London End, Beaconsfield Old Town, Buckinghamshire,
HP9 2HN

IMPORTANT NOTICE:
This e-mail (including all attachments) is confidential and may be
privileged. It is for the exclusive use of the intended recipient(s) only,
and must not be re-transmitted in an amended form without our consent. If
you have received it in error, please contact us immediately at
[email protected]. Please then delete it and do not disclose its
contents to any other person.

Security and reliability of e-mails are not guaranteed. We operate
anti-virus programmes but you must take full responsibility for virus
checking this e-mail (including all attachments). Liberata plc do not accept
any liability in respect of any damage caused by any virus which is not
detected.

All e-mails to and from anyone @liberata.com may be examined for breaches of
employee policies and the law. All e-mails to anyone @liberata.com are
communications to the company and not private and confidential to any named
individual.



> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: 05 April 2005 06:08
> To: [email protected]
> Subject: Re: JavaSpace vs ActiveSpace vs GreenTea for distributed
> computing
>
>
> Hi,
>
> > I googled around regarding this issue and it seems to me that using
> > Jini JavaSpace would take longer to implement and harder to
> integrate
> > directly with a web applications. <--- Harder than what ?
>
> My interest is to be able to embed JavaSpace in to a web application
> as I mentioned in the other thread,
>
> "Deploy Starter Kit as a Web Application (War)"
>
> Based on the discussion thread, it looks like it require some hacking
> on the source code to be able to get the JavaSpace stuff to work in
> a Servlet container. That's how I think it might take
> considerable efforts
> to understand the inner working of Jini first to be able to do so.
> It seems a lot of work if all I am interested in is the
> JavaSpace along!
>
> Anyway, comparing to the GreenTea, it only took one afternoon
> to learn to the basics and my prototype is already running on
> many nodes! It is so easy to setup!
>
> I also tried to run the ray tracing example from the starter kit,
> and after many day's of on/off trying, I still cannot get it to work!
> I think its my lack of fundamentals knowledge about JINI,
> but does it has to be so hard to get the example going?
>
> Considering the JSK before 2.1 beta, how many key strokes
> have to be punched to start many services before a functional
> JINI environment!
>
> How about an ANT project file that user only need to take
> care of JSK's installation directory and the rest should just
> work out of the box!
>
> >
> > IMHO JavaSpaces is one of the most accomplished part of the JINI
> > toolKit.The only thing i did not see(maybe it exists) is the
> > possibility to create pipes betweens workers and create
> priorities and
> > dependencies between workers.
> >
> >
> I think that JavaSpaces is very successfully in distributed computing!
> But there are some missing
> parts such as been able to embed JavaSpaces in a web container! There
> are discussions in the
> JavaSpaces mailing list with the similiar discussion and I also cross
> post this message to the
> JavaSpaces mailing list and hope that I could get some responses about
> their opinions on these
> three similiar technologies (JavaSpaces, ActiveSpaces and GreenTea).
>
> Thanks,
>
> -- Scott
>
> >> From: "[email protected]" <[email protected]>
> >> Reply-To: [email protected]
> >> To: [email protected]
> >> Subject: JavaSpace vs ActiveSpace vs GreenTea for
> distributed computing
> >> Date: Mon, 4 Apr 2005 15:32:02 -0400
> >>
> >> Hi,
> >>
> >> I am looking for using JavaSpace to add more nodes to
> >> help off load some heavy computational job of the web
> >> server. The requirements are quite simple and it seems that
> >> Jini JavaSpace is can help achieve it. The computefarm
> >> project already provide a very good framework to start
> >> with.
> >>
> >> There are some other technologies like ActiveSpace
> >> http://docs.codehaus.org/display/AS/Home
> >>
> >> and the GreenTea.
> >> http://www.greenteatech.com/
> >>
> >> These three technologies can be used to implement the distributed
> >> computing. I am wondering is there anyone has evaluated the
> >> ActiveSpace and GreenTea for distributed computing.
> >>
> >> I googled around regarding this issue and it seems to me that using
> >> Jini JavaSpace would take longer to implement and harder
> to integrate
> >> directly with a web applications.
> >>
> >> Thanks for your feedback
> >>
> >> Scott Hong
> >>
> >>
> --------------------------------------------------------------
> ------------
> >>
> >> Getting Started:     http://jini.org/resources
> >> Community Web Site:  http://jini.org
> >> jini-users Archive:
> >> http://archives.java.sun.com/archives/jini-users.html
> >> Unsubscribing:       email "signoff JINI-USERS"  to
> >> [email protected]
> >
> >
> > _________________________________________________________________
> > MSN Messenger : personnalisez votre messagerie instantanée !
> > http://g.msn.fr/FR1001/866
> >
> >
>
> --------------------------------------------------------------
> ------------
> Getting Started:     http://jini.org/resources
> Community Web Site:  http://jini.org
> jini-users Archive:
> http://archives.java.sun.com/archives/jini-users.html
> Unsubscribing:       email "signoff JINI-USERS"  to
> [email protected]
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________
>

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html

JDC members can download the JavaSpaces(tm) Technology from:
http://developer.java.sun.com/developer/products/jini/

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html

JDC members can download the JavaSpaces(tm) Technology from:
http://developer.java.sun.com/developer/products/jini/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.