[flexcoders] Flex and Java projects - deployment via FlexBuilder and Java Eclipse to Tomcat

2010-01-31 Thread flexnewbie999
I'm working on a Flex app that uses Java servlets. The Flex side is using 
BlazeDS/Tomcat. The Java side is a webapp also running on Tomcat. 
Can someone point me to a tutorial on how to deploy these two different apps; 
i.e. the directory structure, what goes where and if there is any possible way 
to deploy BOTH of these projects to a common location via Flexbuilder and Java 
via Eclipse? 

Thanks,
Bill



[flexcoders] Flex - BlazeDS - Java: int are set to 0 when they should be kept to NULL.

2009-09-10 Thread whiskerstasters
Hi everyone, I'm having an issue with Flex - BlazeDS - Java.

When I pass an object to Java through BlazeDS, my variables of type int are 
automatically set to 0 if they are NULL or NAN. Is there a way to keep them as 
NULL ?

Thanks everyone.



Re: [flexcoders] Flex - BlazeDS - Java: int are set to 0 when they should be kept to NULL.

2009-09-10 Thread Tom Chiverton
On Thursday 10 Sep 2009, whiskerstasters wrote:
 When I pass an object to Java through BlazeDS, my variables of type int are
 automatically set to 0 if they are NULL or NAN. Is there a way to keep them
 as NULL ?

Does your Flex VO initialise them to zero ? If you look at the BlazeDS debug 
output, what is BlazeDS sending them as ?

-- 
Helping to globally aggregate dot-com users as part of the IT team of the 
year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

Re: [flexcoders] Flex calling Java/Apache Axis web service

2009-01-22 Thread Param Parmar
Apols for resending...
I have a cross domain file on my Linux machine as follows.
 
?xml version=1.0?
cross-domain-policy
  site-control permitted-cross-domain-policies=by-content-type /
  allow-access-from domain=blueberryquant.com /
/cross-domain-policy
Any other pointers appreciated.

--- On Wed, 1/21/09, claudiu ursica the_bran...@yahoo.com wrote:

From: claudiu ursica the_bran...@yahoo.com
Subject: Re: [flexcoders] Flex calling Java/Apache Axis web service
To: flexcoders@yahoogroups.com
Date: Wednesday, January 21, 2009, 1:56 PM








Do you have a policy acess specified on the linux machine?

Claudiu





From: paramjit.parmar paramjit.parmar@ yahoo.com
To: flexcod...@yahoogro ups.com
Sent: Wednesday, January 21, 2009 3:20:19 PM
Subject: [flexcoders] Flex calling Java/Apache Axis web service



Hi All,
I have a Java/Apache axis web service which sits on Linux box. I am 
able to call this fine through a Flex .swf file on Windows. However 
when I copythe same swf file to the Linux server I get the error posted 
below. Bar the web service, the rest of the app works the same on both 
platforms. Any pointers much appreciated. I am using Tomcat web server.

[FaultEvent fault=[RPC Fault faultString= Security error accessing url 
faultCode=Channel. Security. Error faultDetail= Destination: 
DefaultHTTP ] messageId=13005BD7 -59AB-B3DA- B850-F95031390FF 7 
type=fault bubbles=false cancelable=true eventPhase=2]


 














  

[flexcoders] Flex calling Java/Apache Axis web service

2009-01-21 Thread paramjit.parmar
Hi All,
I have a Java/Apache axis web service which sits on Linux box. I am 
able to call this fine through a Flex .swf file on Windows. However 
when I copythe same swf file to the Linux server I get the error posted 
below. Bar the web service, the rest of the app works the same on both 
platforms. Any pointers much appreciated. I am using Tomcat web server.

[FaultEvent fault=[RPC Fault faultString=Security error accessing url 
faultCode=Channel.Security.Error faultDetail=Destination: 
DefaultHTTP] messageId=13005BD7-59AB-B3DA-B850-F95031390FF7 
type=fault bubbles=false cancelable=true eventPhase=2]



Re: [flexcoders] Flex calling Java/Apache Axis web service

2009-01-21 Thread claudiu ursica
Do you have a policy acess specified on the linux machine?

Claudiu





From: paramjit.parmar paramjit.par...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 21, 2009 3:20:19 PM
Subject: [flexcoders] Flex calling Java/Apache Axis web service


