This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connection pool

 
suresh pulapally
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

we are developing one application which will be accessed by 500 concurrent users.so we r created connection pool and datasource using weblogic(we r using weblogic 7.0.5).i placed properties in xml file and everytime iam reading from xml file, the properties are
prop.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
prop.put(Context.PROVIDER_URL,"t3://localhost:7001");

actually iam new to this,is this properties r enough or anything i have to add properties.what properties should i modify before giving it to client.

in second property should i modify "localhost" string to their server address..or this will be as it is.

thanks
suresh
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I'm not sure what kind of client you're referring to. Remote client? Servlet client within same or different WLS application? Plain java application?

You could check out the BEA documenation: Setting Up JNDI Environment Properties for the InitialContext section of BEA WLS 7.0 documentation on Programming with WebLogic JNDI.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic