[flexcoders] Multiple requests from Safari

2007-04-05 Thread Jim Schneider
We have a Safari user that when a button is pressed, two of the same
requests going to the server. Has anyone seen this or know how/why this
could be happening?

 

Flex 2.0

Remote Object calls/AMF

JBoss/Tomcat server

OS: OS X 10.4.9

Safari: 2.0.4 (419.3)

Flash: Latest

Touch pad

 

Another twist is that it seemed to happen when going to our test server over
http, but didn't happen when going to a production server over https.

 

Thoughts?

 

 

 



RE: [flexcoders] So? What are folks here actually building...?

2006-07-20 Thread Jim Schneider










We are developing a health care Practice
Management and Electronic Health Records platform to service small to medium
sized health care practices.





-

Jim Schneider

EyeCodeRight, LLC

1-877-370-6906

1-612-605-5399











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels
Sent: Thursday, July 20, 2006
12:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] So? What are
folks here actually building...?







 





Hello,











It has been less than a month since we
shipped Flex, but I know many folks on this list had projects they started back
in the public beta time. I know in many cases you may not be able to talk
about what projects you are working on, but for those who can I'd love to get a
view onto what folks are building. We spent a long time (almost two
years) on all the parts of the Flex 2 product line (and the Flash Player 9) and
it is very cool to see the traffic here, the emergence of third party conferences
like www.flexseminar.com, the books
coming out on Flex, the 60K plus downloads of the IDE in the public beta, but
we'd love to get a sense of what real applications people are starting to
build. The team is already working on plans for mid-term and longer term
upgrades to Flex, and it helps us to really understand what people are
building. So, if you are able to talk about what you are building please
do share--I think it would be very interesting for the community and very
valuable for us on the Flex team at Adobe.











--David





Adobe









__._,_.___





--
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] Beta 3 - Custom Java Adapter

2006-05-02 Thread Jim Schneider



Here's my standard post after every beta.

We have developed a custom Java Adapter used to lookup/invoke Spring beans
that implement our remote object services. With beta 3, this is now broken
again. 

I have found some mention of factories configuration in
flex-enterprise-services.xml, but don't see any examples of how to configure
such a factory for a destination. 

In general, I don't really understand what the factories will do for me.
Should the factory replace my customer java adapter? Should the factory be
used to create my adapter? 

Any thoughts?

Thanks,

Jim









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

2006-04-11 Thread Jim Schneider

Hello,

We are looking for 1-2 Flex developers for a 6 month contract (1099,
Corp-to-Corp). Initial contract is 6 months, but could be extended beyond
that.

Location - anywhere you want. Depending on your location, minimal travel
(1-2 days) may be involved. 

You must have proven (real world preferred) Flex experience (Flex 2
preferred) and be deadline driven (our deadlines, that is :-) You must be
able to work with designs produced by UI designers and in some cases, create
your own designs. Experience with Cairngorm framework is highly desirable.
If you've been active in this group, I'll know your name.

Other nice skills to have would be:

Flash
Effects
Remote Objects
FDS
Java
App Server (JBoss/Tomcat) install (minimal configuration)
Database (MySQL) install (minimal configuration)
CVS
JUnit/FlexUnit


If you are qualified and interested, please contact me offline.

Jim





--
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] Flex2b2 - Customer Java Adapter/Data Mapping

2006-04-03 Thread Jim Schneider










We are using remote objects/services and have developed a
custom Java adapter. In beta1, JavaAdapter had a getMethod()
method to look up a remote classs method. This API does not appear to be
available in beta2. I replaced this with just the standard java reflection
method lookup on Class. However, it appears as if this method did some more
work. Specifically, I am calling an API that takes a java.lang.Long as a
parameter. I pass a Number from actionscript, it gets mapping to a
java.lang.Integer on the server, and now my reflection look does not work as
there is no version of my operation that takes a java.lang.Integer (we are
expecting java.lang.Long). 



Any thoughts on this? Is the old JavaAdapter.getMethod()
available somehow/somewhere? If not, did the old getMethod() do more work than
standard reflection to find the appropriate method (perhaps iterating the valid
numeric object types?)? If so, would Adobe care to share this
code with me/us so I dont have to roll my own? Any other suggestions?



Thanks,



Jim





-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399













--
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] Flex2: AS Number to Java Long mapping

2006-03-02 Thread Jim Schneider










Same happens with NaN.
Do you (Adobe) have any thoughts as to whether this is worthy of a fix,
or will we need to remember to add the logic to check for 0 in all of our Java
objects.



Thanks,



Jim







-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Sunday, February 26, 2006
8:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex2:
AS Number to Java Long mapping





What happens if you set the Number to NaN in AS? I believe null will coerce to 0 in AS3.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Schneider
Sent: Sunday, February 26, 2006
9:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2: AS
Number to Java Long mapping





