Re: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-18 Thread Manu Dhanda

Hii Tom,

It's my delegate code snippet:
public function LoginDelegate( responder : IResponder )
{
this.service = ServiceLocator.getInstance().getRemoteObject( 
"loginService"
);
trace("In LoginDelegate line 12 "+this.service.toString() );
this.responder = responder;
}

public function isValidLogin( loginVO : LoginVO ): void
{
trace("In LoginDelegate line 18 "+loginVO.coreId );
var call : Object = service.isValidLogin(loginVO);
trace("In LoginDelegate line 20 "+call.toString() );
call.addResponder( responder );
}

Any further guidance will help.
Thanks,
Manu.


Tom Chiverton-2 wrote:
> 
> On Monday 17 Dec 2007, Manu Dhanda wrote:
>> Using Cairngorm, do we anywhere need to define something like that:
> 
> You'll have that call in your Delegate class. I didn't see that in the 
> snippits of code you gave.
> 
> -- 
> Tom Chiverton
> Helping to enormously harvest second-generation customers
> on: http://thefalken.livejournal.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office address
> is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3
> 3EB.  A list of members is available for inspection at the registered
> office. Any reference to a partner in relation to Halliwells LLP means a
> member of Halliwells LLP.  Regulated by The Solicitors Regulation
> Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee
> you must not read it and must not use any information contained in nor
> copy it nor inform any person other than Halliwells LLP or the addressee
> of its existence or contents.  If you have received this email in error
> please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
> 
> 
> --
> 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
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14393062.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-17 Thread Tom Chiverton
On Monday 17 Dec 2007, Manu Dhanda wrote:
> Using Cairngorm, do we anywhere need to define something like that:

You'll have that call in your Delegate class. I didn't see that in the 
snippits of code you gave.

-- 
Tom Chiverton
Helping to enormously harvest second-generation customers
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-17 Thread Ralf Bokelberg
Hi Manu

It seems like you are trying to take two steps at once.
Before working with Cairngorm i would try to create a very simple
Remoting example.
I'm sure you can find one in the help files.

Cheers
Ralf

On Dec 17, 2007 12:35 PM, Manu Dhanda <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
>  Hii..
>  It's really giving me hard time now.
>  Now, am using blazeds. Have everything in place. My app is compiling fine.
>  But still control is not reaching to my java code.
>
>  I have destination defined like this in my remoting-config.xml:
>  
>  
>  com.mot.stir.business.LoginDelegate
>  
>  
>
>  I have this in my Services.mxml:
>  
>  
>
>  In my command file, I have this:
>  public function execute( event : CairngormEvent ): void
>  {
>  var delegate : LoginDelegate = new LoginDelegate( this );
>  var loginEvent : ClickLoginEvent = ClickLoginEvent( event );
>  delegate.isValidLogin( loginEvent.loginVO );
>  trace("In ClickLoginCommand line 28 "+loginEvent.loginVO.coreId );
>  }
>
>  I can see it reaching to this trace statement.
>
>  I had initialized ServiceLocator in my main mxml.
>  
>  
>
>  then where am I doing wrong, I could not understand???
>
>  Using Cairngorm, do we anywhere need to define something like that:
>  
>  
>  
>
>  Specifically 
>  Any guidance will be great on this topic.
>  Thanks.
>  Manu.
>
>  Dimitrios Gianninas wrote:
>  >
>  > The answer is YES and I gave the other possibilities. If you are asking
>  > can I call Java classes from Flex without a some server component, then
>  > the answer is NO.
>  > You have to have something on the server-side to listen for the message
>  > coming over the wire and do the translation for you.
>  >
>  > Dimitrios Gianninas
>  > RIA Developer and Team Lead
>  > Optimal Payments Inc.
>  >
>  >
>  > 
>  >
>  > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>  > Behalf Of Manu Dhanda
>  > Sent: Wednesday, December 12, 2007 9:27 AM
>  > To: flexcoders@yahoogroups.com
>  > Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without
>  > FDS(LCDS).
>  >
>  >
>  >
>  >
>  > Oh, I didn't completed my sentence properly.
>  > What I wanted to ask is "Is that possible to use RemoteObject with Java
> in
>  > Flex using Cairngorm without using FDS?"
>  >
>  > Sorry for my incomplete post last time.
>  >
>  > Thanks.
>  > Manu.
>  >
>  > Dimitrios Gianninas wrote:
>  >>
>  >> yes it is, there are options:
>  >>
>  >> Granite Data Services:
>  >> http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
>  >>
> 
>  >> Red5: http://osflash.org/red5 
>  >>
>  >> Dimitrios Gianninas
>  >> RIA Developer and Team Lead
>  >> Optimal Payments Inc.
>  >>
>  >>
>  >> 
>  >>
>  >> From: flexcoders@yahoogroups.com 
>  >> [mailto:flexcoders@yahoogroups.com 
>  >> ] On
>  >> Behalf Of Manu Dhanda
>  >> Sent: Wednesday, December 12, 2007 3:57 AM
>  >> To: flexcoders@yahoogroups.com 
>  >> Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
>  >>
>  >>
>  >>
>  >>
>  >> Hii,
>  >>
>  >> Is that possible to use RemoteObject with Java in Flex using Cairngorm.
>  >> As I tried to search for a working sample app. And with heaps of post
>  >> around, none pointed me to the actual working example.
>  >>
>  >> So, before doing anything else, I am stuck with this question itself
> that
>  >> whether it is possible to use RemoteObjects with Java in Flex??
>  >>
>  >> Any help is appreciated.
>  >>
>  >> Thanks.
>  >> Manu.
>  >> --
>  >> View this message in context:
>  >>
> http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
>  >>
> 
>  >>
>   >>
> 
>  >> >
>  >> Sent from the FlexCoders mailing list archive at Nabble.com.
>  >>
>  >>
>  >>
>  >>
>  >>
>  >> --
>  >> WARNING
>  >> ---
>  >> This electronic message and its attachments may contain confidential,
>  >> proprietary or legally privileged information, which is solely for the
>  >> use
>  >> of the intended recipient. No privilege or other rights are waived by
> any
>  >> unintended transmission or unauthorized retransmission of this message.
>  >> If you are not the intended recipient of this message, or if you have
>  >> received it in error, you should immediately stop reading this message
>  >> and
>  >> delete it and all attachments from your system. The reading,
>  >> distribution, copying or other use of this message or its 

