Slashdot Mirror


Open Source CMS Solutions Based on Java?

namityadav asks: "I've been looking for an open source Content Management System (CMS) which is widely used / supported, and has features like web-logging, online communities, RSS feeds, forums, polls, calendars, website searching, and so on. The most obvious choices are Drupal (I've played with it in the past) and Joomla, however both of them are PHP based. Since I am a Java developer, I wanted to find something based on Java. To my surprise, I could find some very weak Java based alternatives to Drupal, like MMBase, OpenCMS and Magnolia. Why is it that there are so many PHP based open source CMS which are hugely successful (Drupal is used by The Onion, Spread Firefox, and more), but there is not even one comparable solution based on Java?"

7 of 153 comments (clear)

  1. Re:Maybe because people turn it off? by chris_mahan · · Score: 4, Informative

    I'm pretty sure he's talking about java on the server, delivering (x)html+css+javascript to browsers.

    --

    "Piter, too, is dead."

  2. They do exist by Jagungal · · Score: 3, Informative

    There are a few out there. Alfresco http://www.alfresco.com/ looks the most interesting.

    I agree though, doing a CMS in PHP is such a kludge, it would be good if there were some good solid java alternatives that could match the ease of use of something like Joomla or Drupal. Something using of the of popular frameworks such as Tapestry would be good as well.

    As for hosting, there are plenty of VPS services out there that are quite cheap and host server based java applications just fine.

  3. Few ideas... by toxygen01 · · Score: 3, Informative

    Obviously one would check http://www.opencms.org/

    OpenCms is based on Java and XML technology. Therefore it fits perfectly into almost any existing modern IT infrastructure. OpenCms runs in a "full open source" environment (e.g. Linux, Apache, Tomcat, MySQL) as well as on commercial components (e.g. Windows NT, IIS, BEA Weblogic, Oracle DB).

    or you can check other Open Source CMS on wikipedia. Comparison of content management system

  4. Re:Why not... by Propaganda13 · · Score: 3, Informative

    Not an answer to the OP, but a helpful link to everyone
    http://www.opensourcecms.com/

    They have online demos of 40+ open source cms's. A nice way to try a few out before installing a cms yourself.

  5. Re:Poor Java Support with Webhosts by doktorjayd · · Score: 3, Informative

    web hosts may provide poor support, but claiming its hard to get tomcat and apache to work together is BS.

    setting up tomcat and apache is dead simple.

    $> sudo yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps httpd

    add proxy mapping for httpd -> tomcat on the ajp protocol in httpd.conf:

      [ ProxyPass / ajp://localhost:8009 with httpd 2.2,
          mod_jk for earlier httpd ]

    add a html file to $TOMCAT_HOME/webapps/ROOT/, name it blah.jsp

    browse to your http://webserver/blah.jsp

    there ya go, your very first jsp page, set up in minutes.

    first time i needed to get this going ( talking tomcat 3.x here, 6+ years ago? ) took less than an hour to google and implement. the bits and pieces have improved over time, and as the above should attest, it isnt rocket scientry these days.

    setting up for a production system is only slightly more involved, and typically has more to do with the application itself than the container ( tomcat ), or the java runtime. most off-the-shelf java webapps ( see jira, confluence, wildfire) will have the step-by-step for the particulars of setting up the environment for the specific needs of the application deployment. say.. dont a lot of php apps also require tweaks to the environment? apache and or php.ini? and how many shared hosts allow you to set safe_mode?

    developing a full blown cms? well, if the above is beyond you, then you should probably give up on php as well.

    the real issue here is that there are very few hosting services who are in the market for java hosting. perhaps the demand isnt there? perhaps most shops deploying java webapps run it all in-house or manage their own hosted environments? java has been my bread and butter for years now, and never once have the customer ( or the company i've worked for) deployed to a managed host. always in house, providing both internal and external access.

    one of the things about a php hosted environment is that the provider can lock your app down so it only runs as a low-privilleged user in a shared space ( http server with virtual hosts ). they can build a reasonable server for a grand or so, and charge N clients for shared access to it for bugger all. note here the key is 'shared environment'. the 'dedicated' packages that give you root shell access you are free to install and run whatever you like, in which case, see the above quick steps to setting up tomcat/apache.

    applications written in java are typically more complex than php, but then again, they are more likely to perform more complex operations ( see banking & finance industries... and the lack of php therein ).

    that said, you can make a java app as complex as you like, with all sorts of crazy requirements of the container, but that doesnt mean you have to. ( same goes for php y'know! )

  6. Re:That's an easy one by imroy · · Score: 4, Informative
    the article you link to is from 2002, pre dating many things in PHP

    Ok, I know I'm being trolled by a self-styled fanboy, but what things exactly?

    • Does PHP now have namespaces avoiding all the nonsense with naming variables and functions?
    • Has PHP been separated into a programming language and a templating language? Embedding code in HTML is so 90's. The MVC pattern is much more manageable, especially for a group of developers.
    • Has PHP done away with the configuration file, a major source of headaches in deploying applications on shared hosting?
    • Has PHP done away with "magic quotes"? Prepared statements. That's all I'm going to say.
    • Does PHP now handle Unicode (UTF-8) text transparently in all its built-in functions? You know, like Perl 5.8, coincidentally released in 2002.

    No it has not. PHP is still fundamentally the same language it was all the way back in 2002.

    And if you're going to argue about versions of PHP, might I also point out that PHP has broken forward compatibility twice . Version 4.4 changed the behaviour of references in an incompatible way, and PHP 5.0 makes many more changes to the core language. This places shared hosting providers in a very difficult position and many simply choose to run the old version 4.3, for which most PHP code was written for.

  7. What are you talking about? by bigHairyDog · · Score: 3, Informative

    There are plenty of good open source CMS systems in Java.

    At the bank I work at we use OpenCMS.

    Magnolia Community Edition is probably better.

    Apache Lenya is another CMS written by a well known group but I can't vouch for it

    JBoss Nukes is poorly documented but written by JBoss so should be good.

    --

    foo mane padme hum