Forums Register Login

JNDI in EJB connecting to oracle

+Pie Number of slices to send: Send
hi all,
i am making my BMP reference to the book <Mastering EJB>, but i met a problem in JNDI connecting BMP with Oracle. Is it necessary to config weblogic, and how to do that? Is it correct to config that in ConnectionPool and DataSoure? making a Naming in BMP bean? and how should i name that ? should it be "java atasource" or something else? what else should i do? Can any one give me some suggestion?
+Pie Number of slices to send: Send
kevin
you need to create datasource(you would be looking up this datasource for getting benifit of implicit connection pooling in appserver).
you can either create it using websphere or weblogic console or by manualy coding(run time creation)before u look up this datasource.you can give any pseuodo name to this datasource.The key point is you will be using the same name to look up.
classes12.zip(Type 4 driver for oracle) in oracle provides class(ConnectionPoolDataSource.class) for using datasource . you need to provide this class in weblogic while creating datasource.

Originally posted by kevin chang:
hi all,
i am making my BMP reference to the book <Mastering EJB>, but i met a problem in JNDI connecting BMP with Oracle. Is it necessary to config weblogic, and how to do that? Is it correct to config that in ConnectionPool and DataSoure? making a Naming in BMP bean? and how should i name that ? should it be "java atasource" or something else? what else should i do? Can any one give me some suggestion?

 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 605 times.
Similar Threads
help please ....
Database connection
Adding Oracle datasource inside JBOSS
Perpetual Execution at Intervals ???
CMP with JBoss
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:36:09.