RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5
Well it’s undocumented because we’re not expecting you to mess with that portion nor planning on supporting you doing it J Flex 2 is a re-implementation of much of that logic so everything is different internally, who knows if the quality is as poor as you say anymore. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 6:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 10:33 AM To: flexcoders@yahoogroups.com 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5
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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 10:33 AM To: flexcoders@yahoogroups.com 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 10:33 AM To: flexcoders@yahoogroups.com 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 Yahoo! Groups Sponsor ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~-> -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
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 Matt Chotin wrote: What are you trying to do, create a new adapter? I don’t really know the config file that well but I think if you don’t see an example of what you’re trying to do it may not be possible. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Wednesday, November 30, 2005 3:11 AM To: flexcoders Subject: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Hello flexcoders, I was looking for docs about how to configure the subj. I found nothing found in google about it, can anyone tell me some usefull links about it, I'm especially interested in file format and section where it comes to adapter configuration, Can I pass some value to the adapter from that xml file? how can I do it? etc. Sure I can decompile Flex server and knew about it but I think theere might be some easier way :). 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5
What are you trying to do, create a new adapter? I don’t really know the config file that well but I think if you don’t see an example of what you’re trying to do it may not be possible. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Wednesday, November 30, 2005 3:11 AM To: flexcoders Subject: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Hello flexcoders, I was looking for docs about how to configure the subj. I found nothing found in google about it, can anyone tell me some usefull links about it, I'm especially interested in file format and section where it comes to adapter configuration, Can I pass some value to the adapter from that xml file? how can I do it? etc. Sure I can decompile Flex server and knew about it but I think theere might be some easier way :). 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.