This content has been marked as final.
Show 4 replies
-
1. Re: Questions on JBoss/Seam enterprise app architecture.
gavin.king Feb 3, 2006 1:17 PM (in response to cjalmeida)"cjalmeida" wrote:
A) I want to have multiple applications interacting with the same Entity Beans (an ?Order? bean should be accessible from the ?Manufacturing? app and the ?Sales Mgmt?, a ?User? bean should be accessible everywhere). What's the best approach so I don't have to deploy the same .ejb3 containing User over and over?
By "multiple applications" you mean multiple EARs? You would need to deploy the same entities in each EAR."cjalmeida" wrote:
B) Will Seam access (and resolve for JSF) Entity Beans when they are defined outside the application but within the same JVM?
No."cjalmeida" wrote:
C) Since 70% of the application is mostly a ?web database front-end with few tweaks? (the rest is workflows and infra-structure), is there a JSF (or Facelets) ?autoform? widget that nicely displays a bean and CRUD related components needing very little information from the developer? (Hum... why am I thinking of Rails?)
We have started prototyping some databound controls, but for the moment, the best approach is the reveng tool. -
2. Re: Questions on JBoss/Seam enterprise app architecture.
cjalmeida Feb 3, 2006 2:19 PM (in response to cjalmeida)Thanks for the reply Gavin.
I guess the answer for both A and B will be duplicating my entity beans. Hopefully, I can set up ant to build one ejb3 and copy it into the multiples ears.
But won't it confuse the deployer or the classloader? Is there a problem to deploy "beans.ejb3" multiple times inside different EARs?
As for the dababound controls it would be a very nice feature.
C. J. -
3. Re: Questions on JBoss/Seam enterprise app architecture.
gavin.king Feb 3, 2006 2:25 PM (in response to cjalmeida)You will need to use scoped classloading. In all our examples, we have a jboss-app.xml for that reason.
-
4. Re: Questions on JBoss/Seam enterprise app architecture.
cjalmeida Feb 3, 2006 2:30 PM (in response to cjalmeida)Very nice. I'll study the examples.
Thx again.