addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

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

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

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

You might want to look at embedding java-fx for the richer media capabilities: 



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, 8-10th June 16

  • SkillsMatter

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

  • IBM

    Build Enterprise-grade apps at start-up speed.

  • New Relic

    New Relic makes sense of billions of metrics a day in real time.

  • Hazelcast

    Hazelcast is the leader in operating in-memory computing.

  • 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.

  • Craft Rebellion

    Your choice of fresh craft beer, delivered. For 10% off use ‘LJC'

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