Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Integrating JForum into another Java / JSP application

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic