This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes : Must a EntityBean map with a data table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark ": Must a EntityBean map with a data table" Watch ": Must a EntityBean map with a data table" New topic
Author

: Must a EntityBean map with a data table

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 150
Must a EntityBean map with a datatable?
If could a EntityBean existing without its own
datatable?


public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
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

Joined: Jun 25, 2001
Posts: 15951
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: : Must a EntityBean map with a data table
 
Similar Threads
Showing a List of Maps in a dataTable
question about entity bean
Passed Part 2 and 3 with 90
dataTable question
ejb 3.0 vs ejb 2.0 vs Hibernate revisited