• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

: Must a EntityBean map with a data table

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Must a EntityBean map with a datatable?
If could a EntityBean existing without its own
datatable?
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well entity beans represent persistent data, and this data could be accessible from a database or, through BMP, a flat file, XML, an object database, a legacy system and so on.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the EJB servers I'm familiar with use JDBC to handle the persistence for CMP EJBs. However, for BMP's, you can use whatever you like, since you are the sole provider for persistence in BMPs.
With the new J2EE, I think it may be possible to use a Connector, and it's even a good chance that WebLogic 7 can take advantage of that. Possibly other cutting-edge appserver releases as well. If not, either use BMPs or write a jdbc driver for your CMPs to use.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic