• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help me.....in configuring database to J2EE  RSS feed

 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using J2EE I could successfully do session beans now entered into entity bean. I got stuck up with database connection. I tried a lot to bind my db to JNDI, I followed instructions as it is in J2EE documentation but could not succeeded.
Is there any way that I can connect to the J2EE other than JNDI. like using DSN?
If so wher should I configure that...
I am using mssql. (hlep for mysql also ok)
any help is appriciable.
Thanking you in advance.
Saradhi
[ February 18, 2002: Message edited by: pardha saradhi ]
 
Mathias Andrae
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which appserver do you use?
The connection between the appserver and an CMP-Entity-Bean will be done with a deployment-tool, which is delivered with your appserver or your IDE. (mostly with the appserver)
 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Andrae
I am using J2EE server.
But how to bind the database to JNDI?
or can I use DSN?
I tried a lot to configure database to JNDI but could not succeeded and I have been posting this question many times but no hepl till now
I am using J2EE as app server
Ms Sql server as database
Please if you have any idea help me.
thanking you in advance
 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any one please help me
Thanking u in advance
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!