Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 2/3/2008; 9:17:13 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

May 2005
Sun Mon Tue Wed Thu Fri Sat
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 31        
Apr   Jun

Get Firefox!

Tuesday, May 31, 2005

An Oracle consultant emailed me with a question today asking if it was possible to provide the JDBC connection information from some other place than the information in the bc4j.xcfg file. Of course one approach is to use a JDBC Datasource, where the connection information is configured at the J2EE container level. If you're using JDBC URL connections, on the other hand, the connection credentials are kept in the bc4j.xcfg file along with other settings. If you have a lot of separate application modules, and you change your connection information between development and production environments, it might be more convenient to invent a custom strategy for providing the application connection credentials. I've added example #38 to my undocumented examples page with the code needed to accomplish this.


7:24:37 PM    



© Copyright 2008 Steve Muench.