Ask Your Question
0

Askbot Integration with a Java web application - how?

asked 2012-03-10 19:46:19 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Hi, Can Askbot site be integrated into a Java web application seamlessly? Example: I want to see Q&A site when user click on Q&A menu item from top menu.

Can you please give me a brief idea about how can I do this?

Thank you in advance.

Regards, Krish

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-03-10 19:51:36 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Krish, it does not really matter in what language other application is written, what matters is perhaps a single sign-on system and maybe a way to share the user profile data.

Now there are no possibility like this in askbot, but it can be built.

On the log in side we can build an api login and your application would have to set askbot's cookie. That is your application would have to make an api call and obtain the login data from askbot.

In askbot there will need to be some way to associate your application user id with the askbot user id. It's not that much really.

edit flag offensive delete link more
0

answered 2012-03-10 20:14:01 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Thanks Evgeny for quick response.

Any plans of building the API in near future?

Does the Using alternative login system section from below link would be of any help? http://askbot.org/doc/askbot-as-reusable-django-application.html#adding-askbot-to-pre-existing-site

I am a Java Developer so don't know much about Python. Can both applications (my java web app and askbot) be deployed on same server (ex: Tomcat or JBoss) by installing Askbot on Jython (python on Java VM)?

Thank you.

edit flag offensive delete link more

Comments

Here is some info https://docs.djangoproject.com/en/dev/howto/jython/ I have never done this though. Regarding the API for the login - yes we might do it soon.

Evgeny gravatar imageEvgeny ( 2012-03-10 20:28:44 -0600 )edit

sure. Thanks. Does the Askbot community have any development plans for the API?

krish gravatar imagekrish ( 2012-03-10 20:35:53 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-03-10 19:46:19 -0600

Seen: 283 times

Last updated: Mar 10 '12