e hënë Tet 28, 2013

Programatically accessing information from connections.xml in ADF

Recently I encountered a usecase where I needed to read connections.xml entries programatically. I did a google search and couldnt easily find out solution .

Here is how we can do it

ADFContext.getCurrent().getADFConfig().getConnectionsContext().lookup("ApplicationDB")

Njoy!




e hënë Sht 24, 2012

Wildcard SSL certificate support in Weblogic

Weblogic by default doesnt validate ssl certificates with wildcard entries. i.e. with cn = *.example.com . The impact of this is any ssl handshake which involves these kind of certificates are by default rejected.

A clean resolution for this is to use custom hostname verifier and point the same to use the class

weblogic.security.utils.SSLWLSWildcardHostnameVerifier

To make this change,

  1. Launch WLS console
  2. Click on Environment -> Servers on your left
  3. Select Admin Server
  4. Then go to SSL tab
  5. Lock & Edit
  6. Scroll down and expand advanced section
  7. Here change Hostname verification entry to Custom Hostname Verifier
  8. Below in Custom Hostname verifier enter "weblogic.security.utils.SSLWLSWildcardHostnameVerifier"
  9. Restart weblogic



e enjte Mar 08, 2012

8 Qualities of Remarkable Employees

Forget about 7 habits. Here are 8 qualities which will make u rockstar at your work. I miss the fourth quality though!

e enjte Qer 16, 2011

Book on Fusion Applications

Stumbled over this Fusion Apps book from Olivers blog. You can download sample chapter here.

e enjte Qer 02, 2011

Mock Objects for Unit Testing

Been working on writing unit tests for my business logic and one major hurdle which I faced is to handle external dependencies. Though mocking objects is an obvious solution, if your project is complex and the objects to be mocked are complexly wired, then mock object injection becomes a very interesting challenge.

Found a very nice article which suggests few interesting ideas to achieve the same. This should really help in planning your unit tests.

Happy mocking!

e premte Mar 18, 2011

Oracle SOA Suite on Virtual Box

[Read More]

e hënë Mar 14, 2011

Hello World!

[Read More]
About

bocadmin_ww

Search

Categories
Archives
« prill 2014
DieHënMarMërEnjPreSht
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today