Im experiencing the following behavior. I set an AS
Number variable to null prior to sending to a remote object. On the backend
(Java), the Number is converted to a 0. The expected data type on the Java end
is a Long (object, not primitive). This is causing us problems since we expect
a null Long object to be represented as null in the database, not 0, and as an
indicator of a new object that needs to be inserted rather than updated.



Is this expected behavior/mapping? Is it a bug? I can fix it
on the backend with some additional logic, but Id rather not have to do
that. 



Thoughts?



Thanks.





-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399














--
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] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Jim Schneider
Yep, that's the issue. Actionscript has the concept of null. Java has the
concept of null. It would seem that AMF/Flex should be able to map the two
correctly.

-
Jim Schneider
KJ Interactive, Inc.
1-877-370-6906
1-612-605-5399-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Thursday, March 02, 2006 1:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex2: AS Number to Java Long mapping


The core of the issue is that the deserializer cant seperate a
primitive from an Object wrapper right?  I mean mapping a null onto a
long of 0 is correct.  The issue youre having is you want a Long which
itsel is null right?

I can say you'd face this issue in CORBA all the time too.  The
solution in CORBA was to pass a structure that had an isNull property.

struct NullableLong
{
  long value;
  bool isNull;
}

Now you would set the value to zero but the isNull to true.

Just how we solved this back in the CORBA days :)

Passing nulls across languages (hence the CORBA tie) is always an ugly
issue in distributed computing.


-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, Jim Schneider [EMAIL PROTECTED] wrote:

 Same happens with NaN. Do you (Adobe) have any thoughts as to
whether this
 is worthy of a fix, or will we need to remember to add the logic
to check
 for 0 in all of our Java objects.
 
  
 
 Thanks,
 
  
 
 Jim
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Sunday, February 26, 2006 8:12 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Flex2: AS Number to Java Long mapping
 
  
 
 What happens if you set the Number to NaN in AS?  I believe null
will coerce
 to 0 in AS3.
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jim Schneider
 Sent: Sunday, February 26, 2006 9:20 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex2: AS Number to Java Long mapping
 
  
 
 I'm experiencing the following behavior. I set an AS Number variable
to null
 prior to sending to a remote object. On the backend (Java), the
Number is
 converted to a 0. The expected data type on the Java end is a Long
(object,
 not primitive). This is causing us problems since we expect a null Long
 object to be represented as null in the database, not 0, and as an
indicator
 of a new object that needs to be inserted rather than updated.
 
  
 
 Is this expected behavior/mapping? Is it a bug? I can fix it on the
backend
 with some additional logic, but I'd rather not have to do that. 
 
  
 
 Thoughts?
 
  
 
 Thanks.
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399
 
  
 
 
 
 
 --
 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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site

+design+developmentw2=Computer+software+developmentw3=Software+design+and+

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=L-4QTvxB_quFDtMyhrQaHQ  site design development 
 
 Computer

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si

te+design+developmentw2=Computer+software+developmentw3=Software+design+an

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
 =166.sig=lvQjSRfQDfWudJSe1lLjHw  software development 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+design+

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  design and development 
 
 
 Macromedia

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve

lopmentw2=Computer+software+developmentw3=Software+design+and+development

w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
 PIrz7_EpZI36cYzBjw  flex 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W

eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi

gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
 c=5s=166.sig=f89quyyulIDsnABLD6IXIw  development best practice 
 
  
 
  
 
   _  
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
   
 *  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED

[flexcoders] Flex 2 equivalent of remote-objects-debug

2006-02-27 Thread Jim Schneider










Is there an equivalent in Flex 2 of the remote-objects-debug
configuration element so that I can turn on debug output of the
AMF data to/from my remote objects?



Thanks,



Jim





-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399













--
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] Flex2: AS Number to Java Long mapping

2006-02-26 Thread Jim Schneider










Im experiencing the following behavior. I set an AS
Number variable to null prior to sending to a remote object. On the backend
(Java), the Number is converted to a 0. The expected data type on the Java end
is a Long (object, not primitive). This is causing us problems since we expect
a null Long object to be represented as null in the database, not 0, and as an
indicator of a new object that needs to be inserted rather than updated.



Is this expected behavior/mapping? Is it a bug? I can fix it
on the backend with some additional logic, but Id rather not have to do
that. 



Thoughts?



Thanks.





-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399













--
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] Flex2 - Custom JavaAdapter - ServletContext

2006-02-22 Thread Jim Schneider
I'm writing a custom java adapter (remote object). I'd like to get access to
the ServletContext. Is that available? If so, where would I be able to find
it? (adapter, service, channel, message broker, ...?). In 1.5, there was an
ActionContext class that I could use. Is there an equivalent in 2.0?

Additionally, is there some api that I can call from within the adapter that
will transform {context.root} to the actual context root string?

