Download of the PageBox for Java demoPandoraStarting with PageBox version 0.0.10 Pandora is packaged in two version, the JWSDP version and the Tomcat/Axis version. The two versions are identical except for their RPC invoker, stubs and configuration files. Releasing two versions allows avoiding confusions and manual settings and helps getting started. JWSDPBinariesThere is a binary archive for each type of Pandora application.
| |
---|
distributed.war | Core Pandora application with the command form. Calls the Update Web service. | central.war | Implements the Update Web service and calls the Query Web service. | paydeliver.war | Mockup of a payment or delivery facility. Implements the Query Web service. |
Sources and documentationTomcat/AxisBinariesThere is a binary archive for each type of Pandora application.
| |
---|
distributed.war | Core Pandora application with the command form. Calls the Update Web service. | central.war | Implements the Update Web service and calls the Query Web service. | paydeliver.war | Mockup of a payment or delivery facility. Implements the Query Web service. |
Sources and documentationTarget dispatchingThe Java sources are dispatched to the archive targets in the following way:
| |
---|
pandora/Article.java | distributed.war | pandora/CommandBean.java | distributed.war | pandora/CommandCtrl.java | distributed.war | pandora/Item.java | distributed.war | pandora/Publish.java | distributed.war | pandora/UpdateIF.java | distributed.war, central.war | Install.java | distributed.war, central.war, paydeliver.war | LinkBean.java | distributed.war | Client stub of the Update Web service generated with xrpcc | distributed.war | pandora/QueryIF.java | central.war, paydeliver.war | pandora/UpdateImpl.java | central.war | pandora/CheckSandbox.java | distributed.war, central.war, paydeliver.war | pandora/CheckLoad.java | distributed.war, central.war, paydeliver.war | pandora/CheckClassLoader.java | distributed.war, central.war, paydeliver.war | pandora/CheckLoaded.java | pandora/CheckLoaded.class | Server stub of the Update Web service generated with xrpcc | central.war | Client stub of the Query Web service generated with xrpcc | central.war | pandora/QueryImpl.java | paydeliver.war | Server stub of the Query Web service generated with xrpcc | paydeliver.war | pandora/NeighborCtrl.java | distributed.war | pandora/NeighborBean.java | distributed.war |
To check the native interface you can build a shared library with CheckLoad.c and pandora_CheckLoad.h or use CheckLoad.dll on Windows (CheckLoad.c compiled with VC++ 6) and libCheckLoad.so on Linux, compiled with the commands:
gcc -I/usr/java/j2sdk1.4.1_01/include -I/usr/java/j2sdk1.4.1_01/include/linux -c CheckLoad/CheckLoad.c -o CheckLoad.o gcc -shared -o libCheckLoad.so CheckLoad.o |
PackagingWith PageBox deployment there are no longer installation concerns. However the distributed part of Pandora is designed to integrate with other applications of the PageBox site. distributedThe referrer environment (login.jsp, link.jsp, LinkBean.class) is included in the distributed archive for documentation purpose. In real cases you should copy these files on the referrer sites.
To test Pandora you must generate a key pair, get a certificate for the public key and store these key pair and certificate in a keystore. Here is the easy way to generate this data:
keytool -keystore E:\java\pandora\keystore -genkey -alias mycert -keypass mypasswd Enter keystore password: kspasswd What is your first and last name? [Unknown]: Alexis Grandemange What is the name of your organizational unit? [Unknown]: Devlpt What is the name of your organization? [Unknown]: Pagebox What is the name of your City or Locality? [Unknown]: Mouans Sartoux What is the name of your State or Province? [Unknown]: France What is the two-letter country code for this unit? [Unknown]: FR Is correct? [no]: yes |
This definition works with the LinkBean creation in link.jsp:
LinkBean lb = new LinkBean("E:\\java\\pandora\\keystore", "kspasswd", "mycert", "mypasswd"); |
If you create the keystore at a different location or use different passwords and certficate name update the LinkBean instantiation accordingly.
See the JDK documentation to learn more about key pairs and certificates and for instance get a certificate from a certificate authority. EpimetheusBinariesSources and documentationeuroLCCBinariesSources and documentationPrometheusBinariesSources and documentation
Contact:support@pagebox.net ©2002-2004 Alexis Grandemange.
Last modified
.
| |
News |
Version 0.1.0
First beta (code cleanup, more tests)
Idle connections removed from connection pools
PageBox URL set in Web services
Enhanced tracing
Version 0.1.1
Open Source under GNU LGPL. |
|
| |
| |
|