This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

integrate jforum with another application

 
jp rennes
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have an application and i just installed jforum.
Users could use the forum in a classic way.
But i want to have the possibility to enter a text in a text zone and to add it to a specific forum in jforum in another words simulate the click on "Submit" in a new post.

I would like to have the different SQL statements to simulate the submit

could somebody help me ?

thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JForum is a Java application. If you are on the same server, you can make calls to it in Java code. In particular, you could call the relevant DAOs which update the database.

I recommend you start by thinking about design. Do you want the user's post to show up under his id (and if so how to pass credentials) or a general one (and if so how to secure against spam.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic