aspose file tools
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Map to View" Watch "Map to View" New topic
Author

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
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.
 
rocket mass heater kickstarter
 
subject: Map to View