[Design of POJO Server] - Re: JBAS-6104; slow Seam deployments
by alesj
"pete.muir(a)jboss.org" wrote : I think it would also be an idea to get an idea of how long getting a URL in JBoss 4 takes for comparison
This doesn't make sense, as it's completely different resources handling strategy.
JBoss4 (more of a guess, since I didn't do it and never really looked how it's done):
It copies every jar into temp. Same with nested.
But when it references those jars, it returns URLs with the temp paths.
JBoss5:
Impl details are VFS based:
- deployment
- metadata
- classloading
- ...
All these pieces work on the same VFS roots.
Once something is unpacked/read-in-memory, the references are kept internally,
hence the same instances will work on the same (temp) files / memory.
But the returned URLs are not exposing impl details == no pointing to temp files.
I'll open a MC dev discussion on this URL+VFS issue.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184779#4184779
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184779
16 years, 2 months
[Design of JBoss Identity] - Re: JBoss Identity Design Preview
by jeff.yuchang
"bdaw" wrote : This is something I was thinking about from the beginning. It can be done by keeping reference to the session in identity model classes. The main problem I see is the mix of two approaches:
|
| - most management methods in the model objects (Identity/Group/Role)
| - all management methods in manager objects connected to the session (the only reason to have 4 separate managers is to not end up with 100 methods in IdentitySession)
|
| Now to mix - some methods in Identity/Group/Role and some in managers
|
| Most of the search/find/resolve methods need to remain in managers anyway. Now if you think about the assignments you can place methods you mentioned in the Identity/Group but those operating on the collections will need to remain in the managers:
|
| public void associateGroups(Collection<Group> parents, Collection<Group> members) throws IdentityException
|
| Also you can have
|
| group.findAssociatedGroups(GroupType groupType, boolean parent, boolean inherited, ... )
|
| but then you still need to keep few of findXXX methods in the manager as they don't belong to one model object... What I'm afraid of is the confusion of users where to look for certain methods. That's why I decided to put all all methods in the managers.
|
|
Exactly the issue that I am worrying about with my suggestion, thats what I mean complexity on the implementation, and say 'I just bring about this issue'. ;-(. We may keep it as it is now, cause I haven't come up a easy way to accomplish this change. Not sure others will have a better way?
-Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184751#4184751
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184751
16 years, 2 months