Hi All,
I have a Java/Apache axis web service which sits on Linux box. I am 
able to call this fine through a Flex .swf file on Windows. However 
when I copythe same swf file to the Linux server I get the error posted 
below. Bar the web service, the rest of the app works the same on both 
platforms. Any pointers much appreciated. I am using Tomcat web server.

[FaultEvent fault=[RPC Fault faultString= Security error accessing url 
faultCode=Channel. Security. Error faultDetail= Destination: 
DefaultHTTP ] messageId=13005BD7 -59AB-B3DA- B850-F95031390FF 7 
type=fault bubbles=false cancelable=true eventPhase=2]




  

Re: [flexcoders] Flex accessing java object

2009-01-04 Thread karun kumar telu
Hi Howard,
Thank you for your quick reply and the link.
I have an simple query. Can we access simple java objects using remoteobject 
with out any servers(Tomcat or any web servers)?
I am trying with an mxml file with text fields and an simple java object which 
contains dummy data. My Intention was to take the dummy data from java and 
display in the text fields. I am not able to succeed in this approach.
Can you guide me Please.

Can we use flex with java objects with out any web servers?

Thanks in advance

 Regards,


Karun Kumar T S







From: Howard Fore howard.f...@hofo.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, December 31, 2008 6:54:19 PM
Subject: Re: [flexcoders] Flex accessing java object


http://www.adobe. com/devnet/ flex/flex_ java.html

On Tue, Dec 30, 2008 at 11:47 PM, telu_karun telu_ka...@yahoo. co.in wrote:

 Can any guide me how to use flex with java objects.

-- 
Howard Fore, howard.fore@ hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood



  

[flexcoders] Flex accessing java object

2008-12-31 Thread telu_karun
Hi Guys,
I am new to Adobe Flex. Started working couple of days back.
Can any guide me how to use flex with java objects. I am trying to use
normal Java Object in flex. Please get any workaround example.I will
much thank full for your support/suggestions.

Regards
Karun Kumar





Re: [flexcoders] Flex accessing java object

2008-12-31 Thread Howard Fore
http://www.adobe.com/devnet/flex/flex_java.html

On Tue, Dec 30, 2008 at 11:47 PM, telu_karun telu_ka...@yahoo.co.in wrote:

 Can any guide me how to use flex with java objects.


-- 
Howard Fore, howard.f...@hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood


[flexcoders] Flex and Java Communication

2008-12-03 Thread saritha
Hi,

How to communicate between Flex and Java?




Re: [flexcoders] Flex and Java Communication

2008-12-03 Thread Rick Winscot
Directly? Indirectly? Server? Client? So many options...

For direct client communication, if you can widen your delivery to include
AIR ­ you need to take a look at the Merapi project:
http://www.merapiproject.net/. To be fair though client side communication
from Flex to Java is likely going to happen over/through fragile and
difficult to configure setups. Indirect server implementations like BlazeDS
(already mentioned) are going to be more robust and less prone to bustage.
With that ­ Google is your friend!

Rick Winscot


On 12/3/08 5:29 AM, saritha [EMAIL PROTECTED] wrote:

  
  
 
 Hi,
 
 How to communicate between Flex and Java?
 
  
 



[flexcoders] Flex and java

2008-06-13 Thread tosisodia
hi guys,

I am trying to create a POS (point of sale) application which would be
deployed at one system only. The back end logic (in nascent stage) is
written in java/spring/hibernate, but I want my GUI to be in FLEX/AIR.
So far my understanding is FLEX cannot communicate with java without
use of some web server. Since a POS appliance is very low ended I do
not wish to use any server. Is there any way I can make FLEX
communicate with POJO. I am very new to flex, so it would be helpful
if you could provide some examples too.

Thanks
Raj Singh Sisodia



Re: [flexcoders] Flex and java

2008-06-13 Thread Fidel Viegas
On Fri, Jun 13, 2008 at 2:44 PM, tosisodia [EMAIL PROTECTED] wrote:
 hi guys,

 I am trying to create a POS (point of sale) application which would be
 deployed at one system only. The back end logic (in nascent stage) is
 written in java/spring/hibernate, but I want my GUI to be in FLEX/AIR.
 So far my understanding is FLEX cannot communicate with java without
 use of some web server. Since a POS appliance is very low ended I do
 not wish to use any server. Is there any way I can make FLEX
 communicate with POJO. I am very new to flex, so it would be helpful
 if you could provide some examples too.

Hi Raj,

