Aadam
Aadam

Reputation: 1541

Integrating inspinispan with jboss or spring

I decided to freshly integrate infinispan. Also tried in both ways with basic example. First, integrating infinispan with jboss. Second, integrating with spring(Already have spring application) Which one is better in terms of flexibility and performance.

Upvotes: 0

Views: 68

Answers (1)

Sebastian Łaskawiec
Sebastian Łaskawiec

Reputation: 2737

In general - they should be equal in terms of performance because both integration modules (CDI and Spring) will produce Embedded/RemoteCacheManager under the hood.

Also, both are fairly similar in terms of features - Spring has Spring Caching and CDI can be used with JCache annotations. More complicated scenarios will require obtaining Embedded/RemoteCacheManager and implementing some custom code.

If you tell me more about your usecase - I might give you more accurate answer.

Upvotes: 1

Related Questions