Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Configuring Database with EJB  RSS feed

 
Aman Verma
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I'm new to EJB. please any one tell me how to configure a database table with an entity bean? I know how to map fields of an table with the fields to an entity bean...but i dont know how to configure the database with EJB.
any pointers regarding this will be a great help.

thanks,
-Aman
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aman,
Welcome to JavaRanch!

You don't have to do anything to the database itself. You do have to create a datasource, etc on the application server. Which one are you using?
 
Aman Verma
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using oracle.How to create a datasource in application server.Im using Jboss

Thanks
-Aman
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!