You will have to create a server side in Java and then make Flex/AIR
communicate with your server side.
Since I have created a POS in Flex+Java, I would like to share my
experience with you. First, the communication between Java and Flex
should be just like any ordinary Flex+Java application. Where you will
have troubles is when you need to print from a specific Computer that
has it's own POS printer. That part was the trickier one. In order to
solve that problem, I had to create a print server. Since I was using
Java, I just created the print server in Java. This print server would
have a mapping of printer port to ip. So, whenever a request is coming
from a certain IP, the server knows which port to send the print
command to.

On the server side, I recommend you either use BlazeDS or the Hessian
protocol. Since I have developed the application in Flex 2, I decided
to use the Hessian protocol, which is relatively fast and easy to
setup.

I hope this information was useful.

Fidel.


[flexcoders] Flex + LCDS + JAVA do I compile the java classes?

2008-04-04 Thread flexuser1
Hi, I'm following Christopher Coenraet's chat application example.
I made some changes to the JAVA classes in the WEB-INF directory and
am wondering how to compile them. 

When I use javac, it says classNotFound exception in main which is
obvious because these don't have main methods.

Thank you for your help guys



Re: [flexcoders] Flex + LCDS + JAVA do I compile the java classes?

2008-04-04 Thread Chitra S.Pai
Hi friend,

I have also tired this. I also got the same error intially.

For me this occurs because you are not specifing the path correctly try to
do that. I think you have to compile by setting the class path and also the
classes are in package so compile the classes using the classname with
package name.

Hope you will get something from this..

Chitra


[flexcoders] Flex 3.0 + Java + Hibernate + Granite + Cairngorm

2008-03-14 Thread txakin
Hi all.

I have developed one application using Flex3.0, Java, Granite and 
Hibernate and was so funny and very interesting.

My next step is use the Cairngorm framework to make it more 
scalable I don´t know which version of Cairngorm i should 
useand i don´t know so much about this framework for RIA 
applications...

I would like to know is there is able one manual explaining the step i 
must follow for use it.

Thanks in advance

See you.



Re: [flexcoders] Flex 3.0 + Java + Hibernate + Granite + Cairngorm

2008-03-14 Thread Scott Melby
I found this series of articles 
http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html very 
helpful when I was getting started with Cairngorm.


hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



txakin wrote:

Hi all.

I have developed one application using Flex3.0, Java, Granite and 
Hibernate and was so funny and very interesting.


My next step is use the Cairngorm framework to make it more 
scalable I don´t know which version of Cairngorm i should 
useand i don´t know so much about this framework for RIA 
applications...


I would like to know is there is able one manual explaining the step i 
must follow for use it.


Thanks in advance

See you.


  


[flexcoders] Flex to java objects

2008-01-08 Thread sharma.nrapendra
hi can anyone tell me how we change action script object into java
object...???



RE: [flexcoders] Flex to java objects

2008-01-08 Thread Kenneth Sutherland
You'd need to be using data services and you'd do something like the
following

 

[RemoteClass(alias=com.myvopackage.MyVO)]

public class MyVO extends Object {

//all the various values inside object here.

//make sure same as the remote java class..

}

 

 

The following link should be helpful
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.
htm?context=LiveDocs_Partsfile=1104.html 

 

If you haven't got lifecycle then you could get BlazeDS (I've not
downloaded it to see yet) which will give you the dataservices that you
need for free. See http://labs.adobe.com/technologies/blazeds/

 

You might want to look at some of the various posts/tutorials about
Cairngorm. 

 

http://labs.adobe.com/wiki/index.php/Cairngorm

 

or this page from adobe on flex for java developers

http://www.adobe.com/devnet/flex/flex_java.html

 

 

HTH.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sharma.nrapendra
Sent: 08 January 2008 11:31
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex to java objects

 

hi can anyone tell me how we change action script object into java
object...???

 



[flexcoders] Flex and Java [Remote Object] example

2007-08-31 Thread MEGHARAJ
Hi Friends,

In my company taking xml response from servlet am able to draw different chart 
in mxml file. this file i put inside of the jsp page. This is working fine.

But i need help regarding remote objects.Instead of using xml response from 
server i want to use list.

In internet i saw example for remote object their they have given simple string 
response using remote object.

Please anybody knows much about remote objects give one sample program thier i 
can get the list of VO from server and then store to actioscript class. from 
actionscript class to mxml file i can use directly.

