EntranceServlet and the Entrance Java API

1 view
Skip to first unread message

Tod Landis

unread,
May 21, 2010, 7:26:44 PM5/21/10
to Entrance

ENTRANCESERVLET
There is a new download of EntranceServlet, bundled as a web
application (WAR file) here:
http://dbentrance.com/test/entrance.war

To install it in a Java server, e.g. Tomcat, copy the WAR file into
your server 'webapps' directory, then stop and start the server. You
will also need to configure the servlet by making changes in its
'web.xml' as described on this link: <a href="http://dbentrance.com/
newdocs/servlet.html"</a>

There have been a few changes, please give feedback. By default,
files with extension '.plotql' in the webapps/entrance directory are
now handled by the servlet. There is no longer a notion of the
"script-root". Also, Entrance URLs are simplified, e.g. these URLs
work
http://localhost:8080/example.plotql
http://localhost:8080/colors.plotql?width=400&height=200
http://localhost:8080/quakes/earthquakesToday.plotql

EntranceServlet is released subject to GPL v. 2, and its sources are
now included with the community sources download:
http://dbentrance.com/test/srcCommunity.zip

ENTRANCE JAVA API
If you prefer to "roll your own" Entrance application, there is a new
document describing the Java API:
http://dbentrance.com/newdocs/api.html

Among other things, this document shows you how to add new chart types
which plotql scripts in the servlet can invoke.

- Tod

--
You received this message because you are subscribed to the Google Groups "Entrance" group.
To post to this group, send email to dbent...@googlegroups.com.
To unsubscribe from this group, send email to dbentrance+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dbentrance?hl=en.

Tod Landis

unread,
May 21, 2010, 7:48:57 PM5/21/10
to Entrance
After you start EntranceServlet you can see a welcome page:
by navigating to:http://lcoalhost:8080/entrance/
When you have the web.xml settings right, there will be a litte
chart at the top of the page

Also, I misspoke: the sample URLs should have included "/entrance"
in them like this:
http://localhost:8080/entrance/hello.plotql
http://localhost:8080/entrance/colors.plotql?width=400&height=200
http://localhost:8080/entrance/quakes/earthquakesToday.plotql
Reply all
Reply to author
Forward
0 new messages