开发者

My website is built on Java Server Pages (JSP) - can I use Joomla still?

My website is built on JSP and Java Servlets. Html, Javascript and CSS (limited) is contained within my JSP pages as well.

I recently started looking into Joomla. I have quite a bit to learn yet...

I understand that Joomla is based on PHP.

[ I don't know anything about PHP, but I've read that knowing PHP is not really necessary in order to use Joomla. Do you agree? ]

I have some questions about Joomla -

1) The code开发者_C百科 that Joomla generates, is that in PHP? or Html? Perhaps a combination of both?

2) How, if possible, can I integrate my JSP code into what Joomla generates?

   -- or do I need to integrate the Joomla code into my JSP code?

I have a fully functional website designed in JSP and Java - but after seeing the layout/design that can be accomplished with a CMS, such as Joomla, I want to know how I can 'convert' my site, or 'integrate' it, and still keep it running under JSP and Java.


Joomla is written in PHP. It generates the HTML files which are output to the browser. As far as I know, you'll need PHP to use Joomla unless there's been some sort of JSP port for it (which is highly unlikely).

Simply, Joomla IS PHP, and it generates HTML code which the browser reads.

Also, a CMS has nothing to do with layout/design, a CMS is simply that, a Content Management System. They are usually designed to be used as the actual website itself, the user just picks a theme and inserts content.


If you are looking to keep the server-side business based on JSP, JAVA and upgrade the layout using Joomla you are facing a lot of PHP programming and the result would not be great in terms of performance. It is easier to migrate to a solution based on JSF and Facelets.


Joomla is written in PHP ans as with every other server side webbased view/template technology (including JSP), it just generates HTML/CSS/JS (a webbrowser doesn't understand anything else anyway).

If the sole requirement is to have a webbased blog engine with a CMS in Java/Servlet, then checkout Hippo. It's similar to Wordpress/Joomla (although less eye-candy imo).


You could check out Quercus from Caucho which allows you to run PHP applications in a servlet container. I believe they support Joomla though I'm not sure which versions.


Possible solution or answer is that you will need complete rewriting.


You can use Joomla for the web content and JSP for the front end of an enterprise application. Integrating external content in Joomla can be done in many ways, for example, you can embed pages in Menu items, AJAX calls to retrieve content from your JSP pages -either in html or in another format (JSON or XML).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