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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,541
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events