Difference between revisions of "Components"

From Commander4j Wiki
Jump to: navigation, search
(Created page with "Category:Commander4j == Java == Commander4j requires Java 1.6 or above. Only the JRE (Java Runtime Enviroment) is required for deployment, however the JDK (Java Developmen...")
 
Line 3: Line 3:
 
Commander4j requires Java 1.6 or above. Only the JRE (Java Runtime Enviroment) is required for deployment, however the JDK (Java Development Kit) will also work. Commander4j will run on any operating system which has Java installed. It is currently developed and tested using Windows, OSX and Linux.<br>
 
Commander4j requires Java 1.6 or above. Only the JRE (Java Runtime Enviroment) is required for deployment, however the JDK (Java Development Kit) will also work. Commander4j will run on any operating system which has Java installed. It is currently developed and tested using Windows, OSX and Linux.<br>
  
[[File:java.jpg]]<br>
+
[[File:java.jpg]]<br><br><br>
 
+
 
== Database ==
 
== Database ==
 
Commander4j can currently use any one of 3 readily available databases including [[mySQL]], [[MSSQL|Microsoft SQL Server]] and [[Oracle]]. As far as possible the database schema is created automatically by the Setup4j application. You are required to install the database software yourself, create a blank database and provide a user account with permissions to create tables etc - but that is all. The database schema is versioned and each new release of Commander4j will require you to re-run the Setup4j application to identify and update the database schema as required. No manual SQL scripts need to be run by the user.<br><br>
 
Commander4j can currently use any one of 3 readily available databases including [[mySQL]], [[MSSQL|Microsoft SQL Server]] and [[Oracle]]. As far as possible the database schema is created automatically by the Setup4j application. You are required to install the database software yourself, create a blank database and provide a user account with permissions to create tables etc - but that is all. The database schema is versioned and each new release of Commander4j will require you to re-run the Setup4j application to identify and update the database schema as required. No manual SQL scripts need to be run by the user.<br><br>

Revision as of 19:55, 20 June 2013

Java

Commander4j requires Java 1.6 or above. Only the JRE (Java Runtime Enviroment) is required for deployment, however the JDK (Java Development Kit) will also work. Commander4j will run on any operating system which has Java installed. It is currently developed and tested using Windows, OSX and Linux.

Java.jpg


Database

Commander4j can currently use any one of 3 readily available databases including mySQL, Microsoft SQL Server and Oracle. As far as possible the database schema is created automatically by the Setup4j application. You are required to install the database software yourself, create a blank database and provide a user account with permissions to create tables etc - but that is all. The database schema is versioned and each new release of Commander4j will require you to re-run the Setup4j application to identify and update the database schema as required. No manual SQL scripts need to be run by the user.

Oracle.jpg Mysql.jpg Mssql.jpg


Desktop Application

The Commander4j Workstation install consists of 2 components, the database configuration tool and the main application as shown below.

Commander4j desktop.jpg


Interface Service

Commander4j Interfaces can be run from with desktop client if required. However in a production environment you should install the interface to run as a service. As Commander4j is 100% java it does not contain any O/S specific functionality which would allow it to run as a service without help. To this end Commander4j uses a 3rd party utility called "Java Service Wrapper". http://wrapper.tanukisoftware.com/doc/english/integrate-listener.html. It is not necessary to install this separately. Providing you select "Full" as the installation option this will be installed automatically (under Windows). There is some configuration required from with the Setup4j configuration to identify which host database is to be used by the service - but that all.

Commander4j Interface Architecture.png


Barcode Scanner Web Application

Tomcat is a web server with a built in Java Virtual Machine. That means it can run server side java code called Servlets. Tomcat needs to be installed on the server if you wish to access the application using mobile web browsers such as "Symbol Pocket Browser". If you don't need this functionality you can skip installation of Tomcat. Tomcat should be installed AFTER Java on the server.

Scanner menu.jpg Tomcat.jpg

Local Middleware

Commander4j includes it's own native XML interfaces for exchanging messages with external systems, however it does not claim to have local middleware capabilities. Therefore in order to interface with external systems you will most likely need to use a local middleware solution. A good 3rd party commercial application which I have used in the past is called Konnect and is available from Khi-Ro Ltd, however it's not a requirement and you can use any tool you like to generate messages in the correct format. Konnect has pre defined transformations for messaging between SAP, TROPOS and Logopak Automatic Labelling Systems.