Tag: EJB

  • 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.

     

  • Jboss Cache on Glassfish

    As some of you could notice I am openESB developer and fan. It’s development tool (Netbeans) is tightly bounded with Glassfish. Of course you can bound Jboss or any other AS to it. But I am accustomed to Glassfish (and previous Sun Application Server since JCAPS) so I work with it and all people from my division too. (more…)

  • GWT EJB3 Maven Glassfish 2.1.1 integration tutorial

    I am just being inspired by GWT EJB3 Maven JBoss 5.1 integration tutorial that is why I decided to write my own tuts just for remember howto. I am working with Glassfish and my IDE is Netbeans the demo db will be derby. I know it really doesn’t matter what app server we deploy to but still… something different. Article comming soon… Good to start with Screencast “Creating a Maven based Java Enterprise Application with GWT”