Professional Documents
Culture Documents
Mechanism
Applicable Releases:
Agentry 5.X and 6.X - which Includes all SAP based mobile
products running on Agentry 5.X and 6.X.
Version 1.0
TABLE OF CONTENTS
SECTION 1: AGENTRY SERVER LANDSCAPE OVERVIEW ........................................................................ 3
SECTION 2: PUBLISHING APPLICATIONS OVERVIEW .............................................................................. 4
SECTION 3: DEVELOPMENT PUBLISH ......................................................................................................... 5
SECTION 4: PRODUCTION PUBLISH ........................................................................................................... 6
SECTION 5: AGENTRY DEVELOPMENT VS. PRODUCTION SERVER ....................................................... 8
SECTION 6: AGENTRY FILE TYPES .............................................................................................................. 9
SECTION 7: APPLICATION DEPLOYMENT PROCESS .............................................................................. 13
SECTION 8: PUBLISH PROCESS ................................................................................................................. 14
When we install Work Manager Server it needs connection to the SAP backend system. Typically we set-up
three tier landscape development, quantity and production server for Agentry development.
SAP system landscape dictates Agentry Server landscape set-up as shown in figure 3.
Production landscape
Quality landscape
Production landscape
Development landscape
There are two types of publishes that can be performed, Development and Production. When
publishing an application from the Agentry Editor, there are various aspects that will affect the type of
publish performed and which options to select during the process. Additionally, the first time an
application project is published there is some initial configuration performed by the publish process
that will affect the Agentry Server.
Other options exist for the publish process, including the creation of files used for localization of the
application. When performing a production publish, the publish version of the application must be
set. Also during a production publish the option exists to delay the deployment from the Agentry
Server to Agentry Clients until a specified date and time.
For all publish operations the application data is copied to the Agentry Server, with transformation of
the application data into the format for the Agentry Server. This format will vary depending on
whether the target Agentry Server is configured for development or production. The location of the
application data will be in the Agentry Servers configuration directory, in either the subdirectory
Application\Development for a development publish, or Application\Production\Version for a
production publish. To perform a publish it is necessary to have read-write access to this location.
A development publish will transfer the definition files in the application project from the Agentry Editor to
the Agentry Development Server. The files are stored on the file system at the installation location of the
SAP Mobile Server; specifically within the configuration directory of the Agentry Server in the subdirectory Application\Development. A development server has no concept of application versions. When
a development publishes is performed, the previous version of the application on the Server is
overwritten.
button in Eclipse.
button in Eclipse.
10
11
12
www.sap.com
SECTION 7: APPLICATION DEPLOYMENT PROCESS
The movement of the mobile application through the customer landscape requires the coordination
of following activities:
1. The movement of the ECC transports for the project, including both workbench requests and
customizing requests.
2. The movement of the mobile application to the target Agentry Server.
3. The movement of any custom Java code to the target Agentry Server.
3
4
5
Develop and unit test by publishing to a development server Check exports and Java into daily
version control.
Publish production mode application to staging server or unit test development server and perform
end-to-end testing. When a version of the application is ready to be released, the development team
will create an archive (.agdz) of the application definition, and a JAR file for the custom Java code.
To move the Java, the JAR file will be manually saved to the Java folder of the target Agentry
Server. Note that any new JAR files will need to be added to the classpath in the Agentry.ini file.
Agentry application definition, the project (.agdz file) will be moved to the Application folder of the
target Agentry Server.
Modify classpath in JavaBE.ini file for the new jar file.
14
www.sap.com