[jboss-user] [JBoss Seam] - Extracting service. Joining tables across schemas. Using Hib

kummer do-not-reply at jboss.com
Thu Apr 12 12:45:22 EDT 2007


Hello Seamers

I'm doing a pilot Seam application for my employer, which already uses Hibernate and Spring. We like the ease of use, but we are wrestling with some questions.

1. We would like to factor out any reusable "business logic" into a service layer, possibly in a different EAR. It is clear that we can access EJBs remotely from Seam, but can we deploy Seam's session beans to a different EAR and access it from the rest of the application. Is it advisable?

2. We have concerns about hardcoding the OR-mapping in the Java annotations. Is it possible to use Hibernate xml mappning files for part of the mappings along with the annotations?

3. Is it possible to map tables in different schemas to the same network of objects, without hardcoding the schema names in the Java source files?

We will be grateful for any input (and RTFM advice as long as it includes page numbers).

TKummer



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036798#4036798

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036798



More information about the jboss-user mailing list