You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Hans Couder (JIRA)" <ji...@apache.org> on 2009/09/08 15:04:57 UTC

[jira] Updated: (SLING-1041) Easy Sling deployment in Apache Felix Karaf

     [ https://issues.apache.org/jira/browse/SLING-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Couder updated SLING-1041:
-------------------------------

    Attachment: SLING-1041.patch

Hi Juan,

I hotdeployed the feature descriptor I 've found in the folder contrib/launchpad/smx-kernel.
I had to make some changes to the bundle versions before it worked.
And I also added the webconsole feature of Karaf.

I've attached the diff with my changes to this issue.


Regards,

Hans

> Easy Sling deployment in Apache Felix Karaf
> -------------------------------------------
>
>                 Key: SLING-1041
>                 URL: https://issues.apache.org/jira/browse/SLING-1041
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Juan Jose Vazquez Delgado
>            Assignee: Juan Jose Vazquez Delgado
>            Priority: Minor
>         Attachments: SLING-1041.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> As you know, Apache ServiceMix Kernel is Apache Felix Karaf [1] now. It would be great to be able to deploy Sling easily in Karaf, as a feature for instance.
> If there aren´t cons opinions, I´ll make a new artifact besides the smx-kernel one. The path would be in contrib/launchpad/karaf. IMO, the smx-kernel artifact would be deprecated after a Karaf release happens.
> [1] http://felix.apache.org/site/apache-felix-karaf.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: sling and portlets

Posted by Markus Pallo <pa...@dig.de>.
thanks for your input, have to think about :-)

Markus

Carsten Ziegeler wrote:
> Markus Pallo wrote:
>   
>> Hello,
>>
>> we have the need to integrate some portles in our sling applications or
>> vice versa.
>>
>> I have seen that there are some incubator checkins to
>> incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal
>> for some pluto stuff.
>>
>> Has somebody any idea how to use portlets with sling and whats the use
>> case for above mentioned code ? And whats the status of it ?
>>
>>     
> The stuff in the whiteboard is a prototype to include portlets in Sling.
> You can write a Sling script which invokes the portal container and
> includes the output of a portlet at that place.
>
> The basic functionality is working like rendering and actions. But
> especially some of the JSR 286 features like eventing or caching are not
> implemented yet. (help is definitly welcome)
>
> So the idea is to have a fully JSR 286 compliant container which allows
> you to embed portlets in a Sling output.
>
> The other way, including output from Sling into portal can be done in
> several ways. You can develop a portlet accessing the contents from the
> repository through JCR, get json/xml representation from Sling or the
> full HTML output from Sling.
>
> HTH
> Carsten
>
>   


-- 
------------------------------------------------------------------
DIG Digitale Medienberatungs-
und Produktions- GmbH
Neckarstr. 1/5
78727 Oberndorf a. N.

Amtsgericht Stuttgart HRB 480914
Geschäftsführer: Carsten Huber
------------------------------------------------------------------
Tel: +49 (0)7423 8750 60
Fax: +49 (0)7423 8750 23
Internet: http://www.dig.de
eMail: pallo@dig.de

Ein Unternehmen der Schwarzwälder Bote Mediengruppe

 


Re: sling and portlets

Posted by Carsten Ziegeler <cz...@apache.org>.
Markus Pallo wrote:
> Hello,
> 
> we have the need to integrate some portles in our sling applications or
> vice versa.
> 
> I have seen that there are some incubator checkins to
> incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal
> for some pluto stuff.
> 
> Has somebody any idea how to use portlets with sling and whats the use
> case for above mentioned code ? And whats the status of it ?
> 
The stuff in the whiteboard is a prototype to include portlets in Sling.
You can write a Sling script which invokes the portal container and
includes the output of a portlet at that place.

The basic functionality is working like rendering and actions. But
especially some of the JSR 286 features like eventing or caching are not
implemented yet. (help is definitly welcome)

So the idea is to have a fully JSR 286 compliant container which allows
you to embed portlets in a Sling output.

The other way, including output from Sling into portal can be done in
several ways. You can develop a portlet accessing the contents from the
repository through JCR, get json/xml representation from Sling or the
full HTML output from Sling.

HTH
Carsten

-- 
Carsten Ziegeler
cziegeler@apache.org

Re: sling and portlets

Posted by Dominik Süß <do...@gmail.com>.
Hi Markus,

Day added the Portal Director to their (Sling-based) CQ5 portfolio this
march so I bet this code is the rudimentary base of this integration.
The integration in portlets should not be the hardest task since the
RESTfull URIs of Sling allow strikt forward webclipping with a bit of url
rewriting (so there should be some webclipping code for portlets out there
which you can start with).

The integration of portlets can be pretty hard since you should fullfill the
complete specification (JSR-168/JSR-286) if you don't want to just embed a
specific portlet. The nice about this task is... you DO have a detailed
specification (which isn't always the case when you have to integrate other
backends).

It might be worth asking Day directly if their solution is strictly bound to
CQ5 or may be reused for a pure Sling instance.

Best regards,
Dominik

On Tue, Sep 8, 2009 at 5:14 PM, Markus Pallo <pa...@dig.de> wrote:

> Hello,
>
> we have the need to integrate some portles in our sling applications or
> vice versa.
>
> I have seen that there are some incubator checkins to
> incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal
> for some pluto stuff.
>
> Has somebody any idea how to use portlets with sling and whats the use case
> for above mentioned code ? And whats the status of it ?
>
> Thanks for any reply.
>
>
> Markus
>

sling and portlets

Posted by Markus Pallo <pa...@dig.de>.
Hello,

we have the need to integrate some portles in our sling applications or 
vice versa.

I have seen that there are some incubator checkins to 
incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal 
for some pluto stuff.

Has somebody any idea how to use portlets with sling and whats the use 
case for above mentioned code ? And whats the status of it ?

Thanks for any reply.


Markus