RSS feed
<< StringTemplate for JPublish | Home | StringTemplate Renderer for JPublish, a Component this time ;) >>

JPublish and reverse AJAX; new demo

-application demonstrating how to monitor a text file (log, news,events, etc.) using reverse AJAX through the JPublishDWR module

For those of you interested in AJAX, especially in reverse AJAX ;) I
just committed to the SVN a very simple (and clean) JPublish demo
application demonstrating how to monitor a text file (log, news,
events, etc.) using reverse AJAX through the JPublishDWR module.
Obviously, you can easily tweak my code to monitor last n events from
a log file, or the newest transactions from a database, etc.

Also, for the impatient, I archived the complete application so you
can run it in no time. You can download it from the Downloads page:
http://code.google.com/p/jpublish/downloads/list and is called:
  -   simpledwr.war.zip


After you download the demo just be sure that, somewhere in a path, you
have a text file that you can edit and update, then modify the
home page of the application (content/index.html) and replace my path
with yours. See: FilePing.setFileName("/Users/flop/news.txt") ... and
replace /Users/flop/news.txt with the full path to the file you want to
monitor in your new and shiny AJAX enabled JPublish web application :)

Have fun!


Re: JPublish and reverse AJAX; new demo

Thank you so much for publishing this. Exactly what I need right now.

Re: JPublish and reverse AJAX; new demo

I am glad the demo can help you to be even more closer to JPublish :) Please let us know if you have more questions or suggestions. Have a nice day, -florin

Re: JPublish and reverse AJAX; new demo

hi m not able to run the deno which uhave uploaded...pl help...its urgent.

Re: JPublish and reverse AJAX; new demo

when i c d console of eclipse..one line says: JPublishDWR Module starting for: null. pl help.thx in advance :)

Add a comment Send a TrackBack