-
1. Re: Seam with multiple web pages
modoc Oct 26, 2007 8:10 PM (in response to schradermj11)I'm unsure as to why you want pages to live outside of the ear? If you have multiple sites or applications sure, but pages? If there are logical groupings why not just deploy multiple wars in the ear?
I know that doesn't answer your question, but I'm not sure what probably you're really trying to solve. -
2. Re: Seam with multiple web pages
schradermj11 Oct 26, 2007 8:22 PM (in response to schradermj11)What I meant is I do have multiple sites. But I want those sites to pull their data from the Admin page. The reason I'm posting this is because I know my way of doing this might not be the best solution so fire away with ideas :)
-
3. Re: Seam with multiple web pages
pmuir Oct 27, 2007 6:10 AM (in response to schradermj11)As devon says, multiple war's in a single ear is the simplest solution. Alternatively you can use remote ejb interfaces to communicate between applications and use Seam/EJB3 in each application.
-
4. Re: Seam with multiple web pages
diegocoronel Oct 27, 2007 8:43 AM (in response to schradermj11)this is the question i tried to do a few days ago, so, if i got multiple war´s in same EAR can i have 1 authentication ? because it wasnt working with multiple ear's.
again, sry about my english ... :) -
5. Re: Seam with multiple web pages
shane.bryzak Nov 1, 2007 7:36 PM (in response to schradermj11)"DiegoCoronel" wrote:
this is the question i tried to do a few days ago, so, if i got multiple war´s in same EAR can i have 1 authentication ? because it wasnt working with multiple ear's.
What wasn't working? Was an exception being thrown? -
6. Re: Seam with multiple web pages
diegocoronel Nov 6, 2007 10:58 PM (in response to schradermj11)There was no exceptions, the problem is that i have 2 wars, /segurancaWeb and /generalWeb, my segurancaWeb use authenticator and im doing the login normally, when im in /generalWeb and try to use s:hasRole('xxx') my roles arent in the context, it is like i need to login again, when i come back to /segurancaWeb/ any page my login is ok... so, i wanna something like JAAS, all my roles to be visible in all wars /segurancaWeb/ and /generalWeb/ with 1 authenticar, i need single sign on, is there any way to do that ?