Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Configuring Database with EJB

 
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: 35762
412
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
 
Why is the word "abbreviation" so long? And this ad is so short?
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!