Thanks,

Jim

-
Jim Schneider
KJ Interactive, Inc.
1-877-370-6906
1-612-605-5399
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ian Skinner
Sent: Wednesday, February 22, 2006 3:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] coldfusion convert formatting query in flex 1.5

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) FROM
dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005')
  
/cfquery

On all the DBMS that I have experience with, using a function in the select
statement will cause the name of the column to be changed.  The easiest fix
for this is to alias the column name.

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) AS
InterviewDate

This will alias the column back to its original name.  But you could put any
legal string after that AS statement and then use that string in the flex
code.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
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 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] Re: setUsernamePassword and J2EE login (bounce)

2006-02-15 Thread Jim Schneider
Thanks for the responses. 

Sorry for my ignorance, but are you suggesting that the JSP simulate a login
(invoking the loginContext/loginModule)? Or are you suggesting that the JSP
set the UserPrincipal in the HTTP request (although I don't see a setter in
the request interface API, which makes me wonder how JAAS injects the
UserPrincipal into the request, but I can probably find that somewhere). 

To answer Matt's questions, no, I'm not sure JAAS successfully stores the
principal, yes, the login module is being called, but I'll look at it more
closely.

Thanks again,

Jim

-
Jim Schneider
EyeCodeRight, LLC
1-877-370-6906
1-612-605-5399

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Wednesday, February 15, 2006 8:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: setUsernamePassword and J2EE login (bounce)


We have, as Carson mentioned, definately seen issues where the
j_session_id is not properly propogated through the proxy.  I would
want to see, as Matt alludes to, do the credentials get propogated
when we take the proxy out of the picture.  I would create a simple
JSP page which itself returns the UserPrincipal.  Call that JSP from
within your Flex app and read the value.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 You sure that JAAS successfully stores the Principal back in the user
 request?  If you did something similar via JSP would everything come
 through correctly?  I haven't played with JBoss but WebSphere for
 example failed to store the authenticated principal in the request even
 when I went through JAAS to login my user in.  You traced to see that
 your login module is called?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jim Schneider
 Sent: Tuesday, February 14, 2006 2:12 PM
 To: flexcoders@yahoogroups.com
 Subject: FW: [flexcoders] setUsernamePassword and J2EE login (bounce)
 
  
 
 No one has any thoughts/ideas on this?
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jim Schneider
 Sent: Saturday, February 04, 2006 12:01 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] setUsernamePassword and J2EE login
 
  
 
 I finally got back to looking at this. I Instrumented my code to look at
 flashgateway.Gateway.getHttpRequest().getRemotePrincipal() and
 getRemoteUser().  RemoteUser is empty and remote principal is null. I
 see the userid/password credentials in the amf trace from the client
 (setting UsernamePassword on the service), but nothing in the service.
 
  
 
 I'm using remote objects. Remote object is a spring bean.
 
  
 
 I've implemented a JAAS login module that appears to be functioning
 correctly (loginContext succeeds). 
 
  
 
 Using JBoss 4.0.x.
 
  
 
 Any thoughts?
 
  
 
 Thanks,
 
  
 
 Jim
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Carson Hager
 Sent: Saturday, January 21, 2006 10:22 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] setUsernamePassword and J2EE login
 
  
 
 If you use standard J2EE auth to the container, you can get the remote
 user provided you are not using the proxy. There is currently an issue
 with the proxy not forwarding the cookie in most ( all that we've seen )
 circumstances.  We have received a fix from Adobe on this that we are in
 the process of testing.
 
  
 
 This being said, if you don't use the proxy, you'll be able to acccess
 the user without issue from within your service implementations.  Here's
 the kicker.  The AS2 VM doesn't not handle HTTP status code 500. It
 stops parsing the HTTP response when it sees a 500 which means that you
 will never be able to get at any data that occurs due to a SOAP Fault.
 Per the web services spec, the container is required to return an HTTP
 500 status code when returning a fault. Effectively, you can't handle
 SOAP faults when you don't use the proxy and you get that meaningless
 error message that looks like it simply couldn't connect to the service.
 This issue is handled by the proxy. It changes that HTTP status code
 to 200 so that the flash player can parse the request.  This is a kludge
 if you ask me but that's where we are today.  As a note, this is being
 addressed in FP8.5 but the fix will very likely not ( according to Adobe
 ) be fixed in earlier versions due to backward compatibility.
 
  
 
  
 
 Carson
 
  
   
 Carson Hager 
 Cynergy Systems, Inc. 
 http

RE: [flexcoders] Re: setUsernamePassword and J2EE login (bounce)

2006-02-15 Thread Jim Schneider
Is this a valid test for this? I've verified that the login.jsp fires the
JAAS login module and I do get the principal object back. In both jsps
(login.jsp and verify.jsp), the user/principal information is null. (BTW,
I've tried using the JBoss-supplied DatabaseServerLoginModule and my own to
check for differences. None)

Can we conclude from this that the JBoss JAAS module is not setting the
principal information?


Logintest.mxml
{
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* 
  mx:Panel width=100% height=100% title=Login Test
  mx:VBox height=100% width=100%
mx:Button label=Login click=getUrl('login.jsp', 'LoginTest')/
mx:Button label=Verify click=getUrl('verify.jsp',
'LoginTest')/
  /mx:VBox
  /mx:Panel   
  /mx:Application
}

Login.jsp (snippet)
{
  %
  Subject subject = new Subject();
  UsernamePasswordHandler handler = new UsernamePasswordHandler(username,
password.toCharArray());
  LoginContext loginContext = new LoginContext(employee, subject,
handler);
  loginContext.login(); 
  String user = request.getRemoteUser();
  String principal = null;
  if (request.getUserPrincipal() != null)
principal = request.getUserPrincipal().getName();
}
  %
  Login Remote User: %= user %br
  Login Principal: %= principal %
}

