[Design of JBoss Portal] - Re: jboss-portlet.xml documentation
by roy.russo@jboss.com
Ezra, sorry the docs I posted last week are not complete, as were in the RC cycle for 2.4.
I will try and update the docs online tomorrow, as the current are all sitting in CVS. Heres what I have locally:
| 6.1.3.2. Injecting Services in the portlet context
|
| <portlet-app>
| <service>
| <service-name>UserModule</service-name>
| <service-class>org.jboss.portal.identity.UserModule</service-class>
| <service-ref>:service=Module,type=User</service-ref>
| </service>
| </portlet-app>
| Injects the UserModule service in to the portlet context, allowing a portlet to then leverage the service. For example:
|
| UserModule userModule = (UserModule) getPortletContext().getAttribute("UserModule");
| String userId = request.getParameters().getParameter("userid");
| User user = userModule.findUserById(userId);
|
|
|
The difference you're seeing is how the contexts are mapped to services. Look in jboss-portal.sar/portal-core.sar/META-INF/jboss-service.xml for the mbean definitions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957588#3957588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957588
19 years, 9 months
[Design of JBoss Collaboration Server] - Re: Collaboration other services?
by enazareno
Hi,
Currently we do not have yet instant messaging and I have started evaluating projects like Jabber, but when we switched to Jboss solutions, we trashed it. Since Jboss named it collaboration server instead of just mail server I was kind of expecting there were other projects too. So does this mean there are no plans for this kind of stack? Jboss basically has the basic messaging ingredients already, so I assumed.
With SMS, yes we have built one too using serial communications and a modem. But it wasn't implemented because it was kind of expensive to pay for every message sent:(. And also I think USB is the trend now, so I don't think I want to go back to that solution. But I have seen there are SMS gateway projects that never mention a modem. Is it possible to send like the way email is sent? free? Or is there a always a modem behind it?
Anyway, thanks for your time. IM for us right now is not ASAP, but if there are plans going in this direction for JBCS, I would be glad to help in any way.
Regards,
Elmo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957584#3957584
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957584
19 years, 9 months