RE: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-17 Thread Manu Dhanda

Hii..
It's really giving me hard time now.
Now, am using blazeds. Have everything in place. My app is compiling fine.
But still control is not reaching to my java code.

I have destination defined like this in my remoting-config.xml:


com.mot.stir.business.LoginDelegate



I have this in my Services.mxml:



In my command file, I have this:
public function execute( event : CairngormEvent ): void
{
var delegate : LoginDelegate = new LoginDelegate( this );  
var loginEvent : ClickLoginEvent = ClickLoginEvent( event );  
delegate.isValidLogin( loginEvent.loginVO );
trace("In ClickLoginCommand line 28 "+loginEvent.loginVO.coreId );
}

I can see it reaching to this trace statement.

I had initialized ServiceLocator in my main mxml.



then where am I doing wrong, I could not understand???


Using Cairngorm, do we anywhere need to define something like that:




Specifically  
> The answer is YES and I gave the other possibilities. If you are asking
> can I call Java classes from Flex without a some server component, then
> the answer is NO.
> You have to have something on the server-side to listen for the message
> coming over the wire and do the translation for you.
>  
> Dimitrios Gianninas
> RIA Developer and Team Lead
> Optimal Payments Inc.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Manu Dhanda
> Sent: Wednesday, December 12, 2007 9:27 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without
> FDS(LCDS).
> 
> 
> 
> 
> Oh, I didn't completed my sentence properly.
> What I wanted to ask is "Is that possible to use RemoteObject with Java in
> Flex using Cairngorm without using FDS?"
> 
> Sorry for my incomplete post last time.
> 
> Thanks.
> Manu.
> 
> Dimitrios Gianninas wrote:
>> 
>> yes it is, there are options:
>> 
>> Granite Data Services:
>> http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
>>  
>> Red5: http://osflash.org/red5  
>> 
>> Dimitrios Gianninas
>> RIA Developer and Team Lead
>> Optimal Payments Inc.
>> 
>> 
>> 
>> 
>> From: flexcoders@yahoogroups.com  
>> [mailto:flexcoders@yahoogroups.com 
>> ] On
>> Behalf Of Manu Dhanda
>> Sent: Wednesday, December 12, 2007 3:57 AM
>> To: flexcoders@yahoogroups.com  
>> Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
>> 
>> 
>> 
>> 
>> Hii,
>> 
>> Is that possible to use RemoteObject with Java in Flex using Cairngorm.
>> As I tried to search for a working sample app. And with heaps of post
>> around, none pointed me to the actual working example.
>> 
>> So, before doing anything else, I am stuck with this question itself that
>> whether it is possible to use RemoteObjects with Java in Flex??
>> 
>> Any help is appreciated.
>> 
>> Thanks.
>> Manu.
>> -- 
>> View this message in context:
>> http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
>> 
>>  
>> > 
>> > 
>> Sent from the FlexCoders mailing list archive at Nabble.com.
>> 
>> 
>> 
>> 
>> 
>> -- 
>> WARNING
>> ---
>> This electronic message and its attachments may contain confidential,
>> proprietary or legally privileged information, which is solely for the
>> use
>> of the intended recipient. No privilege or other rights are waived by any
>> unintended transmission or unauthorized retransmission of this message. 
>> If you are not the intended recipient of this message, or if you have
>> received it in error, you should immediately stop reading this message
>> and
>> delete it and all attachments from your system. The reading,
>> distribution, copying or other use of this message or its attachments by
>> unintended recipients is unauthorized and may be unlawful. If you have
>> received this e-mail in error, please notify the sender.
>> 
>> AVIS IMPORTANT
>> --
>> Ce message électronique et ses pièces jointes peuvent contenir des
>> renseignements confidentiels, exclusifs ou légalement privilégiés
>> destinés
>> au seul usage du destinataire visé. L'expéditeur original ne renonce à
>> aucun privilège ou à aucun autre droit si le présent message a été
>> transmis involontairement ou s'il est retransmis sans son autorisation. 
>> Si vous n'êtes pas le destinataire visé du présent message ou si vous
>> l'avez reçu par erreur, veuillez cesser immédiat

