wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Map to View 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 "Map to View" Watch "Map to View" New topic

Map to View

Renata fonseca
Ranch Hand

Joined: Mar 15, 2002
Posts: 48
1 - Is it possible to map an Entity Bean to a view instant of a table?
2 - Is it possible to map an Entity bean to multiple tables?
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
The answer to both is yes, as long as your particular appserver supports it (some do, some don't). Take a look at the documentation.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
It is important to note that neither of these are standardized by the EJB Specification though as Lasse mentions many Application Servers do support them.
I agree. Here's the link: http://aspose.com/file-tools
subject: Map to View
Similar Threads
map view with the Entity Bean ?
map Entity Bean with the Stored Procedures (or) complex Schemas
Mapping Entity Beans
Entity Bean - View mapping