Installanywhere 5.5 enterprise User Guide (Author: Luo shifei. Source: Java Research Organization)

Source: Internet
Author: User
Tags websphere application server

Installanywhere 5.5 enterprise User Guide

Keywords: installanywhere installation cross-platform J2EE

APP portability is important for products. From the perspective of appearance, if the developed application can be packaged, the installation program guides the user to install and configure the development product, which will greatly enhance the customer's sense of identity. From the perspective of the company itself, if we can better implement this idea, we will not only lay a good foundation for the implementation of productization. We can imagine that such two aspects will make product deployment faster and more effective. The most important thing is that many product experiences can be well accumulated and accumulated.
This article introduces a product packaging tool, installanywhere 5.5 enterprise.
The trial version is located:
Http://goldengate.zerog.com/releases/enterprise55 ;.
I. Tool Overview
Installanywhere 5.5 enterprise is developed by zero G (http://www.zerog.com. Zero G is a leader in the field of multi-platform software deployment and maintenance. It represents the products including installanywhere and powerupdate. It is simple and efficient, and supports 29 languages (including simplified Chinese) while providing cross-platform support. The main interface 1 is shown.
 
Figure 1 Main Interface
After installing installanywhere 5.5 Enterprise, you can find "installanywhere 5.5 enterprise User Guide" through the Start Menu or the "show help" button in the lower-left corner of the main interface, as shown in figure 2.

Figure 2 User Guide provided by installanywhere
Because installanywhere involves a wide range of features (powerful and easy to use ), here, I will share with you some problems, solutions, and related development skills I encountered when I participated in the development and installation of installanywhere (mainly for beginners, or a newbie who has never used installanywhere ). For details, refer to the User Guide provided by installanywhere.
2. Deployment of non-Java applications
The installation program based on installanywhere requires JVM support. Therefore, if the target deployment environment does not provide JVM, you need to provide JVM for non-Java application deployment and installation, as shown in figure 3.

Figure 3 installer bundle VM (select the check box corresponding to "with VM)
Other steps are similar to the deployment of Java applications. Java applications are divided into j2se applications and J2EE applications. The main reason is that the J2EE application also involves the application server, and its installation and production will be complicated.
3. j2se Application Deployment
If the program itself is based on j2se applications, we can consider using the JVM provided by installanywhere as the JVM required for running j2se applications. You need to note the location and name of the JVM installation folder. Figure 4 allows you to customize your specific requirements.

Figure 4 JVM installation location and name Customization
Iv. Deployment of J2EE applications
It is complicated to install and deploy J2EE applications. It involves interaction with JVM, database system, J2EE application server, and J2EE application.
This part of content will be explained in detail in the following topics, because there are many contents.
5. Use tips
5.1 JVM Selection
To provide a Chinese Installation Wizard, installanywhere's default VM does not provide international support, such as Chinese support, in which case developers must go to: http://www.zerog.com/downloads_02c.html to download the VM that provides international support, or make it by yourself (For details, refer to installanywhere 5.5. enterprise User Guide ).

Figure 5 VM packs installed in installanywhere
5.2 Customer Code Development
Many times, we need to develop our own wizard panel. The procedure is as follows:
First, select a development tool, such as JBuilder, eclipse, and jcreator.
2. Add iaclasses.zip to classpath.
Third, if you still use other class Lib, add it to the classpath according to step 2.
Fourth, develop the specific customer code.
Fifth, use installanywhere to add the self-developed customer code to the target project and compile and test the customer code.
5.3 output of debugging information
When using installanywhere, if you need to check what the installer has done, such as the classes loaded, the JVM version and location used, debugging information, and error information. In this case, you need to use the functions provided by installanywhere. 6. developers can output debugging information to files or the console. For example, to output error information and other debugging information to the console, you only need to enter "console ".

Figure 6 Output of debugging information
In this way, after the compiled installer is installed, a console is displayed for you to view the Installation Log. If there are many installation logs, you can adjust the "screen buffer size" of the console, such as adjusting the height of the screen buffer size in Figure 7 (up to 5999 ), this prevents the previous log information from being rushed out.

Figure 7 adjust the screen buffer size
5.4 handling of Chinese garbled characters
Because installanywhere is not very complete in processing localization. Sometimes, developers accidentally introduce a lot of Chinese garbled characters due to misoperations. In this case, you need to adjust the local file, for example, to process the "custom_zh_cn" file in Chinese. The specific method is as follows:
First, disable installanywhere and find the custom_zh_cn file.
Next, find the garbled location.
Third, use installanywhere or other tools to replace the original garbled characters with the corresponding Chinese Unicode.
Finally, re-open installanywhere, compile and install the package, and check whether the package is normal.
In these processes, you sometimes need to manually adjust the order of some content in the "custom_zh_cn" file. In this case, make sure that the English items in the "custom_en" and "custom_zh_cn" files are consistent.
Vi. Conclusion
Through this article, you should have some knowledge about installanywhere. You can use installanywhere to complete almost any installation program that supports JVM. Installation and production of non-Java applications, j2se applications, and J2EE applications can be well completed. In this case, Java's cross-platform advantages are used for implementation.
The following article will create an installation program for the WebSphere Application Server-based J2EE application, which shows the powerful functions of JMX in managing J2EE systems and applications.
Due to the limited knowledge of the author, I still hope to criticize and correct the mistakes! You are also welcome to send a letter to the author for further discussion!
Thank you for reading this article.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.