Verify.jsp
{
  %
  String user = request.getRemoteUser();
  String principal = null;
  if (request.getUserPrincipal() != null)
principal = request.getUserPrincipal().getName();
  %
  Verify Remote User: %= user %br
  Verify Principal: %= principal %
}


-
Jim Schneider
KJ Interactive, Inc.
1-877-370-6906
1-612-605-5399

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Wednesday, February 15, 2006 11:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: setUsernamePassword and J2EE login (bounce)

Right, basically attempt to remove Flex from the equation for the
moment, get your JAAS module to fire using credentials you pass in using
the JSP.  Then after you've authenticated use the JSP to see if that
newly created authenticated Principal is stored in the request.  If it
isn't there then the problem is bigger than RemoteObject.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carson Hager
Sent: Wednesday, February 15, 2006 9:05 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: setUsernamePassword and J2EE login
(bounce)

He's actually not suggesting either.  He's suggesting creating a test
JSP that returns the user principal objec to verify that the JSP is
within an authenticated session.

%=request.getUserPrincipal().getName()%

It looks like you're going through a proxy which is using another
session. As I mentioned earlier, there are issues with the proxy and
forwarding credentials from an existing session.  Our context was the
use of web services but this could very well be what you're seeing as
well.


Carson 



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Schneider
Sent: Wednesday, February 15, 2006 8:49 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: setUsernamePassword and J2EE login
(bounce)

Thanks for the responses. 

Sorry for my ignorance, but are you suggesting that the JSP simulate a
login
(invoking the loginContext/loginModule)? Or are you suggesting that the
JSP
set the UserPrincipal in the HTTP request (although I don't see a setter
in
the request interface API, which makes me wonder how JAAS injects the
UserPrincipal into the request, but I can probably find that somewhere).


To answer Matt's questions, no, I'm not sure JAAS successfully stores
the
principal, yes, the login module is being called, but I'll look at it
more
closely.

Thanks again,

Jim

-
Jim Schneider
EyeCodeRight, LLC
1-877-370-6906
1-612-605-5399

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Wednesday, February 15, 2006 8:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: setUsernamePassword and J2EE login (bounce)


We have, as Carson mentioned, definately seen issues where the
j_session_id is not properly propogated through the proxy.  I would
want to see, as Matt alludes to, do the credentials get propogated
when we take the proxy out of the picture.  I would create a simple
JSP page which itself returns the UserPrincipal.  Call that JSP from
within your Flex app and read the value.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

RE: [flexcoders] Re: setUsernamePassword and J2EE login (bounce)

2006-02-15 Thread Jim Schneider
Thanks for the info. 

First, let me clarify that this is not how we intend to do login/auth. I was
merely trying to get the LoginModule to fire without going through any
server-side/flex/proxy.

Does this process only work if we try to access a restricted resource? That
is, if the first screen in my Flex app is the login page, can I post the
form to one of my own services (remote object), manually do the
handler/loginContext process as described in login.jsp below? Or does it
need to be posted to this j_security_check? If this login module/context
succeeds (login/commit), does it matter whether this was called through my
own code or from this mysterious j_security_check? (BTW, what is
j_security_check? A jsp, url to servlet handled by container,  I can do
the search on this myself, but if you want to answer, I'd certainly read it
:-))

Is there some standard way of handling an app that requires the user to
login prior to doing anything? For example, I see the app being launched
from a link/button on our web site. I want the login page to display. Do we
have this link/button point to some fake (or real) protected resource to
kick off the auth process?

As always, thanks for the education.

Jim

-
Jim Schneider
KJ Interactive, Inc.
1-877-370-6906
1-612-605-5399

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carson Hager
Sent: Wednesday, February 15, 2006 12:41 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: setUsernamePassword and J2EE login (bounce)

