[jboss-user] [JBoss Seam] - Multiple Domain Quesiton

rjstanford do-not-reply at jboss.com
Fri Apr 6 09:59:30 EDT 2007

I should preface this by saying that I'm very familiar with Struts, somewhat with Spring, but new to Seam and full-fledged EJB apps in general.  So this may be a stupid question, but I can't find a good answer anywhere (probably searching on the wrong stuff).  Anyway...

I'm modelling a new application, and I really want to use Seam for it.  I think that after a week or two of fooling with it so far I'm already more productive than I was in Spring when I started, and that's saying something.  Here's the deal.  I need to be able to provide different functionality, and different content, based on the domain portion of the URL, and I'm not sure what the best, "SEAMiest" way to do that would be.

Normally, I'd just use a filter.  That doesn't seem to fit well with the paradigm here.

You can think of the app as something like Typepad.  Its not, but that's a close enough approximation for this discussion.  There's a central application that's used for configuration and content creation, then the app can be accessed through a ton of different customer domains and should serve up specific content.  For cluster cache reasons, I really want this to be a single app.

Now, I'm new to EARs in general.  Should this be done as two separate WAR applications?  Or can I just do one large app with some redirection logic somewhere?  Any advice is welcomed, and thanks.


ps: Cool product, guys.  Seam really rocks.

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

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

More information about the jboss-user mailing list