Download presentation
Presentation is loading. Please wait.
Published byCory Anderson Modified over 8 years ago
1
3-1 JXTA Platforms
2
3-1 Learning Objectives ● Learn about the different platform implementations of the JXTA protocols – Features provided by each implementation – Status of each implementation – Why you should use a specific platform – Future enhancements
3
3-1 JXTA Platform Implementations ● JXTA for J2SE ● JXTA for Pjava ● JXTA-C ● JXTA for J2ME ● JXTA for Python ● Other platforms
4
3-1 JXTA for J2SE ● Reference implementation— Java 2, Standard Edition (J2SE), v. 1.3.1 – Full implementation of JXTA protocols – Standard (edge) peer, rendezvous, relay and proxy functionalities – API frozen since Nov'01 – Maintained with help of Community – Tutorials and Programmer's Guide – MyJXTA and myJXTA2 demo applications (IM, group chat, file sharing)
5
3-1 JXTA for J2SE ● Target scalability – 1.5 Million peers – 100 rendezvous – 300,000 simultaneous peers – 1,000 advertisements per peer – 1.5 MB average content size – 1 discovery/2 min per peer – 2 hour average connection time – 70% peers behind NATs Upcoming Scalability Release
6
3-1 JXTA for J2SE ● New optimized TCP/IP and HTTP transports – Bi-directional back channels ● Resource management ● Separation of relay functionalities – TCP/IP relay ● Rendezvous Network – Standard peer index advertisements on rendezvous – Queries only propagated between rendezvous – Rendezvous peer view management – Rendezvous loosely-coupled DHT walker Upcoming Scalability Release (continued)
7
3-1 JXTA for Pjava ● Personal Java (JDK v. 1.1.8) – Full implementation of JXTA protocols – Standard peer, rendezvous and relay support – Backport from the J2SE platform – Maintained with help of community
8
3-1 JXTA for J2ME ● Proxy standard peer functionality only ● Interoperates with Project JXTA protocols ● Provides a simple and easy-to-use API ● Small footprint: only about 10k ● MIDP-1.0 and iAppli compliant ● Network and carrier-independent
9
3-1 JXTA-C ● Fully compliant implementation of Project JXTA protocols ● Standard peer functionality only – Can discover both C and Java peers, and discover and create new peergroups that can be joined by both C and Java peers – Can publish, establish pipe connections, send and receive messages between either C or Java peers ● Interoperates with J2SE relay and rendezvous peers ● Runs on Linux, Solaris, and Windows
10
3-1 JXTA-C ● Portability Provided by Apache Portable Runtime – Windows (Win 98/ME, Win NT/2000/XP) – POSIX (Linux, Solaris™ OE, BSD, MacOS™ X) ● Focus on embedded applications ● HTTP Transport Only ● Secure pipes not yet implemented ● Full XML support via Expat
11
3-1 Project JXTA-C Architecture Microsoft Windows UNIX Apache Portable Runtime RTOS Porting API JXTA Protocols implementation (OS/Runtime independent) C/C++ Application API ApplicationsJXTA-C Shell
12
3-1 Project JXTA-C Three layers ● Porting Layer – Isolates OS/Runtime specific dependencies – Facilitates porting to other environments ● Protocols Layer – OS/Runtime independent – Each protocol implemented as a separate component or service ● Application Layer – C/C++ application level API – Demo Shell interpreter (JXTA-C Shell)
13
3-1 JXTA-C APIs ● Peer Group ● Membership ● Resolver ● Discovery ● Pipe ● Endpoint
14
3-1 JXTA for Python ● Jython – 100% Java implementation of Python interpreter ● Standard peer functionality only ● Scripting language for accessing Java J2SE JXTA classes ● Rapid prototyping environment – Application modules can first be written in Python, run in interpretive mode and then compiled to Java.class files via jython compiler
15
3-1 Other Platforms ● Ruby ● Objective C ● Perl ●.Net ● SmallTalk
16
3-1 End – JXTA Platforms
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.