Actually, this doesn't look correct at all. You're trying to go about
this manually and that is not how J2EE security works.  For this to
work, you have to integrate with the container which means configuring
your servlet container to delegate all J2EE authentication/authorization
to your JAAS module.  After that, you then have to secure resources
within your web application however that's done in your container. For
things like Tomcat, this is done directly in web.xml. Your situation
here will likely be different. If you are using form auth, you then
point your flex form to post to j_security_check passing in j_username
and j_password.  If you are using basic auth, you will simply be
prompted by the browser for userid/password.  Regardless of which you
choose, the order of operations in the J2EE world is the following.

1. User requests a secure resource
2. Server responds with either the page you have configured for
credentials (Form auth) or with a request to the client(browser) to
garner then login information (Basic auth).
3. User enters credentials.
4. If successful, you now have an authenticated session that the server
is intimately familiar with.

To answer the next question, you cannot force these credentials into
J2EE authentication session manually. You have to go through the
server's provided interfaces.  Unfortunately, J2EE security is much too
broad a subject to get into in this medium. I've atttempted to give you
a brief outline of the process here so that you can pursue it within the
context of your container and its capabilities.  Given the frequency of
the questions surrounding this topic, we have submitted this topic as a
candidate for an upcoming DevNet article.


Carson



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Schneider
Sent: Wednesday, February 15, 2006 10:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: setUsernamePassword and J2EE login
(bounce)

Is this a valid test for this? I've verified that the login.jsp fires
the
JAAS login module and I do get the principal object back. In both jsps
(login.jsp and verify.jsp), the user/principal information is null.
(BTW,
I've tried using the JBoss-supplied DatabaseServerLoginModule and my own
to
check for differences. None)

Can we conclude from this that the JBoss JAAS module is not setting the
principal information?


Logintest.mxml
{
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns=* 
  mx:Panel width=100% height=100% title=Login Test
  mx:VBox height=100% width=100%
mx:Button label=Login click=getUrl('login.jsp',
'LoginTest')/
mx:Button label=Verify click=getUrl('verify.jsp',
'LoginTest')/
  /mx:VBox
  /mx:Panel   
  /mx:Application
}