RE: [flexcoders] Cairngorm + RemoteObject + Java + blazeds.

2007-12-17 Thread Manu Dhanda

Hii,
It's really giving me hard time now.
Now, am using blazeds. Have everything in place. My app is compiling fine.
But still control is not reaching to my java code.

I have destination defined like this in my remoting-config.xml:


com.mot.stir.business.LoginDelegate



I have this in my Services.mxml:



In my command file, I have this:
public function execute( event : CairngormEvent ): void
{
var delegate : LoginDelegate = new LoginDelegate( this );   
var loginEvent : ClickLoginEvent = ClickLoginEvent( event );  
delegate.isValidLogin( loginEvent.loginVO );
trace("In ClickLoginCommand line 28 "+loginEvent.loginVO.coreId );
}

I can see it reaching to this trace statement.

I had initialized ServiceLocator in my main mxml.



then where am I doing wrong, I could not understand???


Using Cairngorm, do we anywhere need to define something like that:




Specifically  
> The answer is YES and I gave the other possibilities. If you are asking
> can I call Java classes from Flex without a some server component, then
> the answer is NO.
> You have to have something on the server-side to listen for the message
> coming over the wire and do the translation for you.
>  
> Dimitrios Gianninas
> RIA Developer and Team Lead
> Optimal Payments Inc.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Manu Dhanda
> Sent: Wednesday, December 12, 2007 9:27 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without
> FDS(LCDS).
> 
> 
> 
> 
> Oh, I didn't completed my sentence properly.
> What I wanted to ask is "Is that possible to use RemoteObject with Java in
> Flex using Cairngorm without using FDS?"
> 
> Sorry for my incomplete post last time.
> 
> Thanks.
> Manu.
> 
> Dimitrios Gianninas wrote:
>> 
>> yes it is, there are options:
>> 
>> Granite Data Services:
>> http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
>>  
>> Red5: http://osflash.org/red5  
>> 
>> Dimitrios Gianninas
>> RIA Developer and Team Lead
>> Optimal Payments Inc.
>> 
>> 
>> 
>> 
>> From: flexcoders@yahoogroups.com  
>> [mailto:flexcoders@yahoogroups.com 
>> ] On
>> Behalf Of Manu Dhanda
>> Sent: Wednesday, December 12, 2007 3:57 AM
>> To: flexcoders@yahoogroups.com  
>> Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
>> 
>> 
>> 
>> 
>> Hii,
>> 
>> Is that possible to use RemoteObject with Java in Flex using Cairngorm.
>> As I tried to search for a working sample app. And with heaps of post
>> around, none pointed me to the actual working example.
>> 
>> So, before doing anything else, I am stuck with this question itself that
>> whether it is possible to use RemoteObjects with Java in Flex??
>> 
>> Any help is appreciated.
>> 
>> Thanks.
>> Manu.
>> -- 
>> View this message in context:
>> http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
>> 
>>  
>> > 
>> > 
>> Sent from the FlexCoders mailing list archive at Nabble.com.
>> 
>> 
>> 
>> 
>> 
>> -- 
>> WARNING
>> ---
>> This electronic message and its attachments may contain confidential,
>> proprietary or legally privileged information, which is solely for the
>> use
>> of the intended recipient. No privilege or other rights are waived by any
>> unintended transmission or unauthorized retransmission of this message. 
>> If you are not the intended recipient of this message, or if you have
>> received it in error, you should immediately stop reading this message
>> and
>> delete it and all attachments from your system. The reading,
>> distribution, copying or other use of this message or its attachments by
>> unintended recipients is unauthorized and may be unlawful. If you have
>> received this e-mail in error, please notify the sender.
>> 
>> AVIS IMPORTANT
>> --
>> Ce message électronique et ses pièces jointes peuvent contenir des
>> renseignements confidentiels, exclusifs ou légalement privilégiés
>> destinés
>> au seul usage du destinataire visé. L'expéditeur original ne renonce à
>> aucun privilège ou à aucun autre droit si le présent message a été
>> transmis involontairement ou s'il est retransmis sans son autorisation. 
>> Si vous n'êtes pas le destinataire visé du présent message ou si vous
>> l'avez reçu par erreur, veuillez cesser immédiat