Okay - I think I get your question - but let me reiterate in case:

The current portlet specification knows nothing of the concept of Seam Contexts 
- so how does a Portlet Context interact with a Seam Context. 

I think the next portlet specification (JSR 286 ? 268 ? I always forget the 
number) and the forthcoming Web Bean specification should attempt to address 
the following scenarios:

1. Multiple portlets and Seam components deployed in a single EAR file 

Are Seam component instances shared across portlet instances and portlet 
classes when all are deployed in the same application ?

2. Multiple portlets and seam components deployed in separate EAR files

Are Seam component instances in EAR A accessible to Portlet classes deployed in 
EAR B ?

Test 1:

The Seam Guess a Number portlet from this thread with a second portlet class 
that allows the user to 'Set' the secret number.

Test 2:

Same as Test 1 - with the second 'Set the Number' portlet deployed in a 
separate EAR file.

Assuming the result of these tests show that Seam components can be shared 
across portlets in JBoss Portal (would be a neat 'feature' - and would make all 
of the folks like me out here playing with JB Portal and Seam together happy) - 
there are no guarantees that it will work in Jetspeed or other JSR168 
containers since JSR168 has no knowledge of 'Contextual components'. 

I don't know how much of Seam Context is based on HTTPSession, and what layer 
it 'insinuates' itself in (overtop of JBoss Portal PortletSession, underneath 
of JBoss Portal PortletSession -- interleaved with PortletSession on some kind 
of lucky namespace coincidence ? - I suppose I could read the code, but the 
tests above will likely take me as long since I'm better at writing than 
reading.)

I can take some time this weekend to frame up those tests - but I suspect Gavin 
or others here might already know whether either of these scenarios work. 

Also - just catching up on the thread - did anyone else get the Seam Portlet 
example I posted to work ? Is it Wiki worthy ? Is there changes I should make 
before I make a formal contribution to the Wiki ?

Thanks for reading

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to