Login.jsp (snippet)
{
  %
  Subject subject = new Subject();
  UsernamePasswordHandler handler = new
UsernamePasswordHandler(username,
password.toCharArray());
  LoginContext loginContext = new LoginContext(employee, subject,
handler);
  loginContext.login(); 
  String user = request.getRemoteUser();
  String principal = null;
  if (request.getUserPrincipal() != null)
principal = request.getUserPrincipal().getName

FW: [flexcoders] setUsernamePassword and J2EE login (bounce)

2006-02-14 Thread Jim Schneider










No one has any thoughts/ideas on this?







-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Schneider
Sent: Saturday, February 04, 2006
12:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
setUsernamePassword and J2EE login





I finally got back to looking at this. I
Instrumented my code to look at
flashgateway.Gateway.getHttpRequest().getRemotePrincipal() and getRemoteUser().
RemoteUser is empty and remote principal is null. I see the
userid/password credentials in the amf trace from the client (setting
UsernamePassword on the service), but nothing in the service.



Im using remote objects. Remote
object is a spring bean.



Ive implemented a JAAS login module
that appears to be functioning correctly (loginContext succeeds). 



Using JBoss 4.0.x.



Any thoughts?



Thanks,



Jim











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: Saturday, January 21, 2006
10:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
setUsernamePassword and J2EE login





If you use standard J2EE auth to the
container, you can get the remote user provided you are not using the proxy.
There is currently an issue with the proxy not forwarding the cookie in most (
all that we've seen ) circumstances. We have received a fix from Adobe on
this that we are in the process of testing.



This being said, if you don't use the
proxy, you'll be able to acccess the user without issue from within your
service implementations. Here's the kicker. The AS2 VM doesn't not
handle HTTP status code 500. It stops parsing the HTTP response when it sees a
500 which means that you will never be able to get at any data that occurs due
to a SOAP Fault. Per the web services spec, the container is required to return
an HTTP 500 status code when returning a fault. Effectively, you can't handle
SOAP faults when you don't use the proxy and you get that meaningless error
message that looks like it simply couldn't connect to the service. This
issue is handled by the proxy. It changes that HTTP status code to
200 so that the flash player can parse the request. This is a kludge if
you ask me but that's where we are today. As a note, this is being
addressed in FP8.5 but the fix will very likely not ( according to Adobe ) be
fixed in earlier versions due to backward compatibility.





Carson





Carson
Hager 
Cynergy
Systems, Inc. 
http://www.cynergysystems.com



Email:
[EMAIL PROTECTED] 
Office:
866-CYNERGY 
Mobile:
1.703.489.6466 

















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Saturday, January 21, 2006
7:37 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
setUsernamePassword and J2EE login

I think you should be able to get it from
the flashgateway.Gateway.getHttpRequest().getRemotePrincipal() or
getRemoteUser().











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Schneider
Sent: Wednesday, January 18, 2006
8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
setUsernamePassword and J2EE login





After calling setUsernamePassword on a service, is this
information available to the backend services (remote object or
web service)? Or perhaps after a J2EE/JAAS login? If so, how/where?



We have a requirement to do a lot of logging of whos
doing what in the system and was wondering whether there are any alternatives
to passing a username/id with most/all APIs.


Thanks for any help. 



Jim












--
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] setUsernamePassword and J2EE login

2006-02-04 Thread Jim Schneider










I finally got back to looking at this. I Instrumented
my code to look at flashgateway.Gateway.getHttpRequest().getRemotePrincipal()
and getRemoteUser(). RemoteUser is empty and remote principal is null. I
see the userid/password credentials in the amf trace from the client (setting
UsernamePassword on the service), but nothing in the service.



Im using remote objects. Remote
object is a spring bean.



Ive implemented a JAAS login module
that appears to be functioning correctly (loginContext succeeds). 



Using JBoss 4.0.x.



Any thoughts?



Thanks,



Jim











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager
Sent: Saturday, January 21, 2006
10:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
setUsernamePassword and J2EE login





If you use standard J2EE auth to the
container, you can get the remote user provided you are not using the proxy.
There is currently an issue with the proxy not forwarding the cookie in most (
all that we've seen ) circumstances. We have received a fix from Adobe on
this that we are in the process of testing.



This being said, if you don't use the
proxy, you'll be able to acccess the user without issue from within your
service implementations. Here's the kicker. The AS2 VM doesn't not
handle HTTP status code 500. It stops parsing the HTTP response when it sees a
500 which means that you will never be able to get at any data that occurs due
to a SOAP Fault. Per the web services spec, the container is required to return
an HTTP 500 status code when returning a fault. Effectively, you can't handle
SOAP faults when you don't use the proxy and you get that meaningless error
message that looks like it simply couldn't connect to the service. This
issue is handled by the proxy. It changes that HTTP status code to
200 so that the flash player can parse the request. This is a kludge if
you ask me but that's where we are today. As a note, this is being
addressed in FP8.5 but the fix will very likely not ( according to Adobe ) be
fixed in earlier versions due to backward compatibility.





Carson





Carson
Hager 
Cynergy
Systems, Inc. 
http://www.cynergysystems.com



Email:
[EMAIL PROTECTED] 
Office:
866-CYNERGY 
Mobile:
1.703.489.6466 

















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Saturday, January 21, 2006
7:37 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] setUsernamePassword
and J2EE login

I think you should be able to get it from
the flashgateway.Gateway.getHttpRequest().getRemotePrincipal() or
getRemoteUser().











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Schneider
Sent: Wednesday, January 18, 2006
8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
setUsernamePassword and J2EE login





After calling setUsernamePassword on a service, is this
information available to the backend services (remote object or
web service)? Or perhaps after a J2EE/JAAS login? If so, how/where?



We have a requirement to do a lot of logging of whos
doing what in the system and was wondering whether there are any alternatives
to passing a username/id with most/all APIs.


Thanks for any help. 



Jim











--
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] setUsernamePassword and J2EE login

2006-01-18 Thread Jim Schneider










After calling setUsernamePassword on a service, is this
information available to the backend services (remote object or
web service)? Or perhaps after a J2EE/JAAS login? If so, how/where?



We have a requirement to do a lot of logging of whos
doing what in the system and was wondering whether there are any alternatives
to passing a username/id with most/all APIs.


Thanks for any help. 



Jim









--
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] Remote Object/Spring Beans

2006-01-15 Thread Jim Schneider
Perfect. Thanks.

-
Jim Schneider
EyeCodeRight, LLC
1-877-370-6906
1-612-605-5399
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Sunday, January 15, 2006 12:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Remote Object/Spring Beans

Hi Jim

Have you looked at SpringBeanAdapter?

http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html

- Richard

On 1/11/06, Jim Schneider [EMAIL PROTECTED] wrote:



 If I were to go down the path of using remote object access and wanted to
 use Spring beans on the back end for service implementation, would I still
 need to have a thin layer/delegate to get to the Spring bean? (I'm
assuming
 this will make sense to some of the J2EE guys out there).



 For example (ignoring obvious syntax and casting problems):



 // Flex calls delegate remote object, doSomething method

 // RemoteObject = Delegate.java

 // ServiceBean = POJO with Spring id = someSpringBean





 Public class delegate

 {

 Public void doSomething()

 {


 beanFactory.getBean(someSpringBean).doSomething();

 }

 }





 Just wondering whether there's a work-around (or code generator) so that I
 don't have to duplicate every method in my someSpringBean in the thin
 delegate layer.



 Thanks,



 Jim



 -

 Jim Schneider

 EyeCodeRight, LLC

 1-877-370-6906

 1-612-605-5399



  --
  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 
