Using Active Objects to store data

Active Objects represent a technology used by JIRA to allow per-plugin storage. This gives the plugin developers a real protected database where they can store the data belonging to their plugin and which other plugins won't be able to access. In this recipe, we will see how we can store an address entity in the database using Active Objects.

You can read more about Active Objects at: http://java.net/projects/activeobjects/pages/Home

Getting ready...

Create a skeleton plugin using the Atlassian Plugin SDK.

How to do it...

In order to understand it better, let us look at the simple address entity example that we used in the previous recipe. This will also help in an easy comparison with PropertySet, if desired.

Following ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.