October 16, 2007 – 2:47 pm
One way to pass parameters to you Axis2 service:
1) write a <parameter> tag inside your services.xml
<?xml version="1.0" encoding="UTF-8"?>
<!– This file was auto-generated from WSDL –>
<!– by the Apache Axis2 version: 1.3 Built on : Aug 10, 2007 (04:45:47 LKT) –>
<serviceGroup>
<service name="xxxxxxx" class="MyServiceLifeCycleImpl">
….
<parameter [...]
October 16, 2007 – 11:04 am
It´s not easy to get information on derby keys once you created them. I was looking for a command like “SHOW CREATE TABLE <tablename>” but no luck. I realized that the answer should lay in SYS tables. After googling a while I found the following bit of wisdom:
The following query will give [...]
October 15, 2007 – 11:04 am
I just realized that to be able to open/share the same Derby database from two different web applications running in the same Tomcat instance (same JVM) you´ll need to put derby.jar in the $TOMCAT_HOME/common/lib and remove it from your applications WEB-INF/lib. I got the clue from this RIFE web page
the jarfiles you need are derby.jar [...]
October 9, 2007 – 7:53 am
I´ve been trying to use XStream to generate JSON to be consumed by Dojo. But I can´t find the way to generate the right JSON from XStream, it keeps adding extraneous {} around. I even tried this but no luck . For example I want to generate this JSON output (taken from Dojo FilteringSelect example) [...]