[opencms-dev] CmsLinkManager, OpenCms / WebLogic portal integration

Jason Trump jason.trump at brulant.com
Thu Aug 18 15:13:24 CEST 2005


Hi Robert,

We (my team and I) have a partial implementation of the WebLogic SPI for
OpenCms written.

I hope to be able to publish much of the code I write as open source,
but I am waiting for the necessary approval from my client (since they
own the code that I write) and from my employer.  Of course I have
presented the strong case that publishing the code is in the client's
best interest.  Hopefully I will have something to share with you soon.

Until then, I can at least discuss how we got things working, if that is
helpful.  Once I get the approval, perhaps we can post some code to the
list or elsewhere so that both of us don't have to cover all of the same
ground.  Have you made much progress?  Here is what we have
accomplished:

What is working:  weblogic content management tags like <cm:getNode> and
<cm:getProperty> retrieve data from the OpenCms VFS, and content
servlets like ShowPropertyServlet can retrieve data from the VFS.   You
can browse the contents of the OpenCms repository in the weblogic portal
admin application, and see property values on both folders and files. 

What isn't working:  We haven't integrated the search features yet, so
the <cm:search> tag and content placeholders don't work.  Also
hyperlinks created in OpenCms documents (using the <cms:link> tag)
aren't correctly translated into links that work in the portal -- this
is what I was getting at in my first email to the list.  We are actively
working on both of these features.

I have yet to get OpenCms static export to work at all when running in
WebLogic.  I would like to see this feature work, but if not, I suppose
we can just leave it disabled and settle for the numerous caching
features already built in to WebLogic portal.

We have not implemented (and don't plan to implement) any sort of
write-access from weblogic, so we can't use the weblogic portal admin
app to change anything in the OpenCms repository.  Someday I would like
to implement VCR "library services"; for example, moving a content node
to the "published" state in WebLogic would cause the file to be
published to the Online project in OpenCms.  However, this is not a
requirement for us.

-jason

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> bounces at opencms.org] On Behalf Of Robert Kock
> Sent: Wednesday, August 17, 2005 3:07 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] CmsLinkManager, OpenCms / WebLogic portal
> integration
> 
> Jason,
> 
> I'm trying to do the same.
> Can you give me more details on what you realised by now ?
> Maybe we can work together to sove this and than post the results ?
> 
> Greetings Robert
> 
> 
> 
> Hello all,
> 
> I am working on integrating OpenCms 6.0 and WebLogic Portal 8.1.4.
> Firstly, congratulations on a great product.  6.0 is my first
experience
> with the system, and the feature set is truly impressive.  I have also
> found the sources very easy to read and the documentation quite good.
> 
> I found this (very old) message
> (http://mail.opencms.org/pipermail/opencms-dev/2003q3/007129.html)
> wherein someone was trying to do the same thing, but nothing more
after
> spending some time in google, BEA dev2dev forums, and in the
opencms-dev
> mailing list archives.
> 
> Anyway, I've had great success getting basic access to OpenCms through
> WebLogic's Virtual Content Repository.  There are a few things proving
> difficult:
> 
> 1. I would like to change the behavior of CmsLinkManager so that the
> generated links render correctly in the portal.  Unfortunately, I do
not
> see a way to reconfigure the default implementation of CmsLinkManager
> (or other core classes accessed via org.opencms.main.OpenCms).  It
seems
> that patching the CmsLinkManager source is the only way to proceed;
can
> anyone suggest a better way?  Are there long-term plans to make any of
> the "OpenCms operating system" services runtime configurable?
> 
> 2. I want to provide some integration between OpenCms and an external
> image repository.  For example, it would be cool to have a gallery
> widget for choosing these images in an XML document editor.  Can
anyone
> recommend another module that does this type of thing, or point me to
a
> place in the code to start reading?
> 
> I also noticed that the feature list for 6.0 indicates some kind of
> EJB-based architecture, but I can't find evidence of this in the
> sources.  I know that other people have asked this question to the
list
> before, but I can't find an answer in the archives.
> 
> Any answers or discussion would be much appreciated.
> 
> Thanks,
> jason
> 
> 
> JASON C. TRUMP
> Senior Consultant
> 216.896.8941 / direct
> jason.trump at brulant.com
> 
> BRULANT, Inc.
> 3700 park east drive, suite 300
> beachwood, ohio 44122
> 216.896.8910 / phone
> 216.896.8991 / fax
> brulant.com
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list