my dog learned polymorphism*
The moose likes JForum and the fly likes Integrating JForum into another Java / JSP application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Integrating JForum into another Java / JSP application" Watch "Integrating JForum into another Java / JSP application" New topic
Author

Integrating JForum into another Java / JSP application

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello

I've seen a few threads about this sort of subject but I wonder if anyone can offer some general tips or pointers.

My issue is that I have an application written in Java with servlets and JSPs and MySQL where users can form communities based around types of data uploaded. However, the next stage of this work involves integrating a forum into each community to allow members to discuss the data and so on.

What I would like to have is a particular JSP in each community call that community's forum and where posting to existing threads and creating new threads is restricted to the members of that community only. Others would be able to look at a community's forum but only post if they joined the community.

One feature of this would be that logging in would be completely transparent to the community members. These members would already have logged into the Java / JSP application.

What I would like to know is if this can be done and if anyone has any advice, pointers and so on, i.e. can I call JForum directly from my application and if so, how?

Any advice would be welcome.

Thanks

Martin O'Shea.
[originally posted on jforum.net by MartinOShea]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A lot of it depends on how your app is designed and you're needs. A good starting point might be my bookmarks:

http://www.jforum.net/bookmarks/list/2198.page

I've been trying to collect some of the "good" threads about integration, calling it from another program, SSO, and the like.

Of course, you'll need to sort out your SSO issues.

Then, I'd suggest looking at keeping jForum a separate webapp from your communities. Then maybe creating a category for each community that would contain forums relating to that community. With the right application of group permissions and assigning people properly to groups you should be able to link from your communities the way you want.
[originally posted on jforum.net by monroe]
 
jQuery in Action, 2nd edition
 
subject: Integrating JForum into another Java / JSP application