Thanks,
Megharaja S.H. 


Re: [flexcoders] Flex and Java

2007-03-01 Thread Igor Costa

Hi there Thierry

you can you this

http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP


Regards.

On 2/28/07, thierrybertossa [EMAIL PROTECTED] wrote:


  Is it possible to embed swf in java application?
And call method between them?

http://www.javaworld.com/javaworld/jw-01-2003/jw-0117-flash.html
if not with flex perhaps with flash 6 7 8 ?

 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] Flex and Java

2007-03-01 Thread Paul Andrews
The short answer is No.

Your java world link describes using flash as a presentation tier connected 
to a java j2ee server, which is quite different from embedding Flash or 
Flex.

Paul
- Original Message - 
From: thierrybertossa [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 28, 2007 2:55 PM
Subject: [flexcoders] Flex and Java


 Is it possible to embed swf in java application?
 And call method between them?

 http://www.javaworld.com/javaworld/jw-01-2003/jw-0117-flash.html
 if not with flex perhaps with flash 6 7 8 ?




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



 



[flexcoders] Flex and Java

2007-02-28 Thread thierrybertossa
Is it possible to embed swf in java application?
And call method between them?

http://www.javaworld.com/javaworld/jw-01-2003/jw-0117-flash.html
if not with flex perhaps with flash 6 7 8 ?



[flexcoders] flex and Java SE 6 wsgen generated services

2007-02-23 Thread Giles Velarde
Hi All,

I was wondering if any of you have been trying to auto-generate WSDLs 
and web-services using wsgen and access them using Flash. Wsgen 
separates the message parameters from WSDL file, and keeps them in a 
separate XSD, but this doesn't seem to be supported right now.

Does anyone know of any elegant-ish workarounds or whether support for 
this kind of WSDL is likely to be added in near-future releases of Flash?

I imagine there will be lots of people trying to use wsgen on new projects.

Best,
Giles





[flexcoders] Flex Builder Java dev setup best practice?

2006-05-22 Thread flexabledev



I'm wondering if anyone can suggest the best way to set up a Flex
Builder (beta 3 as eclipse plug-in) project that will also contain
Java classes (accessed via Flex Remoting and/or Data Services). Is it
best to set up two projects, one for Flex and one for Java? Can I
have both in one project and just switch perspectives? I'm relatively
new to eclipse and am looking for someone to suggest the best way to
do this considering that I need to work in both environments
simultaneously. Thanks in advance...










--
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] Flex Builder Java dev setup best practice?

2006-05-22 Thread Tom Bray



Here's a link that was really helpful for me:http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:DebuggingYou'll have to adjust some of the steps because they're for a previous Beta, but you'll figure it out.
HTH,TomOn 5/22/06, flexabledev [EMAIL PROTECTED] wrote:



I'm wondering if anyone can suggest the best way to set up a Flex
Builder (beta 3 as eclipse plug-in) project that will also contain
Java classes (accessed via Flex Remoting and/or Data Services). Is it
best to set up two projects, one for Flex and one for Java? Can I
have both in one project and just switch perspectives? I'm relatively
new to eclipse and am looking for someone to suggest the best way to
do this considering that I need to work in both environments
simultaneously. Thanks in advance...










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



  
















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



  









[flexcoders] Flex/ActionScript/Java and UML

2006-04-05 Thread Oscar . Cortes
Has anyone have any UML diagrams examples that show the interaction among
mxml components, action script classes and Java?



---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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





[flexcoders] flex String java String

2006-01-08 Thread frizzly_hair
hi all

this is my java code: 

public String xmlTree() throws ClassNotFoundException, SQLException, 
IOException{ 
TreeInfo tixt = new TreeInfo(); 
String s = tixt.createTree(); 
System.out.println(s); 
return s; 
} 

it return s = 


node label=\INBOX\/node label=\Personal Folder\node 
label=\Business\ /node label=\Demo\ /node label=\Personal\ 
isBranch=\true\ /node label=\Saved Mail\ //node 


in AS 

function tree():Void{ 
var xml_tree:String; 
var mytree:XML; 
xml_tree = ZJ.xmlTree(); 
mytree = new XML(xml_tree); 
Ntree.dataProvider = mytree; 
mx.controls.Alert.show (xml_tree,'Message'); 
} 

the Alert window give me the message like this: 

[object Object] 

it not a String that i want, i do not know why ? everyone know about 
this give a help please! thanks! 






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