Joachim Müller wrote:
Hi all.

I want to extend the jetspeed portal with new spring configured
services, similar the JetspeedPortletServices.

Using a portal.genapp.miminal codebase and several portal applications
that deploy into this portal container:

How can I define new services that are known to the portal applications
via the standard way of accessing the services

service = (MyService)context.getAttribute(<name of service component>);

without changing the jetspeed codebase (i.e. jetspeed-api)? Is there a
easy way that the developers already have had in mind?

(Defining the services in the portal container is not the problem, but
how can I access them in the portal applications?)

Is there a reason why you cannot put the service in the portal's WEB-INF/lib directory and then make it avalialbe to ALL portlet applications as a jetspeed service?

What I usually do is structure my custom build like this:

/custom-project
    /applications
        /custom-app1
        /custom-app2
   /services
       /custom-service-1


custom-service-1.jar is built and dropped into the portal's WEB-INF/lib directory.

If a service is specific to one application, arguably it should not be a jetspeed service. Many portlet apps have their own Spring version built into the webapp (like Spring MVC portlet apps for instance). So you can manage your own Spring components inside your app.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to