[fully-OT] File replication between webapps

2005-06-13 Thread Nicolas De Loof


Hi all,

this mail is totaly of topic, so sory sory sory...
... but there is so much java masters on this list !

I have to replicate some datas between two servers running my app (with 
a load balancer, but not using a cluster mode). We are going to build a 
home-made solution, and I wonder if any open-source tool could help me 
on this.
I'm looking for something like a 2 phase commit or rsync Java lib, 
that could be used to assert an update on one server will be 
automagically replicated on the other one.


Thanks.

Nico.

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [fully-OT] File replication between webapps

2005-06-13 Thread delbd
Just my two cents

I'll suggest storing the datas on a central database (which could be clustered 
amongst your servers)


Le Lundi 13 Juin 2005 14:06, Nicolas De Loof a écrit :
 Hi all,

 this mail is totaly of topic, so sory sory sory...
 ... but there is so much java masters on this list !

 I have to replicate some datas between two servers running my app (with
 a load balancer, but not using a cluster mode). We are going to build a
 home-made solution, and I wonder if any open-source tool could help me
 on this.
 I'm looking for something like a 2 phase commit or rsync Java lib,
 that could be used to assert an update on one server will be
 automagically replicated on the other one.

 Thanks.

 Nico.

 This message contains information that may be privileged or confidential
 and is the property of the Capgemini Group. It is intended only for the
 person to whom it is addressed. If you are not the intended recipient,  you
 are not authorized to read, print, retain, copy, disseminate,  distribute,
 or use this message or any part thereof. If you receive this  message in
 error, please notify the sender immediately and delete all  copies of this
 message.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [fully-OT] File replication between webapps

2005-06-13 Thread delbd
Le Lundi 13 Juin 2005 14:27, Nicolas De Loof a écrit :
 Our customer defines architecture restriction for it's applications. One
 of them is that the (only) usable database is Oracle. As we don't use a
 database for the app, adding orcale only to get DB replication may be
 difficult to explain (and will add a significant cost)

Sure it does :)
If oracle is only 'clustered' database possible but other non lcustered ones 
are available, maybe C-JDBC could help you (it provide RAID like ontop of any 
database).

If not, maybe the transactional Collections in 
http://jakarta.apache.org/commons/transaction/ may be of interrest (they 
supports 2 phases commits using XAressources if am not wrong)


 delbd a écrit :
 Just my two cents
 
 I'll suggest storing the datas on a central database (which could be
  clustered amongst your servers)
 
 Le Lundi 13 Juin 2005 14:06, Nicolas De Loof a écrit :
 Hi all,
 
 this mail is totaly of topic, so sory sory sory...
 ... but there is so much java masters on this list !
 
 I have to replicate some datas between two servers running my app (with
 a load balancer, but not using a cluster mode). We are going to build a
 home-made solution, and I wonder if any open-source tool could help me
 on this.
 I'm looking for something like a 2 phase commit or rsync Java lib,
 that could be used to assert an update on one server will be
 automagically replicated on the other one.
 
 Thanks.
 
 Nico.
 
 This message contains information that may be privileged or confidential
 and is the property of the Capgemini Group. It is intended only for the
 person to whom it is addressed. If you are not the intended recipient, 
  you are not authorized to read, print, retain, copy, disseminate, 
  distribute, or use this message or any part thereof. If you receive this
   message in error, please notify the sender immediately and delete all 
  copies of this message.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 This message contains information that may be privileged or confidential
 and is the property of the Capgemini Group. It is intended only for the
 person to whom it is addressed. If you are not the intended recipient,  you
 are not authorized to read, print, retain, copy, disseminate,  distribute,
 or use this message or any part thereof. If you receive this  message in
 error, please notify the sender immediately and delete all  copies of this
 message.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [fully-OT] File replication between webapps

2005-06-13 Thread Nicolas De Loof


Oracle is the only aproved database (clusterable or not). This is the 
reason I was looking for a rsync-linke solution.


Nico.


delbd a écrit :


Le Lundi 13 Juin 2005 14:27, Nicolas De Loof a écrit :
 


Our customer defines architecture restriction for it's applications. One
of them is that the (only) usable database is Oracle. As we don't use a
database for the app, adding orcale only to get DB replication may be
difficult to explain (and will add a significant cost)
   



