A blog engine to integrate with a java app. Which blog engine?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 05:29:09

问题


I have to setup a blog engine that "has to be integrated with a java app". These are my requirements, I'm not kidding. The java app is a web app that serves very dynamically changed content.

What exactly the blog and this app are going to exchange - I do not know, because my client doesn't know. (yes, I know, my client is ..., but this is the case).

I think I have two options: a java blog engine and wordpress.

Wordpress is popular, stable, customizable, ..., but in PHP. Java blogs are not popular, but in Java.

In a previous project I was using a .NET blog, called dasBlog, it was not popular and not easily customizable. I don't want to make that mistake again.

If I can be able to fully control a Wordpress blog (publish posts, edit sidebar contents, make wordpress ask me for content for a sidebar, ...) via JAX-RPC or REST and if that is straightforward, maybe I would choose Wordpress.

What do you think?


回答1:


For wordpress-java integration I found these:

Quercus (runs PHP): http://wordpress.tv/2008/10/27/spreading-the-word-to-java-bring-wordpress-and-java-together-with-quercus-slides/

Java API for wordpress http://code.google.com/p/wordpress-java/ (This is my favorite, but I don't know how powerful it is)

java port of wordpress: http://www.theserverside.com/news/thread.tss?thread_id=50890 (I don't like this one)




回答2:


It's not that uncommon to combine a java-app with a wordpress installation (I have done so myself at least once). Just front with an apache, running php and wordpress and have your java app running "behind" on it's own context. Tricky parts are if you need to share sessions and logins.




回答3:


you can also try apache-roller, its no match to the UI of wordpress. but it can get the job done...



来源:https://stackoverflow.com/questions/7269153/a-blog-engine-to-integrate-with-a-java-app-which-blog-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!