Identity Management (MOSC)

MOSC Banner

Are the OAM 11gR2 SDK (ASDK) classes/methods thread safe?

edited Mar 6, 2013 9:36PM in Identity Management (MOSC) 1 commentAnswered
Hi,
I have asked the question in the Subject in an SR that I opened, and the support tech said that he'd post to an internal dev forum, but I  thought that I'd ask here, just in case anyone knows the answer.

The reason for the question is that we are using the ASDK with a servlet, where we create an AccessClient instance in the servlet's init() method, and then make calls to that AccessClient instance's methods in the servlet's service() method.  

Since servlets are not inherently thread-safe, it seems like, if the AccessClient class and/or its methods are NOT thread-safe, that this approach that we're taking (create instance in init() method, then use it in the service() method) would be problematic, e.g., if multiple service threads are all using the same AccessClient instance.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center