java

Integrating Maximo with Java application through RMI

This entry is part of the Maximo Java Development series. In this article I will describe how to call Maximo business objects methods remotely using a Java RMI connection. This technique can be useful to integrate Maximo in custom applications written in Java or to perform a particular processing of data stored in Maximo database […]

Retrieve JDBC connection to Maximo database

In some cases you need a JDBC connection to directly access Maximo database in order to perform some job. This is not common since all Maximo data can be accessed through standard MboSets. However, you may need to access non-Maximo tables, perform specific SQL statements or bypass Mbos for performance reasons. The two main approaches […]

Creating a custom dialog box to send a report via email

An outstanding tutorial from Daniel Ng explaining how to create a custom dialog box to send a report via email.The tutorial is very detailed and explains a lot of Maximo/TPAE stuff including: Create a custom XML dialog box Attach the dialog box to an application Associate a signature option to the dialog box Associate the custom dialog box […]

Sample Action Class

This entry is part of the Maximo Java Development series. Sometimes you have to implement some complex logic in workflows or escalation and you feel limited by the out-of-the-box Maximo actions. In these cases you can unleash the Java power and code your algorithm in a custom action class.In order to create a custom action class, you […]

Retrieve multiple attribute values from an Mbo

This entry is part of the Maximo Java Development series. Maximo MBOs are not exactly lightweight, however there are some little tricks to improve performances and reduce system resources consumption. One of the most common mistakes that I have seen is the redundant use of getters methods of the psdi.mbo.Mbo class.In the following example three calls to getString/getInt […]

Extending Maximo Business Objects

This entry is part of the Maximo Java Development series. Sometimes it is necessary to override or extend the functionality in Maximo. This can be achieved by extending methods in the Maximo Business Objects.This article outlines the process involved in extending the out-of-the-box psdi.app.item.Item class to initialize the description field to a specific value. Create […]

Understanding Mbos and MboSets

This entry is part of the Maximo Java Development series. Maximo Business Objects (MBOs) are a set of Java classes that implements the data persistence layer and business rules in Maximo/TPAE infrastructure. Those Java class files are stored in the [SMPDIR]\maximo\applications\maximo\businessobjects directory and are packaged in the businessobjects.jar file.Roughly speaking there are two types of […]

How to schedule a CSV/XML file export through MIF

This entry is part of the Maximo Integration Framework series. In standard Maximo/TPAE there is no way to schedule the invocation of an outbound interface in order to periodically export a CSV or XML file at a specific interval. This can be accomplished with a little custom Java class. I have used the Java code […]

Best way to loop through an MboSet

This entry is part of the Maximo Java Development series. In this article I will describe some common ways of iterating through an MboSet and what is the best approach.In the following examples mboSet is the already holding the MboSetRemote that you need to traverse. Example 1 (worst solution) for(int i=0; i<mboSet.count(); i++;){ MboRemote currMbo=mboSet.getMbo(i); […]

Scroll to top