Yahoo! Groups Links



 







--
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] Remote Object/Spring Beans

2006-01-11 Thread Jim Schneider










If I were to go down the path of using remote object access
and wanted to use Spring beans on the back end for service implementation,
would I still need to have a thin layer/delegate to get to the Spring bean? (Im
assuming this will make sense to some of the J2EE guys out there).



For example (ignoring obvious syntax and casting problems):



// Flex calls delegate remote object,
doSomething method

// RemoteObject = Delegate.java

// ServiceBean = POJO with Spring id = someSpringBean





Public class delegate

{

 Public
void doSomething()

 {

 beanFactory.getBean(someSpringBean).doSomething();

 }

}





Just wondering whether theres a work-around (or code
generator) so that I dont have to duplicate every method in my someSpringBean
in the thin delegate layer.



Thanks,



Jim



-

Jim Schneider

EyeCodeRight, LLC

1-877-370-6906

1-612-605-5399











--
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] Java Pojo to AS pojo with ant

2005-11-20 Thread Jim Schneider










Im looking to automatically generate actionscript
pojos from java pojos (ejb3 annotations) using Ant.
I saw the AS2vogenerator, but it was my understanding that was done in an IDE
and was dependent on hbm files. Maybe I misunderstand the capabilities. 



On a related note, has anyone been able to generate DDL
using the hibernate-tools ant task without having to list out all of the
annotated classes in the hibernate.cfg.xml file? Seems like there should be a
way to pass in the class files to the annotationconfiguration ant
element, but after searching for a couple hours, I didnt see that this
was supported. Ideally, this should read from a par file and not
really need the cfg.xml file (except for database dialect). 



While Im asking for everything, does anyone else have
some useful code generation tools (using ant) that they can share?
Specifically, from an ejb3 annotated set of pojos, and a business service
interface (ejb3 stateless session interface), I would like to:




 Generate DDL for any given
 database dialect
 Generate actionscript pojos
 from java pojos
 Generate server-side java
 business delegate (remote object) from a business service interface
 (ejb3 stateless session interface)
 Generate client-side
 actionscript business delegate from that same interface (for cairngorm
 framework)




Again, I want to do this all from ant, not from an IDE.
Maybe these are just a set of velocity templates? Any examples of these (and
how to invoke in ant) would be great as Id rather not have to learn the
velocity template language (yet!).



Thanks, 



Jim











--
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] Highly classful architectures

2005-10-11 Thread Jim Schneider










Heres one that Ive used for
prototyping:



 service
name=weatherServiceWS


wsdlhttp://www.webservicex.net/WeatherForecast.asmx?WSDL/wsdl

 endpoints


endpointhttp://www.webservicex.net/WeatherForecast.asmx/endpoint

 /endpoints


use-custom-authenticationtrue/use-custom-authentication

 /service











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Tuesday, October 11, 2005
11:56 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Highly
classful architectures







um... ok so do you like know of any public WSDL's then?











- Original Message - 



From: Mink,
Joseph 





To: flexcoders@yahoogroups.com






Sent: Tuesday, October
11, 2005 12:12 PM





Subject: RE: [flexcoders]
Highly classful architectures











Gotcha...very cool! Unfortunately, I
can't share our wsdls with you asthey aren't mine to share...but I'll
keep you in mind. A short supply of wsdls has never been a problem here!









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of JesterXL
Sent: Tuesday, October 11, 2005
11:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Highly
classful architectures

I've done it in Flash, and
ported similiar remoting classes for Flex since 
they are already in there (what a lot of
HTTPService, RemoteObject, 
WebService are built off of). Figured if you
hit me with a WSDL you know 
works, public or not, I could test it and post
some example code.

My problem has been finding WSDL's that work.
xMethods.com for example has 
a ton that don't and it's a waste of time; rather
go to someone who has one 
that knows it works. The rest like Amazon
and PayPal have ones that work, 
but take 10 years to sign up, register, blah blah
blah

- Original Message - 
From: Mink, Joseph
[EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 11:50 AM
Subject: RE: [flexcoders] Highly classful
architectures


Indeed I do...never leave home without it :
) Why do you ask, and where
are you going with this? My understanding
comes from Matt Chotin's
reply to my previous post entitled, Calling
a WebService solely through
AS. His respose:

--
Not supported in Flex 1.5, supported in an
upcoming version.

Matt
-

I was told by others that there was a way to do
it, but the fact that it
wasn't supported or intended, I opted not to
pursue it (it did not seem
all that simple).



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
Behalf Of JesterXL
Sent: Tuesday, October 11, 2005 9:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Highly classful
architectures


