Re: [ljc] Managing static content in a java web application

From: Ged B.
Sent on: Friday, January 11, 2013 9:51 AM
Hi,

Could you give a little more detail about the problems you are facing.

It seems you have two: storage and presentation.

On the storage side you need a repository where the administrators can manage their media.  I take it that you have complete freedom here and that you can use a server hosted CMS.

On the presentation side you need to be able to pull the media from the CMS and render it for the user.  

Getting the content from the CMS isn't difficult.  All of the CMS provide APIs and with CMIS they are developing a common interface.

Would I be right in saying that your key problem is rendering the media in the client.   I take it you have a fat client.  Is it Swing?

If this is your key problem then you have two key questions:
  • What technology are you using for the client.
  • What format do you expect the media to take.
If you were just dealing with text then I'd suggest a Wiki style would be you're simplest option.  Use an open source tool to render the wiki markup into html and then use a simple embedded browser.

The video is trickier, and you might want to use something different for that.  Perhaps http://fmj-sf.net/?

You might want to look at embedding java-fx for the richer media capabilities: http://lobobrowser.wordpress.com/2008/12/29/javafx-video-in-a-swing-application-technically-doable/ 

Regards, 



Ged



On 11 January[masked]:07, Richard Nduka <[address removed]> wrote:
ted web based procurement platform (Java/Spring MVC) to enable organisation administrators manage the content of about 3 or 4 static pages and specify the content they want their users to see (text, video, images, etc). Typically this would have been easily achieved with a CMS (with our application build within the CMS) but ours is a mature product. We are looking at a possible solution whereby a CMS hosts the content and we can get the content via an API for rendering within our application but not quite sure yet if this is workable. Have any of you ever encountered a similar problem? How did you solve it? Is a CMS indeed neccessary at all for this 4 pag


Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference, in collaboration with the LJC 12/13 Jun 14

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • Packt Publishing

    A publishing company specializing on specific technologies and solutions

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy