Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Alternatives for Active Objects and ApplicationProperties

Hello,

We would like to start the process of adapting our plugin to JIRA Data Center.

Currently, the plugin uses Active Objects and ApplicationProperties to store various user settings and information.

I would like to ask for information if Active Objects and ApplicationProperties can still be used, and if not, is there any suggested alternative for them?

Regards,
Mik

1 answer

0 votes

Hi,

I would suggest using AO with a cache (replicated by invalidation). 

public SomeManager(CacheManager cacheManager) {  
cache = cacheManager.getCache(
getClass().getName() + ".cache", //cache name
this::loadValueForKey, //cache loader backed by AO
new CacheSettingsBuilder()
.remote()
.replicateViaInvalidation()
.unflushable()
.build(); // cache replicated via invalidation
)
 

Depending on amount of data and usage pattern ApplicationProperties may not be optimal (underlying data store based on the OfBiz PropertySet, shared db structure and cache between all other PropertySet clients).

Regards,

Mac

Hi Mac, thanks for the quick reply.

There is very little data saved with AO.
Only one entity interface and just a few values (plug-in settings) saved with ApplicationProperties. Are changes also suggested in this case?

Regards,

Mik

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Data Center

Introducing Data Center Community licenses

I'm Alison Huselid, Head of Product for Data Center at Atlassian. As we shared in our last post, we’ve been working on a solution for those of you who work for charitable non-profit organizations tha...

3,407 views 24 82
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you