XML Archive

  • Setting Database Connections in JBoss/ ATG

    Setting Database Connections in JBoss/ ATG

    ATG communicates to a database via JBoss via a dynamo server setup or in your home/localconfig directory if you’re not using specific dynamo servers. In this setup you specify the JNDI connection name which will then refer to an XML file which makes up part...

    Project info

  • Adding and changing Mod JK JVM route, URI encoding and thread settings for JBoss

    Adding and changing Mod JK JVM route, URI encoding and thread settings for JBoss

    In your JBoss server there is a file that can be amended to alter the URI encoding and the number of threads used by JBoss. Additionally if you’re using mod_JK to link Apache HTTP and JBoss/Tomcat you can specify a JVM route parameter here that...

    Project info

  • Setting the JDK version and compiler in JBoss for JSP pages

    Setting the JDK version and compiler in JBoss for JSP pages

    If you need to run Java 1.5 in your JSP’s in JBoss 4.0.5.GA you can do so by editing a small setting in an XML file in your server directory: jbossserver[SERVER NAME]deployjbossweb-tomcat55.sarconfweb.xml You can then change the compiler version by un-commenting the code below which...

    Project info

  • Running multiple instances of Jboss on one server.

    Running multiple instances of Jboss on one server.

    To run multiple Jboss instances on the one server is pretty easy – but remember that if you’re running something like ATG commerce you’re going to need a few Gb of memory to run just the one JBoss instance let alone multiples. So you may...

    Project info

  • Google Maps API part 1: Accurate Geocoding for UK Postcodes

    Google Maps API part 1: Accurate Geocoding for UK Postcodes

    Recently I had to build a system that would take an address, pass it to google and return latitude and longitude values. The result is then stored for later use and display on Google maps. However, firstly I found that the default XML geocoding service...

    Project info

  • Using Javascript/ AJAX to post HTML form data

    Using Javascript/ AJAX to post HTML form data

    Why would you need to do this? Well for instance if you were using 3rd party AJAX APIs and you wanted to capture the data from them perhaps, or maybe you just have a complex form. Or you could use this for form validation to...

    Project info

  • Creating XML from PHP/ MySQL for use with SPRY

    Creating XML from PHP/ MySQL for use with SPRY

    So lets say for example you have a table in your database and you want to return some results, pretty easy with PHP/ MySQL and I dare say easy enough with other languages. Now rather than return the results to the page and format them...

    Project info