uPortal IRC Logs-2012-05-16

[13:08:46 CDT(-0500)] <drewwills1> morning... anybody ever heard of a method of allowing a spring bean to be accessable to multiple webapps?

[13:16:47 CDT(-0500)] <athena> no . . . seems like that might not be a good idea, either

[13:17:21 CDT(-0500)] <holdorph> Sakai does it, but in a vary Sakai-specific way

[13:17:30 CDT(-0500)] <athena> well, yes

[13:17:33 CDT(-0500)] <holdorph> they have a whole components infrastructure built to support that

[13:17:37 CDT(-0500)] <athena> but i'm not sure that's really something we'd want to emulate

[13:17:56 CDT(-0500)] <holdorph> wasn't saying it was. but drew didn't specify what kind of method he was after

[13:18:08 CDT(-0500)] <holdorph> his statement seemed of general inquiry

[13:19:07 CDT(-0500)] <holdorph> and for as many problems as the sakai way has, I have to admit it also has some nice parts to it as well.

[13:20:19 CDT(-0500)] <athena> perhaps, though i'm not sure it's worth the classloader hell, etc. that results from it

[13:20:36 CDT(-0500)] <holdorph> once you try sharing something amongst webapps

[13:20:36 CDT(-0500)] <athena> drewwills1: do the things using the beans definitely need to be separate webapps?

[13:20:47 CDT(-0500)] <holdorph> it doesn't matter what way you do it, you're going to get into classloader hell

[13:21:54 CDT(-0500)] <athena> yes

[13:40:07 CDT(-0500)] <drewwills1> thanks for responses... looks like I may be able to export a bean w/ JNDI

[13:40:13 CDT(-0500)] <drewwills1> pick it up on the other side

[13:40:51 CDT(-0500)] <drewwills1> I'm involved in developing a set of portlets that really need the PersonDirectory API

[13:41:14 CDT(-0500)] <drewwills1> it would be awesome to pick up the IPersonAttributeDao configured for uPortal

[13:41:19 CDT(-0500)] <drewwills1> and just use it

[13:41:39 CDT(-0500)] <athena> yeah, that sounds like a reasonable use case

[13:41:54 CDT(-0500)] <athena> we've also talked about wanting to use groups/permissions information from the portal

[13:42:10 CDT(-0500)] <drewwills1> http://static.springsource.org/spring/docs/3.1.1.RELEASE/javadoc-api/org/springframework/jndi/JndiTemplate.html

[13:42:24 CDT(-0500)] <athena> the other strategy we've talked about is creating a library that wraps calls to uPortal's REST servcies

[13:42:26 CDT(-0500)] <drewwills1> looks like there's a method for bind()

[13:42:57 CDT(-0500)] <athena> and if you have a webapp that's part of the portal, you don't have to worry about the session issues, so that might be pretty feasible to use REST

[14:22:59 CDT(-0500)] <JoeMoore> Would someone have a few minutes to look at a problem with importing a fragment definition for a PAGS group?

[14:23:43 CDT(-0500)] <JoeMoore> The group is defined in PAGS and shows up in the hierarchy, but data-import says:

[14:23:55 CDT(-0500)] <JoeMoore> Group with name 'Brown Hall (PAGS)' not found for org.jasig.portal.layout.dlm.providers.GroupMembershipEvaluator. All evaluations will return false.

[14:26:00 CDT(-0500)] <JoeMoore> I can post logs, fragment definition and appropriate piece of PAGSGroupStoreConfig.xml if someone wants to take a look

[14:26:09 CDT(-0500)] <JoeMoore> to pastebin