1946
Comment: added derby example
|
1948
added derby example
|
Deletions are marked like this. | Additions are marked like this. |
Line 42: | Line 42: |
Other Examples in Jython
Log4j
This is a simple Log4jExample that show how to use this excellent logger with Jython. Yes, Python provides a logger but log4j can be used for debugging apache stuff. What ever you use loggers use its better then using print statements. You can get log4j from http://logging.apache.org/log4j/1.2/download.html
Apache Poi
No this isn't really bad Hawaiian food but a really slick way to write out Excel xls and other Microsoft Office format files with out have to have any microsoft software installed. Poi is really slick Java API and pretty easy to use. Take a look at the PoiExample and to download it and get more information on Poi and visit http://poi.apache.org/
PyServlet
See [http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html Sean McGrath's PyServlet Turorial] for an introduction. Below are a couple of examples:
Simple:
Using servlet context:
Apache Derby
ApacheDerby Example(s)
Apache Derby is a Java relational database management system that can be embedded in Java programs and used for online transaction processing. for more information on Apache Durby see http://db.apache.org/derby/index.html or http://en.wikipedia.org/wiki/Apache_Derby