Thread: Context Resolvers...

Forum : XML and XML Programming.   26-3-2016 12:00:00 AM
User Image


Joined: Apr 20, 2017

Points: 100

Threads: 1

Posts: 0

Context Resolvers...

| Quote Date : Mar 26, 2016    Views:807    

In order to make JaxBContext object as a singleton , we are using ContextResolver class and we are adding that ContextResolver class to Application class ,to make it as a singleton..,but why we are not directly add JaxBContext object to Application class singletons, to make it as singleton..?

tags: java


User Image


Joined : Apr 20, 2017

Points : 100

Threads: 1

Posts: 7

Re: Context Resolvers...

Reply Date : Mar 26, 2016

if u add JaxBContext object to Application class, then how can u use the same JaxBContext object in your classes?

Load More

No More Comments