[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.riena] Re: project similar to riena

Nicolas Jouanin schrieb:
Riena implements Remote Services which enables components to make calls
running OSGi service on a remote machine
using the business interface. We are planning a first milestone version end
of February by which we will also have some
documentation on the wiki how to create services, how to use security and so
on. The code and Junit testcases already
exist in the Riena CVS repository. We are just a little bit behind setting
up the documentation.

What kind of remoting will be implemented ? some kind of home-made remoting protocol, HTTP, RMI ...? or something based on interfaces and plugin extension which would allow to provide different type of communication ?
Remoting is based on HTTP and Hessian in the first milestone. The architecture allows
to plugin more protocols. That is all done by implementing OSGi Services with a certain
interface you could implement your own protocol. We actually had somewhere a remoting
implementation for xfire but did not pass that on to Eclipse because the SOAP implementation
is sooo big and Xfire is actually discontinued and now replaced by CXF (from apache). We are
still looking for a SOAP stack that does consist of 15 jars and 20 mb but I am not sure if such
a thing is available.
The point I am making is that you can add your own protocol and use that (if you like RMI or
any other protocol). Its not that hard.

Concerning persistence you might be interested in ObjectTransactions which
deliver in milestone 2. They include some
mechanim to track changes in large objectnets, transfer only the modified
properties from the client back to the server
and then allow either reconstructing the complete objectnet on the server or
only change the modified properties in the
server DB.

That quite a big challenge. Just by thinking about it, I can imagine some "funny" things you will have to deal with : transaction and concurrency management, propagation of updates to client, lazy initialization, and so on ...
objecttransaction helps a lot here because it can also propagate updates both from
client to server but also from server to client. it also requires some object-ids
however you implement that that helps you to do optimistic locking. yeah and there
are some challenges :-) why not.

You are certainly welcome to try what is there or express requirements,
use-cases, missing features etc.

I'll be waiting for the first milestone then.

Thanks.

Are you at the EclipseCon in March in Santa Clara ? Then I invite you to our Riena presentation there.
Next good chance is the Jax here in Germany.

cheers
christian campo