<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Ramblings from the bit bucket &#187; JSTL</title>
	<atom:link href="http://blogs.planetingres.org/notnull/tag/jstl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.planetingres.org/notnull</link>
	<description>Just another blogs.planetingres.org weblog</description>
	<lastBuildDate>Tue, 01 Feb 2011 09:13:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Rapid</title>
		<link>http://blogs.planetingres.org/notnull/2008/01/21/rapid/</link>
		<comments>http://blogs.planetingres.org/notnull/2008/01/21/rapid/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 10:38:29 +0000</pubDate>
		<dc:creator>notnull</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[IUA]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[JSTL]]></category>
		<category><![CDATA[OpenLaszlo]]></category>
		<category><![CDATA[Playstation 3]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/notnull/2008/01/21/rapid/</guid>
		<description><![CDATA[It now seems a very long time ago, but last November I took part in a team meeting where we discussed how to evangelize Ingres within our own sphere of influence. Projects similar to the Playstation 3 port and the Eclipse DTP were mentioned as innovative. During the meeting I was asked to take a [...]]]></description>
			<content:encoded><![CDATA[<p>It now seems a very long time ago, but last November I took part in a team meeting where we discussed how to evangelize Ingres within our own sphere of influence.  Projects similar to the <a href="http://blogs.planetingres.org/notnull/2007/07/11/sony-ps3-ii-910-ppclnx00/" title="Ingres and Sony Playstation 3">Playstation 3</a> port and the <a href="http://eclipse.sys-con.com/read/367020.htm" title="Ingres Eclipse DTP webinar">Eclipse DTP</a> were mentioned as innovative.  During the meeting I was asked to take a look at OpenLaszlo to try and modify one of their demonstration applications to use Ingres as a data source.</p>
<p>Being a tomcat, JSP and <a href="http://www.openlaszlo.org" title="OpenLaszlo rich internet applications">OpenLaszlo</a> nubbie I managed to get the <a href="http://www.openlaszlo.org/lps4/demos/amazon/amazon.lzx?lzt=html&amp;lzr=swf7" title="OpenLaszlo Amazon store">Amazon Store</a> demo to use Ingres for the checkout and shipping address details.  A couple of JSPs a two line change in OpenLaszlo source and the demo was reading data from Ingres.  The code changes took 5 minutes, getting it to work took a little longer.  I used OpenLaszlo 4.0.7 for my tests but <a href="http://www.openlaszlo.org/download" title="OpenLaszlo downloads">OpenLaszlo 4.0.8</a> is now available.</p>
<p>Take a look at the <a href="http://www.openlaszlo.org/lps4/demos/amazon/amazon.lzx?lzt=source" title="amazon.lzx">OpenLaszlo source code</a> at the line<code><br />
&lt;dataset name="dsAddressList" src="data/addresses.xml"/&gt;<br />
&lt;dataset name="dsCreditCardList" src="data/creditcards.xml"/&gt;<br />
</code></p>
<p>These were modified to<code><br />
&lt;dataset name="dsAddressList" src="/ingdb/getaddress.jsp" request="true" type="http"/&gt;<br />
&lt;dataset name="dsCreditCardList" src="/ingdb/creditcard.jsp" request="true" type="http"/&gt;<br />
</code>Setting request=&#8221;true&#8221; causes the client to request data each time the query string or the base URL changes.</p>
<p>My initial pages and tomcat configuration is documented on the page <a href="http://community.ingres.com/wiki/JSP" title="JSP">&#8220;Accessing data from JSP&#8221;</a> and contains the simple  DDL for the table and some sample data.   In this example the database and credentials are embedded in the page.  With a little more time I changed the JSP to use the JSTL and configured the tomcat server with a JNDI resource for the database connection.  My latest attempt is document on the page <a href="http://community.ingres.com/wiki/JNDI" title="JDBC and JNDI">&#8220;JDBC and JNDI&#8221;</a>.</p>
<p>For 2008 the watchword is &#8220;Rapid&#8221;.  Rapid application development and deployment, everything has to happen faster.  Using an environment like OpenLaszlo gets part of the way there.</p>
<p>We&#8217;ll be looking at subject matter for a development sprint at the forthcoming UK IUA in June.  An OpenLaszlo application may be a candidate.<br />
<h3>Related posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/notnull/2010/05/16/debugging-the-hibernate-project-with-eclipse/" title="Debugging the Hibernate project with Eclipse">Debugging the Hibernate project with Eclipse</a></li>
<li><a href="http://blogs.planetingres.org/notnull/2011/02/01/ingres-migration-toolset/" title="Ingres Migration Toolset">Ingres Migration Toolset</a></li>
<li><a href="http://blogs.planetingres.org/notnull/2010/04/01/hibernate-3-5-0-final-released/" title="Hibernate 3.5.0-Final released">Hibernate 3.5.0-Final released</a></li>
<li><a href="http://blogs.planetingres.org/notnull/2010/02/04/button-clicks-do-nothing-in-ingres-database-workbench-eclipse-and-its-derivatives/" title="Button clicks do nothing in Ingres Database Workbench, Eclipse and its derivatives">Button clicks do nothing in Ingres Database Workbench, Eclipse and its derivatives</a></li>
<li><a href="http://blogs.planetingres.org/notnull/2009/04/24/in-the-market-for-jdbc-properties/" title="In the market for JDBC properties">In the market for JDBC properties</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/notnull/2008/01/21/rapid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

