File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » JForum
Bookmark "Integrating JForum into another Java / JSP application" Watch "Integrating JForum into another Java / JSP application" New topic

Integrating JForum into another Java / JSP application

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

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.


Martin O'Shea.
[originally posted on by MartinOShea]
Migrated From
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:

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 by monroe]
I agree. Here's the link:
subject: Integrating JForum into another Java / JSP application
Similar Threads
Creating new users dynamically
JSP EL expressions in JFORUM - Please help!
Websphere Commerce implementation of JForum
Complete separation of users groups and categories?
Complex integration question - multiple jforums -> caching problem?