Tag: java

  • Keep your WSDL files updated

    A quick remark for the future that is worth to remember. I suppose there is one of good coding principles to keep your imported WSDL files up-to-date.

    I was writing distributed ticket handling system. I needed some stateful service for this. I’ve implemented this storage with database behind and ejb-webservice as endpoint. While I was coding I’ve wrote module for creating, modifying and closing ticket in natural order. For every action I wrote separate module. During  implementation (after having done first two modules) I’ve implemented a new method in ejb-webservice what changed it’s WSDL file which I’ve used in the third module (but having not updated first two). You could imagine that this is wrong. My app server (glassfish) [I suppose] creates one wsdl file in memory for one endpoint so there is no possible way to keep two different versions of it (one with additional method and one without). Of course before that deployment and compilation were fine. This issue turned out while testers went through test scenarios.

     

  • Java Code Geeks

    Here is an interesting place to start with ie Android

  • Radius protocol

    Radius protocol is some sort of radio channel to authorize. We are going right now to implement authorization system with using token sms and bind to ldap active directory. :) We found tinyradius library online.

  • Cobertura Support for Maven Projects in NetBeans IDE

    Test Driven Developement and there is already fine support for your favorite IDE. Netbeans IDE. (Probably there was a light year earlier for Eclipse) You can preview this netbeans plugin here Cobertura Support for Maven Projects in NetBeans IDE

  • myBatis mapping example from docs within oracle procedure

    1. I just want to show how to setup complete batis project. I’ll be using example from docs. As you can read there you need at least 4 files at least:

    • Configuration.xml
    • BlogMapper.xml
    • BlogBean.java (session bean)
    • Blog.java (domain class)

    So then you have ready and working object-relational mapping you can easily publish as web service by adding annotation @webservice.

    Configuration.xml (more…)