How To Install libjabsorb-java on Ubuntu 18.04

In this tutorial we learn how to install libjabsorb-java on Ubuntu 18.04. libjabsorb-java is Java to Javascript object request broker

Introduction

In this tutorial we learn how to install libjabsorb-java on Ubuntu 18.04.

What is libjabsorb-java

libjabsorb-java is:

Simple and lightweight Ajax/Web 2.0 framework that allows you to call methods in a Java web application from JavaScript code running in a web browser as if they were local objects residing directly in the browser.

Jabsorb handles all the details of marshalling and unmarshalling objects back and forth between the client and server so that you can focus on writing your application features.

Jabsorb makes use of the JSON-RPC protocol for it’s transport mechanism. JSON-RPC is a standard protocol and jabsorb can interoperate with other standard JSON-RPC clients and servers that may be written in other languages.

Starting with jabsorb 1.2, additional ORB functionality has been added, and it extends the basic JSON-RPC protocol to allow for passing data structures that contain Circular References.

There are three methods to install libjabsorb-java on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libjabsorb-java Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libjabsorb-java using apt-get by running the following command:

sudo apt-get -y install libjabsorb-java

Install libjabsorb-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjabsorb-java using apt by running the following command:

sudo apt -y install libjabsorb-java

Install libjabsorb-java Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libjabsorb-java using aptitude by running the following command:

sudo aptitude -y install libjabsorb-java

How To Uninstall libjabsorb-java on Ubuntu 18.04

To uninstall only the libjabsorb-java package we can use the following command:

sudo apt-get remove libjabsorb-java

Uninstall libjabsorb-java And Its Dependencies

To uninstall libjabsorb-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjabsorb-java

Remove libjabsorb-java Configurations and Data

To remove libjabsorb-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjabsorb-java

Remove libjabsorb-java configuration, data, and all of its dependencies

We can use the following command to remove libjabsorb-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjabsorb-java

References

Summary

In this tutorial we learn how to install libjabsorb-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.