Sure it does :)
If oracle is only 'clustered' database possible but other non lcustered ones 
are available, maybe C-JDBC could help you (it provide RAID like ontop of any 
database).


If not, maybe the transactional Collections in 
http://jakarta.apache.org/commons/transaction/ may be of interrest (they 
supports 2 phases commits using XAressources if am not wrong)


 


delbd a écrit :
   


Just my two cents

I'll suggest storing the datas on a central database (which could be
clustered amongst your servers)

Le Lundi 13 Juin 2005 14:06, Nicolas De Loof a écrit :
 


Hi all,

this mail is totaly of topic, so sory sory sory...
... but there is so much java masters on this list !

I have to replicate some datas between two servers running my app (with
a load balancer, but not using a cluster mode). We are going to build a
home-made solution, and I wonder if any open-source tool could help me
on this.
I'm looking for something like a 2 phase commit or rsync Java lib,
that could be used to assert an update on one server will be
automagically replicated on the other one.

Thanks.

Nico.

This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, 
you are not authorized to read, print, retain, copy, disseminate, 
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all 
copies of this message.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient,  you
are not authorized to read, print, retain, copy, disseminate,  distribute,
or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of this
message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



 



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [fully-OT] File replication between webapps

2005-06-13 Thread Leon Rosenberg
Do you hold the data inmemory or in a file system? 

In later case you'll be just fine with mounting a common share, like NFS
or SMB.
In first case you'd need a software synchronization inbetween, which is
typically solved by a publisher/subscriber pattern. You can use MDB
(message-driven beans, there are enough (open source) solutions
available without an obligatory application server.
Personally I'd prefer an ORB with an EventService like JacORB -
www.jacorb.org.

regards
Leon

P.S. Still you have to build the
say-the-other-one-that-the-data-has-been-updated logic by yourself. But
this is about 5 lines of code, so i don't think you should search for a
tool herefore.



On Mon, 2005-06-13 at 14:06 +0200, Nicolas De Loof wrote:
 Hi all,
 
 this mail is totaly of topic, so sory sory sory...
 ... but there is so much java masters on this list !
 
 I have to replicate some datas between two servers running my app (with 
 a load balancer, but not using a cluster mode). We are going to build a 
 home-made solution, and I wonder if any open-source tool could help me 
 on this.
 I'm looking for something like a 2 phase commit or rsync Java lib, 
 that could be used to assert an update on one server will be 
 automagically replicated on the other one.
 
 Thanks.
 
 Nico.
 
 This message contains information that may be privileged or confidential and 
 is the property of the Capgemini Group. It is intended only for the person to 
 whom it is addressed. If you are not the intended recipient,  you are not 
 authorized to read, print, retain, copy, disseminate,  distribute, or use 
 this message or any part thereof. If you receive this  message in error, 
 please notify the sender immediately and delete all  copies of this message.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [fully-OT] File replication between webapps

2005-06-13 Thread Nicolas De Loof


Thanks a lot, I'll take a loot at this ORB.

Nico.

Leon Rosenberg a écrit :

Do you hold the data inmemory or in a file system? 


In later case you'll be just fine with mounting a common share, like NFS
or SMB.
In first case you'd need a software synchronization inbetween, which is
typically solved by a publisher/subscriber pattern. You can use MDB
(message-driven beans, there are enough (open source) solutions
available without an obligatory application server.
Personally I'd prefer an ORB with an EventService like JacORB -
www.jacorb.org.

regards
Leon

P.S. Still you have to build the
say-the-other-one-that-the-data-has-been-updated logic by yourself. But
this is about 5 lines of code, so i don't think you should search for a
tool herefore.



On Mon, 2005-06-13 at 14:06 +0200, Nicolas De Loof wrote:
 


Hi all,

this mail is totaly of topic, so sory sory sory...
... but there is so much java masters on this list !

I have to replicate some datas between two servers running my app (with 
a load balancer, but not using a cluster mode). We are going to build a 
home-made solution, and I wonder if any open-source tool could help me 
on this.
I'm looking for something like a 2 phase commit or rsync Java lib, 
that could be used to assert an update on one server will be 
automagically replicated on the other one.


Thanks.

Nico.

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]