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.
B) Will Seam access (and resolve for JSF) Entity Beans when they are defined outside the application but within the same JVM?
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.
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.
You will need to use scoped classloading. In all our examples, we have a jboss-app.xml for that reason.
Very nice. I'll study the examples.