Skip to main content

Tomcat servers as peer

6 replies [Last post]
sansun08
Offline
Joined: 2009-11-26

Is it possible to make two web apps interact using jxta? What is the underlying protocol used for advertisement brodcast? Can this be captured by a web application running on tomcat?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
richard25
Offline
Joined: 2008-12-03

I work around the idea of [b] juxta[/b]posing P2P and the Web.

I hope that JXTA 2.6 does is not too buggy like JXTA 2.5.

With JXTA or not is the question? :

*- I do not quite understand the strategy of project JXTA ?
*- Communication-based pipes is not reliable or efficient ?
*- There is no validation of the discovery decentralized scale ?
*- Too many bugs on the basic features ?
*- APIs-too complex to use ?
*- Poor organization existent no road map ?
*- In my opinion the project was not sufficiently supported by Sun ?
*- There are problems with NATs and Firewalls, in my Wi-fi network does not work ?
*- The future is all on the web (like google chrome os) not in local PC ?
*- Does JXTA work on Android with PeerDroid ?

*- There is a lack of transparency about the future of JXTA ?

After almost 10 years, may need to review the project strategy.

So i look to other projects like : JGroups, GridGain, Terracotta

But despite the sleepless nights spent with the JXTA framework can perhaps learn something good.

My current architecture with JXTA 2.4 and not 2.5 (since 2.5 is a mountain of Bugs):

- ( JXTA Core + bouncycastle ) + Jetty + H2 db + eXist-db

I prefer Jetty to Tomcat and I'm not alone !

But in JXTA 2.6 Grizzly or Jetty ? ... I need a efficient container web.

My favorite protocol is HTTP then why not (SOAP or REST over HTTP)
Communication-based pipes is a good idea to UNIX but over Internet ? :-)

What's good with JXTA is that there's plenty to do and not much competition :-)

Best regards

richard25
Offline
Joined: 2008-12-03

Hi,

There is a lot of projects but, it seems academic (school or research) projects.

http://j-x-w-s--gw.sourceforge.net/introduction.htm
2002-06-18 : http://www.croftsoft.com/library/tutorials/jxta/

Best regards

galato
Offline
Joined: 2007-07-06

Very true - I was just hoping to give out some ideas on the problem if it will be implemented from scratch.

richard25
Offline
Joined: 2008-12-03

Hi,

I think the [b]JuXTAposition [/b] of P2P and WEB 3.0 is a very interesting solution.

It seems "JXTA uses both TCP and HTTP. And Multicast IP is used over LAN"
The communication mechanism is based on pipes.

http://weblogs.java.net/blog/2005/08/23/demystifying-pipes-jxtasockets-j...

Mating Tomcat to JXTA, Mark S. Petrovic
http://radioae6rt.wordpress.com/2006/04/18/mating-tomcat-to-jxta/

JXTA On Web : Groovy, OpenLaszlo
http://www.odelia-technologies.com/node/115

Best regards

galato
Offline
Joined: 2007-07-06

And I do know of jxta-soap that the Amoretti group is working with, other projects such as P2PComp, p2pSOA (and many more) that use OSGi containers connected over JXTA and that expose the bundles as web services. Have you found any more on your end that you can share on the list?

sansun08
Offline
Joined: 2009-11-26

To be more precise, can we send advertisement broadcast as a httprequest or am I fundamentally wrong.

what does these two tags represent in the PlatformConfig


tcpauto9701224.0.1.85123416384

and


httpauto9700

Does this mean that the advertisement is broadcasted using tcp and http? Is there any document which explains all these attributes?

Thanks in advance