# Java

Use the **Java** **Task** to call custom java functions.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fa7Eu263x89Duy6xqfNlG%2F0?alt=media)

**Purpose**

The **Java Task** is used to call and execute Java code defined by user. The Java node task is needed when user wants to use Java code inside their business process. To accomplish this user can create the Java method, export corresponding Java class to a Jar file and then upload this Jar file to the **Java Node Task** for executing Java method during the business process. You can upload any jar file and call a function from that jar file using the Java Task.

**Properties**

Java Node Configuration panel has 3 tabs to define properties.

**General**

General Tab contains general information such as title name, task id, description etc.

**BusinessObject**

Used to configure and map the **Business Object** for input and output for the node.

**Java Parameter**

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FiVnbKqQEU5hPcvuu50gC%2F1?alt=media)

| **Property** | **Mandatory** | **Default** | **Description**                                                                                                                                                                                          |
| ------------ | ------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Jar Name     | Y             |             | The jar file. The value can be set by clicking on the Choose Jar button and choosing the jar file using the folder browser. Alternately the user can select from the list of existing jar files as well. |
| Class Name   | Y             |             | The fully qualified class name. The system will display all the available classes from jar on clicking the "Get Class Name" button. User can then choose the value from the list.                        |
| Method Name  | Y             |             | The method to be called from the class. System will display all the eligible methods from the chosen class. User can select the method from the list                                                     |

In Java Parameter tab, "**Choose** **Jar"** button is used to upload **Jar** file and "**Get Class Name"** button is used to get class name from Jar file.
