Results 1 to 4 of 4

Thread: Burlap communication XMLs

  1. #1

    Default Burlap communication XMLs

    Hi folks.

    Is there some way to see communication XMLs in logs when using Burlap as remoting protocol ?
    BTW, it seems that Burlap is far from ideal remoting strategy. I just exposed my first interface through it, and it seems that it needs improvement in bunch of places ...
    It got confused when I sent Collections.EMPTY_LIST value as method argument (List), it got confused when I had 2 methods in interface with same names, but different arguments, etc...

    -Vjeran

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Not really an answer to your question, but relative to the observation in your post....

    When adding Java Web Start and Acegi Security integration to the Petclinic RCP application I found the need to seriously reduce the complexity of objects passed around by the Caucho protocols. I would take a look at alternative remoting protocols personally, such as org.springframework.remoting.httpinvoker or (in the Spring RCP sandbox) org.springframework.remoting.simple.

  3. #3

    Default

    It got confused when I sent Collections.EMPTY_LIST value as method argument (List), it got confused when I had 2 methods in interface with same names, but different arguments, etc..
    I cannot say I find Burlap's serilization that good either (I prefer the JDK serialization), but the problems you mentionned can be solved.

    For the Collections.EMPTY_LIST, the lastest version of Burlap/Hessian will fall back on ArrayList if the newInstance() call on the list concrete class fails. I'm not completely sure when this got fixed, but Burlap/Hessian's behavior on lists changed frequently in the 2.x releases, and changed again from the 2.x to 3.x releases if I recall correctly. The main problem on the 3.x list behavior is for implementations such as Hibernate's, where the list can be successfully created, but the add(Object) method will fail because it asks for a session.

    Concerning the method overloading issue, there's an overloadEnabled property on the factory that can be set to true so that mangling is used when sending the method names.

    For the XML logs, I don't think it's possible unless using an external TCP proxy that dump the text it receives before sending it to the real client/server.

    Guillaume

  4. #4
    Join Date
    Aug 2011
    Posts
    1

    Default

    Quote Originally Posted by gpoirier View Post
    I cannot say I find Burlap's serilization that good either (I prefer the JDK serialization), but the problems you mentionned can be solved.

    For the Collections.EMPTY_LIST, the lastest version of Burlap/Hessian will fall back on ArrayList if the newInstance() call on the list concrete class fails. I'm not completely sure when this got fixed, but Burlap/Hessian's behavior on lists changed frequently in the 2.x releases, and changed again from the 2.x to 3.x releases if I recall correctly. The main problem on the 3.x list behavior is for implementations such as Hibernate's, where the list can be successfully created, but the add(Object) method will fail because it asks for a session.

    Concerning the method overloading issue, there's an overloadEnabled property on the factory that can be set to true so that mangling is used when sending the method names.

    For the XML logs, I don't think it's possible unless using an external TCP proxy that dump the text it receives before sending it to the real client/server.

    Guillaume
    Hey guys, I am a programming novice, I have to learn programming is not very good, join the forum after I learned a lot, thank you share things, helped me a lot, thank you!

Similar Threads

  1. Problems using Burlap JMX in Tomcat
    By mryan in forum Management
    Replies: 1
    Last Post: Sep 30th, 2005, 02:43 AM
  2. Presentation and Business Tier Communication
    By vaibhavkhattri in forum Architecture
    Replies: 4
    Last Post: Sep 15th, 2005, 08:31 AM
  3. EJB communication
    By jonnyS in forum EJB
    Replies: 1
    Last Post: Mar 14th, 2005, 05:01 AM
  4. Remote application using Burlap + ACEGI
    By Adventure in forum Security
    Replies: 1
    Last Post: Jan 27th, 2005, 07:00 AM
  5. Protocol Exceptions with Hessian & Burlap
    By dortman in forum Remoting
    Replies: 1
    Last Post: Sep 28th, 2004, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •