Dirk,
thanx I'm already using it but I want to enchance it a bit and need to be able to pass some parameters to it.
Also I do not like undocumented features like the ones I'm asking in this thread about.. Its OK for open source where you can see sources but its not OK for commercial servers.

BTW I've decompiled flashgateway.jar slightly (just for debug to put brakepoints) and found that the code quality is very poor. I'd refactor it much. For example
in  flashgateway.adapter.java.JavaAdapter
    protected Method getMethod(List parameters, String serviceName, String functionName, Class aClass)
modifies 'parameters' within the method. It is a design bug since get methods must not do that :) since modification of the passed parameters as a side effect smells very bad
I spent 2 hours debugging until I suggested that someone can modify that property in the method and I found that my suggestion is true after I decompile tha JavaAdapter and see the code.


Dirk Eismann wrote:
Carbon Five has developed a SpringBeanAdapter that can be used with Flex
Remoting - maybe this is a good starting point for you?

http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.htm
l
http://carbonfive.sourceforge.net/springadapter/

Dirk.


________________________________

      From: [email protected]
[mailto:[email protected]] On Behalf Of Mykola Paliyenko
      Sent: Thursday, December 01, 2005 10:33 AM
      To: [email protected]
      Subject: Re: [flexcoders] gateway-config.xml configuration file
description in Flex 1.5
     
     
      Ok Matt
      What excectly I need is following:
      1. Create my own adapter (don't ask me why I just need it),
      2. Configure it with one string property, some parameter.
      It is a common way for Filters, Servlets etc but seems to be
impossible for configuring adapters. If it is not impossible I'd like to
create a feature request for Macromedia to implement it since it makes
sence :).
     
      WBR, Mykola
     



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to