<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"
   xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<title>All things Jythonic</title>
<link>http://www.pycs.net/users/0000177/categories/jython/</link>
<description>A blog tracking jython developments</description>
<language>en</language>
<copyright>Copyright 2006 Ed Taekema</copyright>
<lastBuildDate>Tue, 28 Mar 2006 23:57:52 GMT</lastBuildDate>
<generator>Python Desktop Server 0.7.3 (http://pyds.muensterland.org/)</generator>
<managingEditor>etaekema@earthlink.net</managingEditor>
<webMaster>etaekema@earthlink.net</webMaster>
<category domain="http://www.weblogs.com/rssUpdates/changes.xml">rssUpdates</category>
<skipHours>
<hour>1</hour>
<hour>4</hour>
<hour>7</hour>
<hour>8</hour>
<hour>9</hour>
<hour>10</hour>
<hour>11</hour>
<hour>12</hour>
<hour>13</hour>
<hour>14</hour>
<hour>15</hour>
<hour>16</hour>
<hour>17</hour>
<hour>18</hour>
<hour>19</hour>
<hour>22</hour>
</skipHours>
<item>
<title>This Blog Has Moved</title>
<link>http://www.fishandcross.com/blog/</link>
<description>&lt;p&gt;I have been fighting off comment and trackback spam and have been finally driven to move to another tool.  It is with great sadness that I leave my beloved PyDS and PyCS (python rules!) tools.  This weblog has been moved to &lt;a class=&quot;reference&quot; href=&quot;http://www.fishandcross.com/blog&quot;&gt;http://www.fishandcross.com/blog&lt;/a&gt; and is now being driven by WordPress.&lt;/p&gt;
&lt;p&gt;I have imported the posts from this site have not been able to get the comments.  I trust this site will stay available.&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2006/03/28.html#P335</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P335&amp;link=http://www.pycs.net/users/0000177/categories/jython/2006/03/28.html%23P335</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P335"/>
<pubDate>Tue, 28 Mar 2006 23:57:52 GMT</pubDate>
</item>
<item>
<title>PyDS Broken</title>
<description>Everytime I try to display the Upstreaming menu ... I get this:

Exception exceptions.TypeError: wrong type for StringProp
File	Line	Function	Source
C:\Python\lib\site-packages\PyDS\Tool.py	935	process_request	s = tool.index_html(req)
C:\Python\lib\site-packages\PyDS\UpstreamTool.py	561	index_html	self.pingCloud(1)
C:\Python\lib\site-packages\PyDS\UpstreamTool.py	694	pingCloud	return self._driver.pingCloud(online, category)
C:\Python\lib\site-packages\PyDS\XSSDriver.py	240	pingCloud	tool.set(&apos;status&apos;, &apos;usernum&apos;, cloud[&apos;usernum&apos;])
C:\Python\lib\site-packages\PyDS\UpstreamTool.py	866	set	setattr(self.status[0], field, value)

Oddly, it still posts ...</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/12/20.html#P333</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P333&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/12/20.html%23P333</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P333"/>
<pubDate>Wed, 21 Dec 2005 00:38:24 GMT</pubDate>
</item>
<item>
<title>The Python Web services developer: RSS for Python</title>
<link>http://www-128.ibm.com/developerworks/webservices/library/ws-pyth11.html#main</link>
<description>&lt;a href=&quot;http://www-128.ibm.com/developerworks/webservices/library/ws-pyth11.html#main&quot;&gt;The Python Web services developer: RSS for Python&lt;/a&gt;   Mark Pilgrim offers rssparse.py for RSS file parsing.. and it seems to be Jython friendly.</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/12/20.html#P332</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P332&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/12/20.html%23P332</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P332"/>
<pubDate>Wed, 21 Dec 2005 00:27:44 GMT</pubDate>
</item>
<item>
<title>Jython Bibliography - Updated</title>
<link>http://www.pycs.net/users/0000177/stories/13.html</link>
<description>I&apos;ve corrected a few of the IBM articles that seem to have moved and have added a few articles that have appeared in 2005 on Jython.

Enjoy!</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/08/05.html#P327</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P327&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/08/05.html%23P327</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P327"/>
<pubDate>Fri, 05 Aug 2005 06:49:36 GMT</pubDate>
</item>
<item>
<title>Weird Python News of the Day - Attack of the Malformed Pickle </title>
<link>http://www.freenet.org.nz/python/SSLCrypto/</link>
<description>&lt;p&gt;In the extremely unlikely event that you are victim of one of these attacks ... &lt;strong&gt;DO NOT EAT THE MALFORMED PICKLE! &lt;/strong&gt;&lt;/p&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;br&gt;&lt;em&gt;&lt;strong&gt;** Warning **&lt;/strong&gt; - If you are exchanging SSLCrypto key objects over the internet, it is imperative you switch immediately to SSLCrypto 0.1.1. If you stay with SSLCrypto 0.1, you could be susceptible to &lt;strong&gt;malformed pickle attacks.&lt;/strong&gt;&lt;/em&gt; &lt;/p&gt;&lt;/blockquote&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/05/05.html#P324</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P324&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/05/05.html%23P324</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P324"/>
<pubDate>Fri, 06 May 2005 03:09:52 GMT</pubDate>
</item>
<item>
<title>Jython, Velocity, Jetty and ... REST</title>
<link>http://www.onjava.com/pub/a/onjava/2005/04/27/restweb.html</link>
<description>Jason Briggs has put together a great article on REST ( Representational State Transfer ) style application development using Jython and Velocity on Jetty.&amp;nbsp; His goal is simpler servlet development that is more standards compliant.&amp;nbsp; You don&apos;t need to use Gets and Posts only and he shows you how to do it all with Jython.&amp;nbsp; He even includes as a resource in the article a jar file combining Velocity and&amp;nbsp;the &lt;a href=&quot;http://wiki.apache.org/jakarta-velocity/JythonUberspect&quot;&gt;JythonUperspect &lt;/a&gt;customizer to let velocity work with Jython objects.&amp;nbsp; 
&amp;nbsp;
[via &lt;a href=&quot;http://del.icio.us/tag/jython&quot;&gt;del.icio.us/tag/jython&lt;/a&gt;]</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/04/28.html#P320</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P320&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/04/28.html%23P320</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P320"/>
<pubDate>Fri, 29 Apr 2005 02:25:04 GMT</pubDate>
</item>
<item>
<title>PushToTest - Free open-source software test automation solutions - Writing Threaded Applications in Jython</title>
<link>http://www.pushtotest.com/Docs/howto/jythonthreads.html</link>
<description>Here is a quick tutorial on writing thread safe jython scripts.  The author implements thread safe examples using both Python and Java methods.  Here is the article&apos;s conclusion
 
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;

&lt;p&gt;&lt;em&gt;Based on my experience writing threaded applications in Jython, using Java Threads and the Runnable interface is the best practice. The following Jython script implements the best practice for building threaded applications in Jython:&lt;/em&gt; &lt;pre&gt;from java.lang import Thread, Runnable
import synchronize

  class myclass( Runnable ):
    def __init__( self, myparam ):
      self.storeit = myparam

    def setMyparam( self, myparam ):
      self.storeit = myparam
    setMyparam=synchronize.make_synchronized( setMyparam )

    def printMyparam( self ):
      print &quot;myclass: myparam =&quot;,self.storeit
    printMyparam=synchronize.make_synchronized( printMyparam )

    def run( self ):
      for self.i in range(5):
        self.printMyparam()

  count = 2

  a = myclass()
  a.setMyparam( &quot;frank&quot; )

  t = Thread( a, &quot;MyThread %d&quot; % count )
  t.start()&lt;/pre&gt;&lt;/blockquote&gt;
 
 
 </description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/04/26.html#P319</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P319&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/04/26.html%23P319</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P319"/>
<pubDate>Wed, 27 Apr 2005 02:05:52 GMT</pubDate>
</item>
<item>
<title>Palm T3 + WIFI SDIO Experiences</title>
<description>I noticed while wander a Frys Electronics store in Plano that there is now a WIFI SD card available for my T3.  Its a heafty $129.00 or so ... Has anyone out there in the blogosphere tried this?  Any feedback on whether it is worth it?

</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/02/16.html#P318</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P318&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/02/16.html%23P318</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P318"/>
<pubDate>Wed, 16 Feb 2005 20:05:20 GMT</pubDate>
</item>
<item>
<title>Brian Zimmers Blog</title>
<link>http://www.ziclix.com/bzimmer/</link>
<description>&lt;p&gt;Brian, now officially working on Jython, has a &lt;a class=&quot;reference&quot; href=&quot;http://www.ziclix.com/bzimmer/&quot;&gt;blog&lt;/a&gt;.  Also has a nice &lt;a class=&quot;reference&quot; href=&quot;http://ziclix.com/bzimmer/comments/feed/rss2/&quot;&gt;comments&lt;/a&gt; feed.&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/24.html#P316</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P316&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/24.html%23P316</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P316"/>
<pubDate>Mon, 24 Jan 2005 15:08:48 GMT</pubDate>
</item>
<item>
<title>Daily Python-URL: Python port of SWT?</title>
<link>http://www.pythonware.com/daily/index.htm#110591146656980090</link>
<description>&lt;p&gt;&lt;em&gt;Scott Sanders (dotnot) asks: &lt;/em&gt;&lt;em&gt;Is anyone working on a port of SWT to Python? Is anyone interested in such a thing?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Of course this is something that is possible today using Jython.&amp;nbsp; I have configured the &lt;a href=&quot;http://home.tiscali.be/redrobin/jython/&quot;&gt;RedRobin &lt;/a&gt;Jython Eclipse plugin to allow me to easily script SWT (and JFace from Jython ... works like a charm.)&amp;nbsp; Here is a quick Jython Hello World for SWT.&lt;/p&gt;&lt;pre&gt;from org.eclipse.jface.window import *
from org.eclipse.swt import *
from org.eclipse.swt.widgets import *
import sys

class Hello(ApplicationWindow):
  def createContents(self, parent):
  b = Button(parent, SWT.PUSH, widgetSelected=self.helloWorld)
  b.text = &quot;Hello World&quot;
  return b    &lt;/pre&gt;&lt;pre&gt;  def helloWorld(self, evt):
     print &quot;Hello There ...&quot; 
     sys.exit(0)        
 
w = Hello(None)
w.blockOnOpen = 1
w.open()
Display.getCurrent().dispose()
&lt;/pre&gt;
&lt;p&gt;In order to get this to work in eclipse using the &lt;a href=&quot;http://home.tiscali.be/redrobin/jython/&quot;&gt;Jython &lt;/a&gt;plugin, you need to&amp;nbsp;either create a jython project in eclipse or add the Jython nature to an existing project,&amp;nbsp;add the swt and jface jars into the class path in the project&apos;s jython properties and finally set the java.library.path&amp;nbsp;to the location of the swt library also in the project&apos;s jython&amp;nbsp;&amp;nbsp;properties.&amp;nbsp; This last step is&amp;nbsp;so that swt can find its os native libraries.&amp;nbsp;&lt;/p&gt;
[via &lt;a href=&quot;http://www.planetpython.org/&quot;&gt;Planet Python&lt;/a&gt;]</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/18.html#P312</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P312&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/18.html%23P312</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P312"/>
<pubDate>Tue, 18 Jan 2005 14:11:12 GMT</pubDate>
</item>
<item>
<title>Brian Zimmer&apos;s &apos;An Introduction to Jython&apos; presentation</title>
<link>http://www.ziclix.com/jython/chipy20050113/</link>
<description>&lt;p&gt;Brian Zimmer presented Jython to the Chicago Python Users Group (chipy).  &lt;a class=&quot;reference&quot; href=&quot;http://www.ziclix.com/jython/chipy20050113/&quot;&gt;Here&lt;/a&gt; is a link to his slides.&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/17.html#P311</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P311&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/17.html%23P311</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P311"/>
<pubDate>Tue, 18 Jan 2005 02:20:48 GMT</pubDate>
</item>
<item>
<title>And the Winner is: Jython</title>
<link>http://seanmcgrath.blogspot.com/archives/2005_01_09_seanmcgrath_archive.html#110580850345664394</link>
<description>The Java Republic poll asks&quot;What is Your Scripting  Language for Java of the Year 2004?&quot;. And the winner with 59% of the votes is &lt;a href=&quot;http://www.jython.org&quot;&gt;Jython&lt;/a&gt;!
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/15.html#P308</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P308&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/15.html%23P308</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P308"/>
<pubDate>Sun, 16 Jan 2005 03:31:12 GMT</pubDate>
</item>
<item>
<title>Use Jython to time Java code</title>
<link>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/363219</link>
<description>&lt;p&gt;Here is an interesting Jython receipe - &lt;a href=&quot;http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/363219&quot;&gt;Use Jython to time Java code&lt;/a&gt;&amp;nbsp;&amp;nbsp; A clever way to do some low level timing of java functions, all from Jython.&amp;nbsp; &lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/15.html#P306</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P306&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/15.html%23P306</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P306"/>
<pubDate>Sat, 15 Jan 2005 06:02:40 GMT</pubDate>
</item>
<item>
<title>Updated Jython Bibliography</title>
<link>http://www.pycs.net/users/0000177/stories/13.html</link>
<description>&lt;p&gt;I&apos;ve updated the Jython Bibliography, adding a few new articles and some older ones that were missed before.  Please let me know if I&apos;ve missed any!&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/12.html#P303</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P303&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/12.html%23P303</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P303"/>
<pubDate>Wed, 12 Jan 2005 23:34:24 GMT</pubDate>
</item>
<item>
<title>Inline Java code into Jython</title>
<link>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360875</link>
<description>&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;em&gt;This recipe shows how to insert java code into a jython program. The java code is automatically compiled and the resulting class is imported and returned. Compilation only occurs after a change of the java source. &lt;/em&gt;
&lt;em&gt;&lt;/em&gt;&amp;nbsp;
&lt;strong&gt;[via &lt;a href=&quot;http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360875&quot;&gt;Python &lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;&lt;a href=&quot;http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360875&quot;&gt;Cookbook&lt;/a&gt;]&lt;/strong&gt;&lt;/blockquote&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/02.html#P302</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P302&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/02.html%23P302</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P302"/>
<pubDate>Sun, 02 Jan 2005 21:30:40 GMT</pubDate>
</item>
<item>
<title>Moving Jython Forward: PSF Grant!</title>
<link>http://jroller.com/page/RickHigh/20050102#is_jython_dead</link>
<description>&lt;p&gt;Jython has recieved a grant&amp;nbsp;injection from the PSF!&amp;nbsp; One of the three selected grant proposals deals specifically with revitalizing Jython development and&amp;nbsp;Brian Zimmer will manage the project now called:&amp;nbsp;&lt;a href=&quot;http://www.python.org/psf/grants/Jython_PSF_Grant_Proposal.pdf&quot;&gt;Moving Jython Forward&lt;/a&gt;. &lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2005/01/02.html#P301</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P301&amp;link=http://www.pycs.net/users/0000177/categories/jython/2005/01/02.html%23P301</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P301"/>
<pubDate>Sun, 02 Jan 2005 21:26:24 GMT</pubDate>
</item>
<item>
<title>A WSGI server for jython 2.1</title>
<link>http://www.xhaus.com/modjy/</link>
<description>&lt;p&gt;Modjy is an implementation of a WSGI compliant gateway/server for jython, built on J2EE servlets.   Python Web Server Gateway Interface, as specified in &lt;a href=&quot;http://www.python.org/peps/pep-0333.html&quot;&gt;Python Enhancement Proposal 333&lt;/a&gt;, is a proposal for a &quot;simple and universal interface between web servers and [python] web applications or frameworks&quot;. </description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/12/03.html#P300</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P300&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/12/03.html%23P300</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P300"/>
<pubDate>Fri, 03 Dec 2004 20:39:28 GMT</pubDate>
</item>
<item>
<title>Jython Webapp Tutorial - Part 1 - Writing Servlets in Jython</title>
<link>http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html</link>
<description>&lt;p&gt;Here&amp;nbsp;is a tutorial on setting up and building Jython webapps.&amp;nbsp; Quick Contents:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html#InstallingJython&quot;&gt;Installing Jython&lt;/a&gt; 
&lt;li&gt;&lt;a href=&quot;http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html#InstallingTomcat&quot;&gt;Installing Apache Tomcat&lt;/a&gt; 
&lt;li&gt;&lt;a href=&quot;http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html#ConfiguringTomcat&quot;&gt;Configuring Tomcat to run Jython Servlets&lt;/a&gt; 
&lt;li&gt;&lt;a href=&quot;http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html#RunningJythonServlets&quot;&gt;Running Jython Servlets from the command line&lt;/a&gt; 
&lt;li&gt;&lt;a href=&quot;http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html#AccessingTheJythonLibrary&quot;&gt;Accessing the Jython library&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Looks good and there is more coming. Here is the overal direction the effort is taking:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html&quot;&gt;Part 1 - Writing Servlets with Jython&lt;/a&gt; 
&lt;li&gt;Part 2 - Process XML with the Xerces and Xalan libraries from Jython 
&lt;li&gt;Part 3 - JMS Messaging from Jython with &lt;a href=&quot;http://activemq.codehaus.org/&quot;&gt;ActiveMQ&lt;/a&gt; 
&lt;li&gt;Part 4 - From web-front end to process-to-process integration with Jython 
&lt;li&gt;Part 5 - Summarizing the benefits of Jython and dynamic typing in general for Webapp development. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I&apos;m looking forward to the rest!&lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/12/03.html#P299</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P299&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/12/03.html%23P299</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P299"/>
<pubDate>Fri, 03 Dec 2004 20:35:12 GMT</pubDate>
</item>
<item>
<title>Looking for a Really Light Weight Java Wiki</title>
<description>&lt;p&gt;I am looking for a light weight java servlet based wiki that I can use to &quot;embed&quot; in an existing web application.&amp;nbsp; My basic requirements are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Servlet based but not 2.3 servlet... I have to run it on an older version of Jetty which isn&apos;t up to the latest and greatest servlet api.&lt;/li&gt;
&lt;li&gt;No JSP stuff .. see above&lt;/li&gt;
&lt;li&gt;No database behind it .. .just simple filesystem (versioning would be nice ...)&lt;/li&gt;
&lt;li&gt;No Hibernate, Spring, Struts, etc.&amp;nbsp; See above... &lt;/li&gt;
&lt;li&gt;Nice to have would be customization via Jython ... or to have it written in Jython .. even better&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Just a simple java servlet that implements basic wiki features.&amp;nbsp; I&apos;m coming up empty so far.&lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/09/28.html#P295</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P295&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/09/28.html%23P295</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P295"/>
<pubDate>Tue, 28 Sep 2004 13:58:24 GMT</pubDate>
</item>
<item>
<title>Jython and Spring framework</title>
<link>http://www.pycs.net/users/0000323/weblog/2004/08/26.html#P62</link>
<description>&lt;p&gt;It seems that Kent is having issues getting Jython to work with the Spring framework.&amp;nbsp; He says:&lt;/p&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;em&gt;One of the limitations of Jython is that it doesn&apos;t play very well with Java introspection. If you want your Jython methods to be visible to Java introspection you have two choices:&lt;/em&gt;&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;em&gt;compile your scripts with jythonc &lt;/em&gt;
&lt;li&gt;&lt;em&gt;implement a Java interface containing the methods of interest &lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;The first option is problematic (I have had too much trouble with jythonc).&lt;/em&gt; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The jythonc that he is referring to I think is the decorator language you can use in a jython class definition that forces jythonc to generate a specific java class with the function signature you want.&amp;nbsp; For Example:&lt;/p&gt;
&lt;p&gt;[via &lt;a href=&quot;http://www.pycs.net/users/0000323/&quot;&gt;Python Rocks! and other rants&lt;/a&gt;]&lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/09/15.html#P292</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P292&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/09/15.html%23P292</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P292"/>
<pubDate>Wed, 15 Sep 2004 12:39:28 GMT</pubDate>
</item>
<item>
<title>How to do an XSL transformation in Jython</title>
<link>http://weblog.hotales.org/view/python/2004/09/01/0</link>
<description>&lt;a href=&quot;http://weblog.hotales.org/view/python/2004/09/01/0&quot;&gt;Here&lt;/a&gt; is a quick way to do xsl transformation in jython.&amp;nbsp; I also found at the same site the a quick &lt;a href=&quot;http://weblog.hotales.org/view/python/2004/09/01/1&quot;&gt;intro to dom style parsing &lt;/a&gt;of xml files from Jython.&amp;nbsp; You might also look at using &lt;a href=&quot;http://www.jdom.org/&quot;&gt;jdom &lt;/a&gt;to do this as well.</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/09/03.html#P291</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P291&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/09/03.html%23P291</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P291"/>
<pubDate>Fri, 03 Sep 2004 20:56:32 GMT</pubDate>
</item>
<item>
<title>deque collection class for Jython</title>
<link>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/259179</link>
<description>&lt;p&gt;Raymond Hettinger&amp;nbsp; provided a Pure python drop in replacement for collections.deque() from Py2.4 and it works with Jython.&amp;nbsp; Hurray!&amp;nbsp; Its available at the &lt;a href=&quot;http://aspn.activestate.com/ASPN/Cookbook/Python&quot;&gt;ActiveState Python Cookbook&lt;/a&gt;.&amp;nbsp; See the Python 2.4 documentation at: &lt;a href=&quot;http://www.python.org/dev/doc/devel/lib/module-collections.html&quot;&gt;http://www.python.org/dev/doc/devel/lib/module-collections.html&lt;/a&gt; for how to use this.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/08/26.html#P289</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P289&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/08/26.html%23P289</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P289"/>
<pubDate>Thu, 26 Aug 2004 17:14:40 GMT</pubDate>
</item>
<item>
<title>Some Python Aspect Oriented Programming Links</title>
<description>&lt;p&gt;Python Aspect Oriented Links:&lt;/p&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.cs.tut.fi/~ask/aspects/aspects.html&quot;&gt;Lightweight Python AOP&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;This introduces a &lt;/em&gt;&lt;a href=&quot;http://www.python.org/&quot;&gt;&lt;em&gt;Python&lt;/em&gt;&lt;/a&gt;&lt;em&gt; module which implements one essential concept in &lt;/em&gt;&lt;a href=&quot;http://aosd.net/&quot;&gt;&lt;em&gt;Aspect Oriented Programming&lt;/em&gt;&lt;/a&gt;&lt;em&gt; (AOP)... &lt;/em&gt;&lt;em&gt;The &lt;/em&gt;&lt;a href=&quot;http://www.cs.tut.fi/%7Eask/aspects/aspects.py&quot;&gt;&lt;em&gt;aspects&lt;/em&gt;&lt;/a&gt;&lt;em&gt; module provides a function called wrap_around.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://pythius.sourceforge.net/&quot;&gt;Pythius&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;The Pythius package high level AOP support. See &lt;a href=&quot;http://cvs.sourceforge.net/viewcvs.py/pythius/pythius/pythius/aop.py?rev=1.36&amp;content-type=text/vnd.viewcvs-markup&quot;&gt;here &lt;/a&gt;for examples.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.logilab.org//projects/aspects/&quot;&gt;Aspects&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;em&gt;aspects is a python module that enables Aspect Oriented Programming in &lt;/em&gt;&lt;a class=&quot;reference&quot; href=&quot;http://www.python.org/&quot;&gt;&lt;em&gt;Python&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. For now, it provides a set of ready-to-use aspects and an easy way to create your own aspects. The current possibilities are still a bit limited, but it will soon provide a more exhaustive way to define and use more complex aspects. &lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;a href=&quot;http://www-106.ibm.com/developerworks/linux/library/l-pymeta.html&quot;&gt;Metaclass Programming in Python&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;em&gt;Most readers are already familiar with the concepts of object-oriented programming: inheritance, encapsulation, polymorphism. But the creation of objects of a given class, with certain parents, is usually thought of as a &quot;just so&quot; operation. It turns out that a number of new programming constructs become either easier, or possible at all, when you can customize the process of object creation. Metaclasses enable certain types of &quot;aspect-oriented programming,&quot; for example, you can enhance classes with features like tracing capabilities, object persistence, exception logging, and more. &lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p dir=&quot;ltr&quot;&gt;As far as I can see only &lt;a href=&quot;http://www.cs.tut.fi/~ask/aspects/aspects.html&quot;&gt;Lightweight Python AOP&lt;/a&gt;&amp;nbsp;seems to work with Jython.&amp;nbsp; I was able to successfully run the tracer example with Jython although the timing example failed but not in the aspect library code.&amp;nbsp; The other libraries require Python 2.2 or greater which currently eliminates Jython.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;strong&gt;&lt;em&gt;UPDATE&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;If you are new to Aspect Oriented Programming, here is a quick definition:&lt;/p&gt;
&lt;blockquote&gt;


&lt;b&gt;&lt;/b&gt;

Aspect Oriented Programming (AOP) is a technique for separating and isolating crosscutting concerns into modular components called aspects. A crosscutting concern is a behaviour that &quot;cuts&quot; across the boundaries of assigned responsibility for a given modular element. Examples of crosscutting concerns are process synchronization, location control, execution timing constraints, persistence, and failure recovery. There is also a wide range of algorithms and design patterns which are more naturally expressible using AOP. 
&lt;p&gt;
&lt;i&gt;-Christopher Diggins, Aspect Oriented Programming in C++, August 2004, Dr Dobbs Journal&lt;/i&gt;&lt;/blockquote&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/08/18.html#P287</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P287&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/08/18.html%23P287</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P287"/>
<pubDate>Wed, 18 Aug 2004 07:08:48 GMT</pubDate>
</item>
<item>
<title>Why I Use Jython - Run Darn Near Everywhere</title>
<link>http://www.jython.org</link>
<description>&lt;p&gt;I&apos;ve just putting the finishing touches on several small projects that are centered around Jython and several widely available java libraries.&amp;nbsp; I chose Jython for several reasons.&amp;nbsp; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Python just fits how my brain works. Weird I know, but that is my reality.&lt;/li&gt;
&lt;li&gt;But not everyone has Python installed, or has the right release of python.&lt;/li&gt;
&lt;li&gt;So I write my software in python that I can compile into a java jar using Jython and thus piggy back on the general availability of the Java platform!&amp;nbsp; &lt;/li&gt;
&lt;li&gt;So my software is easily deployed!&lt;/li&gt;&lt;/ul&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/08/05.html#P285</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P285&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/08/05.html%23P285</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P285"/>
<pubDate>Thu, 05 Aug 2004 18:10:08 GMT</pubDate>
</item>
<item>
<title>Python Resource List</title>
<link>http://www.devlib.org/Programming/Languages/Python/Tools/index.php</link>
<description>&lt;p&gt;In my continuing search for Python UML tools I stumbled across this long list of &lt;a href=&quot;http://www.devlib.org/Programming/Languages/Python/index.php&quot;&gt;python resources&lt;/a&gt;.&lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/28.html#P276</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P276&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/28.html%23P276</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P276"/>
<pubDate>Wed, 28 Jul 2004 05:11:28 GMT</pubDate>
</item>
<item>
<title>PyNSource - UML Modelling Tools for Python</title>
<link>http://www.atug.com/andypatterns/pynsource.htm</link>
<description>&lt;p&gt;I have been looking for a good class diagram generator for my jython / python work and stumbled on &lt;a href=&quot;http://www.atug.com/andypatterns/pynsource.htm&quot;&gt;PyNSource&lt;/a&gt;.  Here is a quick list of features:&lt;/p&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;em&gt;A python code scanner and UML modelling tool that generates &lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;ul dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;li&gt;&lt;em&gt;UML diagram models that you can layout, arrange and print out.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;UML text diagrams, which you can paste into your source code for documentation purposes.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Java or Delphi code (which can be subsequently imported into more sophisticated UML modelling tools, like Enterprise Architect or ESS-Model (free).)&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Features&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Resilient: doesn&apos;t import the python files, thus will never get &quot;stuck&quot; when syntax is wrong. &lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Fast&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Recognises inheritance and composition  relationships&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Detects the cardinality of associations e.g. one to one or 1..*  etc&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Optionally treat modules as classes - creating a pseudo class for each module - module variables and functions are  treated as Attributes and methods of a class&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Has been developed using unit tests (supplied) so that you can trust it just that little bit more ;-)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Free&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I gave it a quick try and here is what it looks like (click on the image to see the larger text):&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.pycs.net/users/0000177/pictures/640x480/2.html&quot;&gt;&lt;img align=&quot;middle&quot; alt=&quot;&quot; border=&quot;0&quot; hspace=&quot;10&quot; src=&quot;http://www.pycs.net/users/0000177/pictures/2-150-150.jpeg&quot; style=&quot;WIDTH: 150px; HEIGHT: 93px&quot; vspace=&quot;10&quot;&gt;
&lt;p&gt;I know that a number of python ide&apos;s have class browsers built in but how about a class diagram a-la uml as well?  I think that would be pretty handy.  Please let me know if there are are other python aware tools out there.&lt;/p&gt;&lt;/img&gt;&lt;/a&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/27.html#P275</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P275&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/27.html%23P275</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P275"/>
<pubDate>Tue, 27 Jul 2004 20:54:24 GMT</pubDate>
</item>
<item>
<title>SQLObject  + MySQL CachedValues Rant</title>
<description>&lt;p&gt;We interrupt your regularly scheduled Jython coverage to bring you this therapeutic rant:&lt;/p&gt;
&lt;p&gt;[RANT ON]
&lt;p&gt;OK, so if you are using SQLObject_ with MySQL 4.X and you notice that queries executed after table updates do not reflect the changes .... &lt;strong&gt;TURN OFF _CACHE_VALUES&lt;/strong&gt; for your database classes (you do this by defining the following class attribute:&lt;/p&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;&lt;pre&gt;_cache_values = False &lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Since MySQL does autocommit by default your database changes are invisible to queries if you don&apos;t do this ... That only cost me several hours.&amp;nbsp; Ok I feel better now.&lt;/p&gt;
&lt;p&gt;[RANT OFF]
&lt;p&gt;And now back to your regularly scheduled Jython coverage.&lt;/p&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/14.html#P261</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P261&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/14.html%23P261</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P261"/>
<pubDate>Wed, 14 Jul 2004 05:52:00 GMT</pubDate>
</item>
<item>
<title>Scripting LDAP with Jython -- Store Java Objects in LDAP</title>
<description>&lt;p&gt;This is the complement to the earlier example that read a java Hastable out of an ldap directory entry.  Here is how you get the data in there to begin with.&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# Jython LDAP - Store Java Hashtable into LDAP Example

from javax.naming import *
from java.util import *
from javax.naming.directory import *

# Credentials to access LDAP
user = &quot;cn=master&quot;
passwd = &quot;password&quot;

# Setup LDAP Context Options
settings = Hashtable()
settings.put(Context.INITIAL_CONTEXT_FACTORY, \ 
       &quot;com.sun.jndi.ldap.LdapCtxFactory&quot;)
settings.put(Context.PROVIDER_URL, &quot;ldap://localhost:389&quot;)
settings.put(Context.SECURITY_PRINCIPAL, user)
settings.put(Context.SECURITY_CREDENTIALS, passwd)

# Connect to LDAP Server
ctx = InitialDirContext(settings)

# build Hastable we want to store
userPrefs = Hashtable()
userPrefs.put(&quot;Server&quot;, &quot;Someserver.com&quot;)
userPrefs.put(&quot;Color&quot;, &quot;Red&quot;)
userPrefs.put(&quot;Wine&quot;, &quot;Cabernet&quot;)
userPrefs.put(&quot;Year&quot;, &quot;1994&quot;)

ctx.bind(&quot;cn=test_user,ou=Preferences,dc=Company,dc=com&quot;, userPrefs)

#done
&lt;/pre&gt;
&lt;p&gt;If the entry already exists you need to use the context&apos;s rebind method like this:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
ctx.rebind(&quot;cn=test_user,ou=Preferences,dc=Company,dc=com&quot;, \
    userPrefs)
&lt;/pre&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/13.html#P252</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P252&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/13.html%23P252</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P252"/>
<pubDate>Tue, 13 Jul 2004 05:11:28 GMT</pubDate>
</item>
<item>
<title>Scripting LDAP with Jython -- Load Java Objects from LDAP</title>
<description>&lt;p&gt;A common way to store user preference data for applications is to store them in LDAP as a serialized Java Hastable object.  The application then reads that back from ldap on startup using the authenticated userid as the key.  Its  a convenient way to store application settings.  But what if you need to adjust or migrate settings from one place to the other?  Here is an approach to reading that data out using Jython.  Look for a future post about how to save it back using the context&apos;s bind method ...&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# Jython LDAP - Retrieve Stored Object from LDAP Example

from javax.naming import *
from java.util import *
from javax.naming.directory import *

# Credentials to access LDAP
user = &quot;cn=master&quot;
passwd = &quot;password&quot;

# Setup LDAP Context Options
settings = Hashtable()
settings.put(Context.INITIAL_CONTEXT_FACTORY, \ 
     &quot;com.sun.jndi.ldap.LdapCtxFactory&quot;)
settings.put(Context.PROVIDER_URL, &quot;ldap://localhost:389&quot;)
settings.put(Context.SECURITY_PRINCIPAL, user)
settings.put(Context.SECURITY_CREDENTIALS, passwd)

# Connect to LDAP Server
ctx = InitialDirContext(settings)

# load the java Hashtable out of the ldap server
prefs = ctx.lookup(&quot;cn=ccm_root,ou=Preferences,dc=Company,dc=com&quot;)

for pref in prefs.keys():
        print &quot;PREF: %s\n VALUE: %s &quot; % (pref, prefs[pref])
&lt;/pre&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/12.html#P251</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P251&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/12.html%23P251</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P251"/>
<pubDate>Tue, 13 Jul 2004 03:44:00 GMT</pubDate>
</item>
<item>
<title>Scripting LDAP with Jython -- Queries</title>
<description>&lt;p&gt;I&apos;ve been playing with LDAP directories from Jython and thought I should share a couple of useful examples of what you can do.  The first of these is a quick barebones query example.  Enjoy.&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# Jython LDAP Example

from javax.naming import *
from java.util import *
from javax.naming.directory import *

# Credentials to access LDAP
user = &quot;cn=master&quot;
passwd = &quot;password&quot;

# Query starting point and query target 
search_start = &quot;ou=People,dc=Company,dc=com&quot;
search_target = &quot;uid=aUserID&quot;

# Setup LDAP Context Options
settings = Hashtable()
settings.put(Context.INITIAL_CONTEXT_FACTORY, \ 
     &quot;com.sun.jndi.ldap.LdapCtxFactory&quot;)
settings.put(Context.PROVIDER_URL, &quot;ldap://localhost:389&quot;)
settings.put(Context.SECURITY_PRINCIPAL, user)
settings.put(Context.SECURITY_CREDENTIALS, passwd)

# Connect to LDAP Server
ctx = InitialDirContext(settings)

srch = SearchControls()
srch.setSearchScope(SearchControls.SUBTREE_SCOPE)

# Execute LDAP Search
results = ctx.search(search_start, search_target, srch )

#Display Search`
for result in results:

     attributes = result.getAttributes()
     names = []
     for atr in attributes.getIDs():
             names.append(str(atr))

     for name in names:
             print attributes.get(name)
&lt;/pre&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/12.html#P250</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P250&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/12.html%23P250</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P250"/>
<pubDate>Tue, 13 Jul 2004 03:29:04 GMT</pubDate>
</item>
<item>
<title>alt.lang.jre: Get to know Jython</title>
<link>http://www.ibm.com/developerworks/library/j-alj07064/index.html?ca=drs-tp2804</link>
<description>&lt;p&gt;Here is a great new Jython article by Barry Feigenbaum over on IBM&apos;s developerWorks.&amp;nbsp; Check it out.&lt;/p&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
&lt;p&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/library/j-alj07064/index.html?ca=drs-tp2804&quot;&gt;&lt;em&gt;alt.lang.jre: Get to know Jython&lt;/em&gt;&lt;/a&gt;&lt;em&gt; Get to know Jython, in this first article in our new series introducing alternate languages for the Java Runtime Environment, &quot;alt.lang.jre&quot;. Jython is an implementation of the popular scripting language Python, but running on a JVM. For Python developers Jython is the best possible entry point to the Java platform; for Java developers it may be the strongest incentive to learn another language. Frequent developerWorks contributor and alternate language enthusiast Barry Feigenbaum introduces Jython and shows you what it can do to enhance your productivity on the Java platform. &lt;br&gt;&lt;/em&gt;&lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/10.html#P249</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P249&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/10.html%23P249</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P249"/>
<pubDate>Sat, 10 Jul 2004 05:43:28 GMT</pubDate>
</item>
<item>
<title>Jython Bibliography -- Updated and Corrected</title>
<link>http://www.pycs.net/users/0000177/stories/13.html</link>
<description>&lt;p&gt;Thanks to reader feedback including several of the authors I have corrected the bibliography (its pretty neat to receieve feedback from the cited authors.  You have to love the &apos;net.).  Additionally, I have added several older articles on JPython which preceeded Jython.  Again, if there is anything missing or incorrect please let me know either in comments here or via email to etaekema-at-earthlink-dot-net.&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/02.html#P244</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P244&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/02.html%23P244</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P244"/>
<pubDate>Sat, 03 Jul 2004 03:48:16 GMT</pubDate>
</item>
<item>
<title>edittwiki - external editor tool for TWiki</title>
<link>http://www.pycs.net/users/0000177/stories/14.html</link>
<description>&lt;p&gt;Announcing &lt;a class=&quot;reference&quot; href=&quot;http://www.pycs.net/users/0000177/stories/14.html&quot;&gt;edittwiki 0.1&lt;/a&gt;, an external editor launcher for the popular &lt;a class=&quot;reference&quot; href=&quot;http://www.twiki.org&quot;&gt;TWiki&lt;/a&gt; wiki.  This is similar in spirit to the &lt;a class=&quot;reference&quot; href=&quot;https://moin.conectiva.com.br/EditMoin&quot;&gt;editMoin&lt;/a&gt; tool for &lt;a class=&quot;reference&quot; href=&quot;http://moin.sourceforge.net/&quot;&gt;MoinMoin&lt;/a&gt; wikis.  I wrote this in Jython and compiled into a java jar so it should run on a wide set of operating systems.  It features a configurable editor setting so you can edit TWiki topics using your favourite editor (including html editors) and works with TWiki installations that are password secured.&lt;/p&gt;
&lt;p&gt;This is the initial release, so please be gentle! and feel free to provide feedback here or via email to etaekema-at-earthlink-dot-net.&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/07/01.html#P239</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P239&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/07/01.html%23P239</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P239"/>
<pubDate>Thu, 01 Jul 2004 05:56:16 GMT</pubDate>
</item>
<item>
<title>Jython and Swing</title>
<link>http://uselesspython.com/Jython_Swing_Basics.html</link>
<description>&lt;p&gt;Not so useless Jython from the &lt;a class=&quot;reference&quot; href=&quot;http://uselesspython.com/&quot;&gt;Useless Python&lt;/a&gt; blog .  A basic example of how to get going with Jython and Swing!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;The following is an example of using the Jython interactive interpreter from the Windows 2000 command prompt. On this page, we demonstrate several Jython basics, including:&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;&lt;em&gt;use of the jython interpreter from the MS Windows 2000 command prompt&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;&lt;em&gt;collection of user input with javax.swing.JOptionPane.showInputDialog()&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;&lt;em&gt;conversion of strings to integers, and integers to strings, plus simple addition&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;&lt;em&gt;display of output with javax.swing.JOptionPane.showMessageDialog()&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/06/29.html#P236</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P236&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/06/29.html%23P236</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P236"/>
<pubDate>Tue, 29 Jun 2004 04:01:04 GMT</pubDate>
</item>
<item>
<title>Write Your Own Mini Aggregator with Jython and Rome!</title>
<link>http://wiki.java.net/bin/view/Javawsxml/Rome</link>
<description>&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;http://wiki.java.net/bin/view/Javawsxml/Rome&quot;&gt;Rome&lt;/a&gt; is a new java API for reading RSS and ATOM feeds.  Here is a quick demonstration of what you can do with it using Jython, the Java Scripting Swiss Army Knife.&lt;/p&gt;
&lt;p&gt;Ok, you will need to add both the latest build of &lt;a class=&quot;reference&quot; href=&quot;http://wiki.java.net/bin/view/Javawsxml/Rome&quot;&gt;Rome&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;http://www.jdom.org/index.html&quot;&gt;JDOM&lt;/a&gt; to your classpath.  Next fire up jython or if you like use the &lt;a class=&quot;reference&quot; href=&quot;http://mattpayne.org/b.cgi/2004/02/09#jythonconsole&quot;&gt;Jython Console&lt;/a&gt; which will make exploring the ROME api a little easier.&lt;/p&gt;
&lt;p&gt;Here is the source code then of a simple aggregator written in jython.&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
from java.net import URL
from com.sun.syndication.feed.synd import SyndFeedI
from com.sun.syndication.io import SyndFeedInput

myUrl = URL(&apos;http://www.pycs.net/users/0000177/rss.xml&apos;)

input = SyndFeedInput()
feed = input.build(myUrl.openStream())

entries = feed.getEntries()

for post in entries:
    title = post.getTitle()
    link = post.getLink()

    print &quot;&amp;quot;&quot;&amp;lt;a href=&apos;%s&apos;&amp;gt;%s&amp;lt;/a&amp;gt;&quot;&amp;quot;&quot; % (title, link)
&lt;/pre&gt;
&lt;p&gt;When you run this, you will get a list of links pointing to the posts in the feed, in this case the feed for my main site.&lt;/p&gt;
</description>
<guid>http://www.pycs.net/users/0000177/categories/jython/2004/06/28.html#P235</guid>
<comments>http://www.pycs.net/system/comments.py?u=0000177&amp;p=P235&amp;link=http://www.pycs.net/users/0000177/categories/jython/2004/06/28.html%23P235</comments>
<trackback:ping rdf:resource="http://www.pycs.net/system/trackback.py?u=0000177&amp;p=P235"/>
<pubDate>Mon, 28 Jun 2004 20:52:16 GMT</pubDate>
</item>
</channel>
</rss>