Got a WSDL?

- Original Message - 
From: Mink, Joseph mailto:[EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 9:27 AM
Subject: RE: [flexcoders] Highly classful
architectures

You mean after the mxml has been compiled?
It's been a month or so
since I attacked that particular problem, but as I
remember it, there
was no straight-forward (intended) way to
dynamically instantiate
WebService objects.



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, October 11, 2005 9:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Highly classful
architectures


They don't have to be. Have you looked into
the webservice classes?

- Original Message - 
From: Mink, Joseph mailto:[EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 7:52 AM
Subject: RE: [flexcoders] Highly classful
architectures

I'm not totally sure what you mean, but I assume
you are asking how well
Flex supports object oriented programming.
If that is your question, my
answer would be that it supports it quite well.

I'm a C++  Java programmer way before I'm a
make-shift RIA developer.
Flex/Flash's ActionScript is very mature compared
to what I expected it
to be, and I've been able to employ most of the
design patterns and
approaches that I typically use in other, more
complex languages. There
are a few hang-ups with the fact that, for
example, WebService objects
need to be declared statically, outside of
ActionScript (which was
frustrating), but it's nothing that can't be dealt
with and worked
around.

There's a quick opinion, for whatever it's worth!



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Marc Teichtahl
Sent: Monday, October 10, 2005 11:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Highly classful
architectures


Dear All,

We are currently evaluating the possibilities to
use Flex in our key
internal support systems.

As part of the evaluation we are looking
specifically at a highly
classful implementation and archictecture. I would
be very curious for
any feedback (pros/cons) etc in relation to using
Flex in such a high
polymorphic 

[flexcoders] Any Flex developers/consultants in Minneapolis

2005-06-22 Thread Jim Schneider










Are there any Flex developers/consultants in Minneapolis (or in the Minnesota area)?






--
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 the Yahoo! Terms of Service.












RE: [flexcoders] Questions, Questions

2005-05-04 Thread Jim Schneider
Could you expand on/list these unpleasant limitations? I'm one of these
small companies trying to decide whether Flex is worth it.

Thanks,

Jim

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Laudrup
Sent: Wednesday, May 04, 2005 10:09 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Questions, Questions

Flex server is only a presentation layer that runs on
top of your current J2EE/.NET app. There is no diff
between a flex app and any other J2EE app in the way
the app is deployed...

Per my understanding when develop a j2ee app that uses
Flex as presentation layer, then you'll have to pay
for Flex license in order to deploy the app... and the
price might vary it was 12k/2cpu a while back but
know is more expensive the good news is that MM is
willing to negotiate with you and probably you'll get
something that will work out well for you.

For short I'm afraid that you cannot run a flex app
without paying a runtime license fee... nice huh...
way to go JSF...

In my opinion the cost of the license might be a show
stopper for many small companies that want to
develop/deploy flex applications. In addition to the
license cost you need to consider some unpleasant
limitations this product has and see if for the money
you pay you get what you needwhich probably you
already did.

So, welcome to the dark side...
Michael

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 
Yahoo! Groups Links



 







 
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] Questions, Questions

2005-05-04 Thread Jim Schneider










Im more interested in the unpleasant
limitations of Flex. I can then weigh these against whatever price.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta
Sent: Wednesday, May 04, 2005
10:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Questions, Questions





One last time:



If you are an ISV or OEM, call Macromedia
to discuss your SPECIFIC application needs in terms of pricing. They are
very open to working creatively with partners in this aspect, but youll
never know unless you call.



- Rick









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Schneider
Sent: Wednesday, May 04, 2005
11:22 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Questions, Questions





Could you expand on/list
these unpleasant limitations? I'm one of these
small
companies trying to decide whether Flex is worth it.

Thanks,

Jim












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 the Yahoo! Terms of Service.












[flexcoders] Newbie: Flash vs. Flex, CPUs, Lazslo

2005-04-28 Thread Jim Schneider
1. Could someone explain (or point me to a doc/faq) that tells me why I
would choose Flex over Flash. What can Flex do that Flash can't? Even if
it's more difficult in Flash, perhaps it's worth it given the cost of Flex.

2. Speaking of cost, I read on MM's site that they recommend a typical
deployment of a Flex app have 6 - 8 CPUs. Is this true in practice? If I
have an app that has 50 users (would grow to perhaps 10K users) who don't
hit the system very hard, what are CPU requirements? Are there any
performance benchmarks that I can use as a guideline for what I would need
initially and at what point I would need to upgrade. As a small company, we
can probably chew off $12K, $70K is another story (unless I misunderstand
the licensing).

3. Has anyone had any real-world experience/lessons-learned with Laszlo and
any comparisons with Flex?

Thanks

Jim





 
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/