PageBox |
|
|
|
|
|
Presentation | Download | User guide | Implementation | Epimetheus | euroLCC | Prometheus |
Download of the PageBox for Java demo
Starting 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.
There is a binary archive for each type of Pandora application.
Web archive | Function |
---|---|
Core Pandora application with the command form. Calls the Update Web service. | |
Implements the Update Web service and calls the Query Web service. | |
Mockup of a payment or delivery facility. Implements the Query Web service. |
Web archive | Function |
---|---|
Pandora sources | |
Pandora Javadoc |
There is a binary archive for each type of Pandora application.
Web archive | Function |
---|---|
Core Pandora application with the command form. Calls the Update Web service. | |
Implements the Update Web service and calls the Query Web service. | |
Mockup of a payment or delivery facility. Implements the Query Web service. |
Web archive | Function |
---|---|
Pandora sources | |
Pandora Javadoc |
The Java sources are dispatched to the archive targets in the following way:
Class | Archive |
---|---|
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 | |
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 |
With 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.
The 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.
Web archive | Function |
---|---|
Epimetheus Web application. | |
Serial extension (enumerates serial and parallel ports) |
Web archive | Function |
---|---|
Epimetheus sources | |
Sources of the serial extension | |
Epimetheus Javadoc | |
JavaDoc of the serial extension |
Web archive | Function |
---|---|
euroLCC Web application. |
Web archive | Function |
---|---|
euroLCC sources | |
euroLCC Javadoc |
Web archive | Function |
---|---|
Prometheus Web application. |
Web archive | Function |
---|---|
Prometheus sources | |
Prometheus Javadoc |
Contact:support@pagebox.net
©2002-2004 Alexis Grandemange.
Last modified
.