Meaningless Drivel is fun!*
The moose likes JForum and the fly likes integrate jforum with another 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 "integrate jforum with another application" Watch "integrate jforum with another application" New topic
Author

integrate jforum with another application

jp rennes
Greenhorn

Joined: Oct 30, 2012
Posts: 3
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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.)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: integrate jforum with another application