[flexcoders] Flex 2 FDS pricing for clustered solution

2006-07-24 Thread Mykola Paliyenko



Hello flexcodersI found no info on the Adobe site about pricing, from the threads I understood that FDS is priced 20K$ per CPU for unlimited concurrent amount of users. We are building the solution that will require support thousands of simultaneous users on the site and will require up to 100 application servers as we grow.
I know that Adove guys are reading this list so I have a questions first of all to them and to those who have some relevant info about this- Is it true about pricing 20K$/per CPU for unlimited users?- Do you have some discounts policy for such cases as described above?
- How much will it cost us to license FDS for 100 dual CPU servers?- Can we license only AMF gateway without any client pushes etc with discount?The problem is that we simply need amf gateway on that 100 servers and paying 4M$ just for gateway is too kewl as for me. I'd better develop one on my own :)
We are investigating alternatives such as OpenAMF but we want to know the amount of money we need to spent on original Adobe solution.Thanks in advance for any comments.-- WBR, Mykola

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: Automated migration to Flex 2

2006-06-13 Thread Mykola Paliyenko



Hi Max, perl and regexp should help you everything below is pretty easy with it.rgards, MykolaOn 6/12/06, maxym.hryniv 
[EMAIL PROTECTED] wrote:








  



I just want to add package ... in the beginning of each class|
interface, change all Void to void, remove all public on 
interface methods, etc.
If you mean what application am I going to migrate? ask me pls 
outside the list.
--- In flexcoders@yahoogroups.com, Michael Klishin [EMAIL PROTECTED] wrote:

 maxym.hryniv wrote:
  Regexp rules, but i just don't want to repeat something that is 
  allready done. However thanx.
 
 What in particular are you going to migrate?
 
 -- 
 Michael Antares Klishin,
 
 http://www.novemberain.com |  mailto:
michael@...



  













-- WBR, Mykola

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: FDB usage

2006-06-10 Thread Mykola Paliyenko



Hi MaxI gave it some thought and I believe it is not that easy to do since you need a syntax analyzer for AS code in order to be able to watch variables and put breakpoints etc. So it is not just about finding any GDB compliant UI debugger and make it use FDB. 
That is why there are still no IDE for debugging Flex 1.5. I think that Flex 2 eclipse based debugger is somehting you are looking for but for Flex 2.0. Regards, Mykola
On 6/10/06, maxym.hryniv [EMAIL PROTECTED] wrote:









  



Does someone can reply??? 
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 No! I'm looking for a GUI, that supports gdb to use it with fdb.
 --- In flexcoders@yahoogroups.com, Andriy Panas dutchman@ wrote:
 
  Hello maxym.hryniv,
  
  mh OOps. Sorry, GDB.
  
  Are you looking at GDB as a rival debugger to FDB?!
  
  May I ask why?!
  
  
  
  
  -- 
  Best regards,
   Andriymailto:dutchman@
 



  















__._,_.___





--
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] Uncaught exceptions in Flex 1.5

2006-04-25 Thread Mykola Paliyenko



Ok Peter,
no idea why you've been confused but...
ActionScript specification has a notion of throwable objects, so saying
that Exception is a bug of the AS2Lib is slightly incorrect. I'm
relaizing that due to the size constraints of the player it might be
good idea not to include exception handling in it, but once more again
you can add this in the development version of the player and this
should be extremely easy to do if the overal palyer's architecture is
good enough, isn't it?

My opinion is that without having proper error reporting it is
impossible to build anything larger than hello-world presentations with
a very good quality, so I'd warn people to treat Flex/Flash as a really
serious platform unless this feature will be implemented. 
Flex Developers in my company mostly are very unhappy with the quality
of the framework and the level of the support Adobe provide for the
users, I'm not saying about paid support I'm saying about community
support, feature requests, bugfixes, open source frameworks around Flex
etc. I see no other way for developing the really good product other
than involve the community into the development. It is the way lots of
really cool stuff were developed for the last year and it is mostly
ignored by Adobe.

You have a great idea of RIA and a great high performant player, if you
make a great product it will be an all win situation. The only way to
make a great product is to make it more open to the contributing than
it is now. IMHO but it is proven many times in Java world
So do not just throw away comment from such crazy guys like me, Maxym,
Sergey and lots more, all we want is to make the platform we are using
better, and do trust me without responding to the real feedback from
developers any technology will shortly become outdated. 
On 4/24/06, Peter Farland [EMAIL PROTECTED] wrote:







Mykola, I'm slightly confused by your post in contrast to 
what Sergey and Stanislav originally said.

I read Sergey's post as that he was having trouble with 
uncaught exceptions and had to add a lot of code to catch and possibly ignore 
such errors. I read your post to mean the opposite of this in that the uncaught 
exceptions were important at development time because if they were silently 
caught and ignored it would be hard to diagnose what the problem 
was.

As Matt said, in general for our data services 
framework code we tend to not throw exceptions but instead funnel everything 
through a fault event mechanism. If you run into exceptions in our Flex 
framework code then it may be a bug and should be reported with a reproducible 
case or at the very least a stacktrace. If these exceptions are due to non-Flex 
framework code then either its a bug in that 3rd partycode or, as Matt 
suggested, the number of entry points that need to be checked can be reduced by 
centralizingthe calling code.

Finally, the behavior of uncaught exceptions isn't 
determined by Flex - it's a feature of the Flash Player virtual machine and how 
ithandles ActionScript.



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola 
PaliyenkoSent: Monday, April 24, 2006 3:34 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Uncaught 
exceptions in Flex 1.5
Hm... Matt, I thought the problem will be fixed in 2.0, because 
developing in the runtime that silently ignors the exceptions is absolutely 
unaceptable for a lot of developers. It is extremely hard to locate problems in 
this case. I can understand why it is not implemented in Flex 1.5 since the 
flash player did not changed, but I see no reasons why whould not introduce this 
with a new version of player or at least allow player to run in a debug mode 
where such stuff will be handled.Mykola
On 4/23/06, Matt 
Chotin [EMAIL PROTECTED] 
wrote:

  I see, the same problem exists in 2.0 I guess too 
  (though I've askedinternally about it to make sure). Only thing I 
  can recommend is youtry to centralize your entry points. If you use 
  a framework likeCairngorm you can do that in the framework by catching 
  errors in thebroadcaster or some main method that triggers your service 
  handlers.
  Matt
  -Original 
  Message-From: flexcoders@yahoogroups.com [mailto:
 
  flexcoders@yahoogroups.com] OnBehalf Of Stanislav 
  Zayarsky
  Sent: 
  Sunday, April 23, 2006 3:45 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
  Uncaught exceptions in Flex 1.5Matt, we are using 3rd party libraries 
  like AS2lib, and it throwsexceptions.And also we starting to throw 
  exceptions from our custom classes too.Best 
  regardsStanislavOn 4/23/06, Matt Chotin [EMAIL PROTECTED] 
  wrote: In 1.5 we don't throw exceptions as a practice, I'm not sure 
  whatyou're actually running into here? 
  -Original Message- From: flexcoders@yahoogroups.com [mailto:
 
  flexcoders@yahoogroups.com]On Behalf Of Stanislav 
  Zayarsky Sent: Saturday, April 22, 2006 7:52 AM To: flexcoders@yahoogroups.com Subject: Re: 

Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-24 Thread Mykola Paliyenko



Hm... 
Matt, I thought the problem will be fixed in 2.0, because developing in
the runtime that silently ignors the exceptions is absolutely
unaceptable for a lot of developers. It is extremely hard to locate
problems in this case. I can understand why it is not implemented in
Flex 1.5 since the flash player did not changed, but I see no reasons
why whould not introduce this with a new version of player or at least
allow player to run in a debug mode where such stuff will be handled.

MykolaOn 4/23/06, Matt Chotin [EMAIL PROTECTED] wrote:



I see, the same problem exists in 2.0 I guess too (though I've asked
internally about it to make sure). Only thing I can recommend is you
try to centralize your entry points. If you use a framework like
Cairngorm you can do that in the framework by catching errors in the
broadcaster or some main method that triggers your service handlers.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Stanislav Zayarsky
Sent: Sunday, April 23, 2006 3:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5

Matt, we are using 3rd party libraries like AS2lib, and it throws
exceptions.
And also we starting to throw exceptions from our custom classes too.

Best regards
Stanislav

On 4/23/06, Matt Chotin [EMAIL PROTECTED] wrote:
 In 1.5 we don't throw exceptions as a practice, I'm not sure what
you're
 actually running into here?

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]
On
 Behalf Of Stanislav Zayarsky
 Sent: Saturday, April 22, 2006 7:52 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5

 Hello FlexCoders,

 I have the same problem!

 Adobe guys, can you help us?

 Best regards
 Stanislav

 On 4/21/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
  Hi All!
 
  How to deal with uncaught exceptions in Flex 1.5? Actually they kill
  application running via terminating the current script.
 
  Due to the fact Flex application has a lot of entry points (each
and
 every
  event handling delegate), I need either put try..catch..finally
 statements
  in each and every function assigned as an event handler that is
wrong
 copy
  and paste method or create own Delegate class that is much more
better
 by
  design.
 
  But on the other hand using the second approach force me not to
assign
 event
  handlers in MXML (like mx:Button click=onClick()). Instead we
need
 to
  assign those handlers in linked ActionScript class. It's very
 difficult when
  you deal with complex nested structures, repeaters, ViewStack,
 Accordion and
  their successors.
 
  Any suggestions?
 
  Thank you in advance.
 
  Regards, Sergey.
 
 
 
  --
  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








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



 








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




  










-- WBR, Mykola






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

2006-04-14 Thread Mykola Paliyenko



Ok,as a result we have a FlexCompiler servlet that has a memory leaks and kills application server periodically. It is absolutely a stop-ship bug but Adobe has not released new version of Flex 1.5 yet. As a result there is no stable version of Flex. Yeah I'm realizing that Flex is pretty far from being open source, I just cannot imagine how people can sell such poor product for the great price. 
About breaking code. It is absolutely not acceptable having releases once per year or even more like Flex does. Maybe I'm just from another world but I think being not open to the community like Adobe do is a way to produce the poor quality. Flex has great idea but no good expertise from the community. All the critics about Cairngorn, FlexUnit is just ignored however it is obvious that Flex need to have a strong community involved in development of the components and the architecture
Look at Java community, great success stories of Spring, Jboss, Apache and tones of the other really HQ products. We get addicted to the good quality of the design, Not the 200+ UI classes extended from the IEventDispatcher.
WBR, MykolaOn 4/13/06, Weyert de Boer [EMAIL PROTECTED] wrote:



Mykola Paliyenko wrote:

 I don't think you should change working code only because it's
 doesn't
 have the perfect design, but that might just me. Of course, you
 can do
 something refactoring. You can only break ;-)


 LOL,
 With such approach Flex will remain the same crap as it is no
Well, I am not rewriting working code within a current release cycle. Of 
course, you can branch off a version of the code you gonna clean up, for 
version X.Y.Z. But I am not someone who will update framework code of a 
current version/release only because the code quality sucks. You can 
change such issues step-by-step without breaking current functionality. 
I should change the design of one of my components, I can tell you my 
clients wouldn't appreciate it, neither that you probably like breaking 
code because a partner changed the design of the code.







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



  









-- WBR, Mykola






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

2006-04-13 Thread Mykola Paliyenko



I don't think you should change working code only because it's doesn't 

have the perfect design, but that might just me. Of course, you can do 
something refactoring. You can only break ;-)LOL, 
With such approach Flex will remain the same crap as it is now

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



  









-- WBR, Mykola






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Remoting over HTTPS fails in IE 6.0

2006-01-10 Thread Mykola Paliyenko



Leif
Thanx for the link, I've tried it before and it does not help. I think
problem is in IE security, no idea but it does not send any https
remoting call to the server.
On 1/10/06, Leif Wells [EMAIL PROTECTED] wrote:



Not really a solution but... We've seen something happen in SSL and Remoting with Internet Explorer and certificates that are NOT fully verified.Take a look at this blog post on Gary Matthew Roger's site and see if that make sense:
http://www.gmrweb.net/2005/08/18/flash-remoting-https-internet-explorer/
Leif
On 1/10/06, Mykola Paliyenko [EMAIL PROTECTED] wrote:




Hi Peter,

No I meant exactly what I've said
when I open it using 
https://bla-bla/index.mxml remoting works fine in 
IE, but when I do it using http://bla-bla/index.mxml it loads 
nothing no request come to the amf gateway
The problem is that I use remoting over https with gateway URL
Something like this:
secureGatewayURL = https://localhost:8443/sonoportal/amfgateway
; 
this.secureGatewayConnection = new Connection();
 this.secureGatewayConnection.connect(secureGatewayURL);
return new Service( null, null, spring://authenticationManager, this.secureGatewayConnection, null)

And it silently does not connect via HTTPS protocol, I've
used Paros Proxy to debug it, just http requests all https are ignored.
In Firefox everything works fine, it loads swf over http and then ask
me to accept certificate and after acceptance all calls over https are
successfull.
my crossdomain.xml islooks very simple:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd

cross-domain-policy
 allow-access-from domain=* secure=false/
/cross-domain-policy

I think something wrong with IE or player 8.0.
Does anyone have success with the scenario when swf is loaded via http and data interaction is done via https in IE?

WBR, Mykola






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt


Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.


  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.



  















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




  








-- WBR, Mykola






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Remoting over HTTPS fails in IE 6.0

2006-01-09 Thread Mykola Paliyenko



Hi guys

I have a following problem
I have a page index.mxml that need to be able to pass data to the server via HTTPS
when I open it using https://bla-bla/index.mxml remoting works fine in IE, 
but when I do it using http://bla-bla/index.mxml it loads nothing no request come to the amf gateway.
In Firefox everything works fine (I have setup crossdomain.xml properly)

I've read lots of hints about caching problem in IE but seems that I faced another problem.

The problem is that I do not want to overload server and download swfs to the user via HTTPS,
I just want to be able to transfer some data via secure channel
I'm using player 8.0 in IE 6.0, Flex 1.5.

Any ideas about what could it be?
-- WBR, Mykola






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Mykola Paliyenko






Ok Matt
What excectly I need is following:
1. Create my own adapter (don't ask me why I just need it),
2. Configure it with one string property, some parameter.
It is a common way for Filters, Servlets etc but seems to be impossible
for configuring adapters. If it is not impossible I'd like to create a
feature request for Macromedia to implement it since it makes sence :).


WBR, Mykola

Matt Chotin wrote:

  
  


  
  
  What are you
trying to do, create a new
adapter? I dont really know the config file that well but I think if
you dont
see an example of what youre trying to do it may not be possible.
  
  Matt
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko
  Sent: Wednesday,
November 30, 2005
3:11 AM
  To: flexcoders
  Subject: [flexcoders]
gateway-config.xml configuration file description in Flex 1.5
  
  
  Hello flexcoders,
  
  I was looking for docs about how to
configure the
subj.
  I found nothing found in google about
it, can
anyone tell me some 
  usefull links about it,
  I'm especially interested in file format
and
service-adapters section 
  where it comes to adapter configuration,
  Can I pass some value to the adapter
from that xml
file? how can I do 
  it? etc.
  
  Sure I can decompile Flex server and
knew about it
but I think theere 
  might be some easier way :).
  
  WBR, Mykola
  
  
  
  

  








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Mykola Paliyenko






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

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


Dirk Eismann wrote:

Carbon Five has developed a SpringBeanAdapter that can be used with Flex
Remoting - maybe this is a good starting point for you?
  
  http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.htm
l
  http://carbonfive.sourceforge.net/springadapter/
  
Dirk.
  
  

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









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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










Re: [flexcoders] How to specify root application folder

2005-12-01 Thread Mykola Paliyenko
Tracy,
Thanx it works.

  Where do you get such info about undocumented features like
@ContextRoot()? Maybe there are some more interesting things there.
As far as I understand the flex architecture such tags like
@ContextRoot() are processed during mxml2AS translation on the server,
The question is does anyone can provide a list of such tags like
@ContextRoot() with description.

WBR, Mykola


On 11/25/05, Tracy Spratt [EMAIL PROTECTED] wrote:
  Declare a property in your mxml like this:
  mx:String id=strContextRoot@ContextRoot()/mx:String

  Now, in AS code you can use strContextRoot in your path.

  Tracy


  -Original Message-
  From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On
  Behalf Of Stanislav Zayarsky
  Sent: Friday, November 25, 2005 8:37 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] How to specify root application folder

  Hello Flex Coders,

  I have next problem:

  I have images folder in the root of the application folder. And I have
  mxml file deeply inside other folders, that has Loader component and I
  want to load image there.

  But I don't know how to specify path to the image i.e. I don't know
  how to point to the root of the application folder.

  So the question is, how it should look like:

  source=/images/phone1.jpg
  or
  source=./images/phone1.jpg
  or
  source=../images/phone1.jpg

  Best regards
  Stanislav



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


  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.






--
Best Regards,
Mykola




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Is Flex mature?

2005-11-28 Thread Mykola Paliyenko



Hi Steven 
Thanks again for the comments. Lets stop the discussion about
frameworks, my opinion about Core J2EE patterns etc because its a
religious controversy. I will share my results when I'll be ready.

The question of this topic was not Cairngorm or something else but:

Is Flex mature enough now? What are our chances if we need to build
huge RIA application in 7 month using Flex? I'd like to hear about
project already completed or about to being completed by teams of at
least 20 developers.

Also we cannot rely on the Flex2 since it uses 8.5 player that will not be widespread by the moment we need to launch.

WBR, MykolaOn 11/28/05, Steven Webster [EMAIL PROTECTED] wrote:




Mykola,

 Totally agree but EJB was also first technology for 
 enterprise development in Java and it worth us to be blind 
 for a 5 years. EJB was the same overcomplicated that 
 Cairngorm is and as far as I understand Cairngorm uses the 
 same patterns and fully inspired by J2EE. 

EJB and Cairngorm have nothing in common; both are frameworks, one as
you know is a (excuse the simplification) framework for object
persistence, the other is a framework microarchitecture for RIA. That
the EJB spec is overcomplicated does not mean that Cairngorm is, just
because both can be called frameworks or both have reference to J2EE.

Cairngorm does borrow heavily from the body of work that was performed
with Core J2EE Patterns; however, it is not applying J2EE to Flex, it is
recognising that many of the patterns that the Core J2EE pattern
catalogue included, are patterns that can be applicable to RIA
development with Flex (MXML and ActionScript). Note I say *can* be
applied to RIA, not *must* be applied to RIA. There are many ways to
skin a cat.

Apologies to cat lovers. Insert annoying animal of your choice.

 do not repeat previous mistakes. You do not need to get 
 things that complex like thy are now with Commands 
 FrontControllers and other stuff. 

I think that's quite a bold statement. Perhaps you do not need them,
and I absolutely agree that many many projects do not need Commands,
Front Controllers or other stuff. However, I have worked on and with
several projects that *have* benefited from these patterns and the
architecture that the collaboration of these patterns introduced.

Was this solution the *only* way we could have addressed the problems we
faced ? Of course not ... There are as many different ways of doing
these things as there are talented architects and developers that are
now working with the technology.

If you have your own framework that works for you, and if it addresses
the problems that you face in your design, then you're correct not to
use Cairngorm. Many other developers have done the same as you, and
their implementations are not the worse for it.

However, let's also accept that a great number of developers *have*
benefited greatly from frameworks such as Cairngorm or ARP, have felt
that these frameworks have introduced simplicity where complexity
previously existed.

These people do not think Cairngorm (or whatever other framework) is
bad. Nor will they assert that the framework you are using instead is
bad.

Let's not continue this thread on the assertion that there will be one
ultimately better than all the rest way of building all RIA upon Flex.

 Now I have a kind of 
 framework that is much easier than Cairngorm and I'll try to 
 share it with the community when it will pass internal 
 sainity testing in our team (now guys are happy but lets wait 
 more serious testing).

I look forward to seeing it, and hope that it can be presented not as
better than Cairngorm or simpler than Cairngorm but simply
different to Cairngorm. In understanding what you tried to achieve
with your approach, rather than what you don't like about other
approaches, I think we'll all learn a lot more, no ? 
 
  - No kickstart examples like Appfuse in Java
 Hopefully time wil bring them. Flex2 will drive a radically 
 larger community.
 It is a huge problem cause when you need team development you 
 need unittesting, framework, build strategy etc. And I'm sure 
 that every team create it from scratch now. The idea is to 
 publish some approach and evolve it to support and show best 
 practices on it.

Just to be clear, I know of teams of 30+ developers who are developing
Flex applications based upon Cairngorm, who are actively embracing
unit-testing, continuous integration, refactoring, and all manner of
other agile practices.

Certainly, the same team that brought you Cairngorm initially, has a
great deal of experience in delivering projects using Agile methods,
particuarly XP, with both Java, ActionScript 1.0, ActionScript 2.0 and
most recently Flex 2 and ActionScript 3.0. The technology, and the
choice of architectures upon the technology, have never impinged (any
more than AWT, Swing, J2ME, JSP and _javascript_, etc have) upon our
ability to deliver using agile methodologies.

I guess the challenge here, is that many of 

Re: [flexcoders] Is Flex mature?

2005-11-28 Thread Mykola Paliyenko
Aldo,

My alternative is one of the good old Java MVC frameworks: Struts, 
Spring or Webwork. I know that our user experience will sucks in this 
case but it is better than found that your application is too big in 
size or too slow  or requires some unique plugin or all together :(. 
Also personally I'm very sceptic when it comes to the non open source 
technologies, but I must admit that Flex community is very strong.

I still believe than Flex has a great future but I have some doubt that 
the time is come to build something serious on top of Flex.

Waiting for Stevent's reply on the previous post to change my mind :)

WBR, Mykola
Aldo Bucchi wrote:

Mykola,

What are your alternatives to flex??
  






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Is Flex mature?

2005-11-28 Thread Mykola Paliyenko



Hi Aldo

Mmh, It's all about taking the better road...Let's start with a premise: Flex 1.5 CAN be used to develop mission
critical applications ( evidence suggests this ). As can all of theframeworks you suggested.

Very good news I'd like you to be right. Actually everything is possible the only difference is a price you pay to make things work in a proper way.

Second, I would say that Flex has the following differentiatingfeatures in favor. See which apply to you:
- Development will be faster

I would not say so since it is very easy to find people familiar with Java MVC frameworks and also there are much better books in this area. Also you will 100% need lots of wokrarounds and facilities in Flex such as unittesting, i18n error handling, authentication that are already implemented in Java samples


- Will force you to create a well defined services layer. You canevolve the presentation layer later


I used to do this way so it is not a pros its just a reasonable thing.
- You will gain RIA expertise that can be ported to Flex2 later ( orXAML or other eventually )


Agreed
- The final user will be positively impressed ( assuming you do a good work )

Agreed but may have performance bugs :(
- You will have many new tricks which will eventually give you morechoices around use cases


Agreed again
- One more tech under your belt

Not a good argument from the point of business but let it be :). Actually technology is only an instrument and any technology can be easyli learned if you know concepts and the problems it solved. For me Flex was very easy since I knew _javascript_ verywelland lots of MVC Web frameworks, I believe the same with Laszlo.

Then, write down the flaws ( or negative features ) which you alreadyidentified. Repeat the process for every other tech, then match by
subject and fill in a comparison matrix. Try to quantify them.I have found that taking a cold minded economist's perspectivesometimes comes in handy. Specially when there are feelings involved.Getting someone else in the decision process might help, and keeping
track of it is always a good way to CYA.It's all about choices, not perfect solutions, isn't it.

YeahI alsowant our choice to be motivated from economist's perspective, that is why I've opened this thread. Notto say that RIA sucks, but to ask guys that have much more experience in it about does it economically motivated to build application on top of Flex or it is still academic technology as its examples are. 


I strongly believe that in some time RIAs will change our vision of internet and it is the future. Cross-browser virtual machine together with good API and enhanced user experience will be that features that will help to do it, just like Java changed our way of programming serverside applications. 

WBR, Mykola 






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Is Flex mature?

2005-11-28 Thread Mykola Paliyenko





On a slightly different topic, the Core J2EE patterns— the book with the Sun logo splashed all over its cover— **mostly** documents "patterns" (used extremely loosely because I content that the only real patterns were those introduced by the classic GoF book) that were often fixes or work-arounds for missing functionality in the J2EE spec and/or container design flaws. This isn't meant to belittle the engineers that worked on the related J2EE specs, but merely that you have to start somewhere and there were gaps along the way— the core J2EE patterns helped plug the proverbial holes.


Nothing to add. That is exactly what I think based on my experience. Spring, new persistency APIsand MVC frameworks has removed need of the Core J2EE patterns however I know lots of application were build on top of them. Without them EJB would goout of usagemuch earlier. So statement Cairngorm is based on the Core J2EE patterns does not impress me but rather make me think thatthere should exist some more lightweight approach:). However any approach is better than no approach at all.
WBR, Mykola 






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Is Flex mature?

2005-11-27 Thread Mykola Paliyenko



Hello flexcoders.

We are building a huge web application. Our product management want it to be RIA to produce the best user experience. We've choosen Flex as our client technology because it is the best on the market now. But I have a doubt that Flex is a mature technology suitable for enterprise development right now. 


Does anyone have completed some really big application using Flex, or about to complete? By really big application I mean about 100 of screens in terms of HTML.

The problems I see in Flex now are (affects version 1.5)
-poor support in IDEs comparing to JSP
- poor component library comparing to the desktop and sources ofcomponents are closed to extension. For example to add button in DataGrid I have to use hacks (cell renderers)
- poor support of debugging/profiling
- Runtime errors are ignored and sometimes its quite hard to determine where is the bug
- Poor frameworks. Cairnigorm is overcomplicated anddoes not fit agile development model due to the lack of unit testing approach
- no i18n support on mxml level
- No kickstart examples like Appfuse in Java
- Async call model. Sure it is a great feature but it makes development more complicated
Sure it is great to have a really cool alternative to the html and I believe in a year or 2 Flex will be one of the leading technologies in Web development. Macromedia is doing a great job together with Lazslo and sure Ajax. The question is if we have to launch our site in less than a year and site is really bigwhat are ourchances?

-- Best Regards,Mykola 







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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Is Flex mature?

2005-11-27 Thread Mykola Paliyenko
Hi Aldo,
thanx for a very usefull comments.
I'm sorry I have no much experience with Flex 2 since it is alpha now
and will require Flash 8.5 plugin, thus will require most of users to
download plugin. It is not a problem for a corporate sites but in our
case it is a very big problem because we have to buiid site that is
oriented on mass user and it will take about a year to get 90% of
users use 8.5 player.
However now our application is much faster on 8.5 plugin.
About your comments:

In Flex2 you will have an eclipse plugin ( which is more than enough
for any J2EE developer ). Moreover, the SWF format is open, the MXML
format is based on XML, and the standalone compiler can be integrated
to any other third party IDE. It's just a matter of time till we have
3rd party IDEs showing up.

Personaly I use FDT plugin for AS since it is the most mature and Java
like (automatic imports, code completion, AS Docs and lots of other
features) It does not support Mxml but the idea is to remove scripts
from mxml so MXML is very easy in our framework not like the AS code

BTW, Cell Renderer is not a hack, in the sense that it was meant to do
just that. It is a documented feature. ( OTOH, it is not quite
straightforward and suffers of the nuances of Flex 1.5 component
development... )
I'd better like mx:Column to support internal tags like it is in
Struts displaytag library. Since it is almost impossible to reuse cell
renderers. The idea of component is that it is reusable component that
can be easily tuned to suuport your requirements. Adding button to the
row is a kind of tuning and must not require extra coding. That is my
opinion but I guess most of the community will agree with me

Flex2 runs on Flash8.5, which does support Runtime Error detection. I
have found it to be amazingly useful and enhances my productivity
dramatically.
Agree 8.5 is much faster

Cairngorm is the FIRST framework donated to the flex opensource
community (yes, there is ARP, but it was born for Flash). If you have
any contributions to make, I'm sure Steven and everyone else from
Macromedia Consulting would be eager to listen and develop a new
framework.
I believe you can still influence on the new integrated development
approach planned for Flex2. Just keep on your discussions on the
subject alive.
Totally agree but EJB was also first technology for enterprise
development in Java and it worth us to be blind for a 5 years. EJB was
the same overcomplicated that Cairngorm is and as far as I understand
Cairngorm uses the same patterns and fully inspired by J2EE. So I just
want Flex do not repeat previous mistakes. You do not need to get
things that complex like thy are now with Commands FrontControllers
and other stuff. Now I have a kind of framework that is much easier
than Cairngorm and I'll try to share it with the community when it
will pass internal sainity testing in our team (now guys are happy but
lets wait more serious testing).

 - no i18n support on mxml level
I believe Macromedia did not want to risk a strategy upfront, before
realizing what the real requirements were...
Could someone from macromedia develop on this?
What is the state of things now? Will the new Cairngorm support it?
will it be integrated into Flex2 later? IDE Support?
You know, it is a critical common requirement ( every app nowadays is intlzed )
Again we've added it to our framework. But I see no reason why MM guys
haven't done it themselves

 - No kickstart examples like Appfuse in Java
Hopefully time wil bring them. Flex2 will drive a radically larger community.
It is a huge problem cause when you need team development you need
unittesting, framework, build strategy etc. And I'm sure that every
team create it from scratch now. The idea is to publish some approach
and evolve it to support and show best practices on it. Just like
appfuse does in Java community. I guess we have to create our own
appfuse Spring + Hibernate + Flex, maybe also Spring + Hibernate +
Laszlo to have fully open source alternative.

 - Async call model. Sure it is a great feature but it makes
development more complicated
Ok. This is the way things work. It is not that hard to get used to
this sort of programming once you gain some practice. Again, I hope
new frameworks provide easier/simpler ways of doing this.

I'm not saying it is hard to get used to it but some things are almost
impossible in such model. For example unittesting. I managed to write
unitests for our approach but it was very hard and if your approach
evolves test need to be greatly changed not like it is with the sync
calls.


 The question is if we have to launch our site in less than a year and
 site is really big what are our chances?
Tricky question. How about going for Flex2?
It is s much better in many many ways that it makes sense to start
developing and, when the final release hits the streets, make the
appropriate changes ( if any ).
It is a very big risk and also we have to consider the plugin problem
since most 

Re: [flexcoders] Re: Java Pojo to AS pojo with ant

2005-11-22 Thread Mykola Paliyenko



Dave great post it is definitely worth more than .02$ :).

Frank please read Dave's post about EJB. And please lets give proper
names to the things. EJB and CMP will never more be the most popular
persistence technology. Yeah maybe they are market leaders when it
comes to money since others are free. But I hardly can imagine people
that build new project using EJB. 

Regards, Mykola








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Java Pojo to AS pojo with ant

2005-11-21 Thread Mykola Paliyenko



Hi Jim,
For my current project I've implemented ant codegeneration for 


  Generate actionscript pojos
 from java pojos
Generate client-side
 actionscript business delegate from that same interface (for cairngorm
 framework)

I
cannot share the code since it is project specific but I can share the
idea. The implementation itself is very easy if you are familiar with
Java.

I'm using XDoclet2 as a
generating tool. The templates are written in Velocity but they are
very simple. To determine which classes to generate I'm using
IValueObject empty interface. I do not use EJB I use Spring with
Hibernate and thus I generate delegates for my Java services that are
placed in a Spring context. I have a convention that all my
service interfaces called ISomeNameManager and I convert
them to the SomeNameDelegate with the same package. That is
all. 

If you know exactly what you need to generate it will take you a couple
of days to get introduced into XDoclet and create your tool. Good luck.

Regards,
Mykola



On 11/20/05, Jim Schneider [EMAIL PROTECTED] wrote:

















I'm 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 didn't 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 I'm 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 I'd 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.




  










-- Best Regards,Mykola






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Java Pojo to AS pojo with ant

2005-11-21 Thread Mykola Paliyenko
Yeah Dave,
totally agree XDoclet and EJB sucks. Now we do not use XDoclet for java 
any more, we have Java 5.0 annotations. But I've found XDoclet2 suitable 
for generating interface between Java and Flex. People in flex team are 
really hapy that they do not have to maintain their Delegates and 
ValueObjects any more, since they are maintained dynamically.
I'm a Java programer myself and I found that Flex is much more closer to 
Java developers familiar with web mvc frameworks than to the Flash 
developers. Also it is very funny to read about Flex EJB integration 
samples since EJB is deader than dead. It's strange but the only stuff 
I've found about Spring2Flex is SpringBeanAdapter library. It would be 
interesting to have a poll about what Java server techology people use 
for a backend. I will be very surprised if it will be EJB.

Regards, Mykola

Dave Wolf wrote:


 For those of you coming from a Flash background and are wondering what
 the heck an EJB with XDoclet annotations using a Velocity template to
 generate a stub for a POJO are..


 Say hello to your distant cousins the Java programmer.  I think you're
 going to see lots more of them.  I also reccomend you make them your
 friends.  Its going to be tough to pull off major Flex development
 without a good Java geek or two in your pocket.

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

 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY



 --- In flexcoders@yahoogroups.com, Mykola Paliyenko [EMAIL PROTECTED]
 wrote:
 
  Hi Jim,
  For my current project I've implemented ant codegeneration for
 
 
 1. Generate actionscript pojos from java pojos
 2. Generate client-side actionscript business delegate from that same
 interface (for cairngorm framework)
 
  I cannot share the code since it is project specific but I can share the
  idea. The implementation itself is very easy if you are familiar
 with Java.
 
  I'm using XDoclet2 http://xdoclet.codehaus.org/ as a generating
 tool. The
  templates are written in Velocity but they are very simple. To determine
  which classes to generate I'm using IValueObject empty interface. I
 do not
  use EJB I use Spring with Hibernate and thus I generate delegates for my
  Java services that are placed in a Spring context. I have a
 convention that
  all my service interfaces called ISomeNameManager and I convert
 them to
  the SomeNameDelegate with the same package. That is all.
 
  If you know exactly what you need to generate it will take you a
 couple of
  days to get introduced into XDoclet and create your tool. Good luck.
 
  Regards,
  Mykola
 
 
 
  On 11/20/05, Jim Schneider [EMAIL PROTECTED] wrote:
  
I'm 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 didn't 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 I'm 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:
  
  
  1. Generate DDL for any given database dialect
  2. Generate actionscript pojos from java pojos
  3. Generate server-side java business delegate (remote object) from
  a business service interface (ejb3 stateless session interface)
  4. 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 I'd 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
 developmenthttp://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=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  
 http://groups.yahoo.com/gads?t=msk=Web+site+design

Re: [flexcoders] Re: Java Pojo to AS pojo with ant

2005-11-21 Thread Mykola Paliyenko



Frank 

Lets be honest. I'm a guy that used to the Open Source Frameworks
because the guys developing them are honest. They want only money for
support, while the monsters that vote for EJB want to sell their IDEs
and their application servers that supports that crappy heavy
technology. 

It is not honest to tell that 
By
far the current most popular form of persistence frameworks is the EJB
2.0 standard
look at the any recruiting site to see what technologies are most
wanted to be familiar by Java developers. EJB has about 15% and as far
as I know that 15% are support of the old projects. Actually now the
only thing that remains from J2EE is servlets and JMS for everything
else we have Spring, Hibernate and other frameworks. 

Look at the any Java community site, EJB is dead. EJB2.0 is the worst
technology I've ever known and even Sun now recognize it. And however
EJB 3.0 is pretty like Hibernate I'd better use Hibernate with Spring
than it. The same features but I can run it on Tomcat that is much
liter than any EJB3.0 compliant app server.

Spring Hibernate and AOP makes EJB dead!!! And great thanx to them. I
do not need XDoclet any more, I can run unittests without Cactus I can
deploy my application anywhere I do not need crappy EJB deployment
descriptors, and I'm happy with it. 

-- 
Best Regards,
Mykola
On 11/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:




I
think we all have to realize that all of our declarations on this topic
are relative to our own experiences. That being said, if you use
simple procedural JSPs, and servlets to expose DB backends using JDBC,
then you might say EJB is dead. On the other side of the coin, if
you do large scale, enterprise wide development, EJB is a life
saver. Take persistence frameworks as an example...what are the
alternatives outside of proprietary, non-standard COTS products? 
By
far the current most popular form of persistence frameworks is the EJB
2.0 standard.This allows Container Managed Persistence, in which
the application server manages the persistence for the developers,
allowing them to concentrate on coding business logic instead of
implementation specifics. Prior
to EJB 2.0, the specification mandated remote interfaces and had no way
to express relationships between objects. Both of these problems harmed
performance, but they were fixed in EJB 2.0.Today
CMP ships with all J2EE EJB 2.0 compliant application servers, thus it
has a huge advantage over the rest of the marketplace due to the
ubiquitous nature of the platform.
Truthfully,
there are many analysts whom (after reviewing the initial CMP and EJB
spec) developed their own forms of persistence frameworks, and 2.0 did
little to persuade them that things had changed radically for them to
migrate away from their ingrained technologies.
Thankfully
the World of IT developers realized the deficiencies of previous
persistence models and/or the hard sell in introducing a proprietary in
house persistence platform to (rightfully) wary IT management groups at
conservative publicly traded firms. What is required
is an official java standard for persistence, and that is exactly what
JSR 220 a part of the Java community process for standardization is. The
Java consortium feels that by getting the entire Java community behind
one standard Java persistence API, they will simplify the
now-confusing, expensive and risky development of J2EE and J2SE
applications using data persistence. During
the specification member voting in August of this year, all present
firms (Apple, Apache, IBM, BEA, JBOSS, HP, SAP, Oracle et all)
votedon thespecification with such epiphanic comments such
as:
?We believe JSR-220 will have great impact on the Java enterprise eco-system and will give productivity back to the developers.?
 ?JBOSS Inc.
This
new architecture provides a standard way to transparently persist plain
Java objects. It is designed to work in multiple tiers of enterprise
architecture, including J2SE, Web tier, and Application Servers,
allowing it to be used for both the Web-based RFP and client-side java
apps. 
This
standard is an amalgamation of both CMP, which is for persisting
distributed components built specifically to the entity bean component
API, and JDO, which is geared towards local, rich object models not
tied to any particular API. Developers can choose between these
technologies by evaluating their requirements (persistent components or
persistent objects).

With
both the freely available open-source persistence, and the maturing of
the common, and now ubiquitous EJB model, it is highly suggested
thatEJB isin for its' glory days. As
this new SUN EJB 3.0 persistence framework is an extension of both EJB
2.0 CMP and the existing JDO API, the adoption of this new technology
is an easy one for most Java developers working in common J2EE services
architectures, for the initial exposure has already occurred.

My
opinion is that EJB is far from dead, one only has to look at the
voting members for the 

Re: [flexcoders] Re: Cairngorm is bad?

2005-11-18 Thread Mykola Paliyenko



Anatole,

I do not agree that it is a big problem in refactoring serverside code.
Sure if you have no unit tests for RIA client you will not be able to
detect that something broken when you change server interface. But in
agile methodology that is most popular now you always have to have
tests. And it is not impossible to do them for RIA client.

Another thing that can help you is code generation. In our application
we completely generate all Flex2Java interaction code (Business
delegates for all java services and value objects), also we are trying
to use strong typing as much as it is possible. So if you change server
interface your RIA code will not compile in most cases.

I agreed with you that bright people can work without frameworks but
the code they will produce will not be quite maintainable. One of the
main benefits of the frameworks is that makes code to be more clean for
other people who knows that framework, however it raise some bounds for
developers. Also I think that any serious project should be built using
single approach. By approach I mean coding conventions, framework, and
style of framework usage. Each framework can be used in multiple ways
but to succeed you have to choose your own. I did so many times and in
most cases we deliver stuff in time.

-- 
Best Regards,
MykolaOn 11/17/05, Anatole Tartakovsky [EMAIL PROTECTED] wrote:









Mykola,
 I just want to clarify the point 
I was making about the refactoring and non-heterogenic environment. There is a 
huge difference between RIA and desktop application. It is called distributed 
non-heterogenic application.Refactoring theback-end Java code will 
not cause compilation notifications of missing/changed fields/methods in UI - 
they have to be found via global search and (with larger apps)through 
testing - and can easily slip into production, especially if done in 
maintenance phase. The same applies to changes in UI - very easy to get out of 
synchronization with back-end.

 Here is simplier example for 
desktop application developers. Let us say you do changes to non-heterogenic 
piece of application - SQL table used by application - changing column names and 
datatypes. Compiler (unless it is integrated with pre-compiler/code generator) 
is not going to catch those and prompt you that your queries are no longer 
correct. You can start getting random errors based on overruns of the buffers 
due to field length, etc. 

 While programming is definetly 
fun, retesting large application after each change is definetly not. Writing 
test cases to anticipate future enhancements is not possible, adding ones along 
the change is not a reliable solution but rather desparate measure to plug the 
obvious hole.

 Iam aware of 2 approaches 
to reduce the impact of refactoring (while hopefully reducing coding as 
well):
1. usage of higher-level model objects 
encapsulating communications as well - i.e. super dataProviders that are aware 
of retrieval/update methods, maintain state, provide diagnostics andcan be 
submitted as a part of biggertransaction - just few features to be delt 
within any application. Such models can also greatly simplify coding of 
datagrids, forms and other databound controls
2. use code generators to be included as a part of 
build process. You can produce proxy objects that can facilitate strong type 
checking in either java of flex. They can improve performance of the software 
execution as guesswork is taken out of both client and flashgateway software. 
You can also generate UI resources so initial form painting is less time 
consuming.

Iuse both approaches - actually one on the 
top of the other - to reduce amount of manual code. That drives application 
into using high-level objects instead of framework - and I personally like 
it.

However I would say for one person who uses these 
approaches there are 10 people using frameworks. It come down to the project 
management - small teams of highly trained specialists vs uniformly trained in 
framework large development teams with predicatble (while long) development 
schedule/replaceable resources. If you foresee the lifecycle of the project to 
be completed via reducing the team toward the retaining the better technology 
peopleof the team and insuring the quality across the modules (and company 
budget allows for that) then the framework-less approach is the way to go. If 
you anticipate to retain maintenance crew of the least creative people that 
would prefer to do spot fixing then low-level code and framework might be 
better choice.

Here is very simple article on abstractions that is 
also applicable to refactoring:
http://www.joelonsoftware.com/articles/LeakyAbstractions.html

Towardthe end, there is Joel's estimate what 
using code generators or frameworks amounts to:

The law of leaky abstractions means that whenever somebody comes up with a 
wizzy new code-generation tool that is supposed to make us all 
ever-so-efficient, you hear a lot of people 

Re: [flexcoders] Re: Cairngorm is bad?

2005-11-17 Thread Mykola Paliyenko



Omar
This is exactly what I mean you just have to learn how to refactor and not getting panic when you need it.
Actually I'm not agree with Anatole that Refactoring of Flex 
applications is no fun refactoring is always fun and without is you will finally produce crappy software.
Another thing I will never agree that model cant be static. Static is
always bad, in 90% cases you will have to refactor it if you have a big
application. To explane why static is bad lets see the simple example.
you have a list of the order items and you want to implement viewing
item content in the popup window (not modal). How will you do it when
your model is static? when you open two popups they both will contain
the same model. That is the problem. 
I do not see great difference between developing desktop applications
and RIAs but as far as I aware in desktop applications model is never
static (Eclipse and lots of other examples and recomendations). Sure
for helloworld you can make is static but don't be surprised when you
faced the problem while your application growth.
-- 
Best Regards,
Mykola
On 11/16/05, Omar Ramos [EMAIL PROTECTED] wrote:



Hi guys,

Why not use the apropiate use when the situation merits it. If in
your application you have a component that doesn't share it's model
with the rest of the application then make it self contained and use
the Delegates directly. If in the future you need to use it's model in
other view's then just refactor it into a command. Please correct me if
am wrong.



Omar Ramos
System Developer
Nobox Marketing Group, Inc.







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



  









[flexcoders] DataGrid and paging

2005-11-16 Thread Mykola Paliyenko



Hello Flexcoders
I have a very simple question. As I found from 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/DataGrid.html
 The DataGrid control provides the following features: 

Columns of different widths or identical fixed widthsColumns that the user can resize at runtime Optional customizable column and row headersAbility to use a custom cell renderer for any column to display data other than text
Multiple modes of selection (row, column, cell, and edit), and selection events Support for paging through dataSupport for drag-and-drop operations. 

How does paging supported. I havent found any attributes in the tag, is it hidden functionality or just someone's dream?

-- Best Regards,Mykola






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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Cairngorm is bad?

2005-11-15 Thread Mykola Paliyenko



Good point Renaun, 
but how often do you need model to be shared across views that are
backed by different mxmls? Even if you need it you can access one view
from another, you can create some more general ViewHelper in this case
that will contain that model. I'm my project 90% cases are just dummy
calls to the server and displaying the results. If I'll need something
that does not fit this concept and makes viewhelper very complex I can
always refactor, but why should I start having in mind that I'm writing
something very complex. My principle is use the simplest reasonable way
that works. If it works for JSF, Struts, Webwork, Tapestry then why it
does not work for RIA, only because client has more logic? Maybe cause
I have no DnD in Java and some effects but all the rest seems to be the
same. 
Anyway I'm glad that people realize that this approach can work. All I
want is just not to do the sings more complex than they are.
Refactoring will help if I'm wrong, but in most cases it will not be
required.  Mykola PaliyenkoSenior Software Engineer at Sonopia

On 11/15/05, Renaun Erickson [EMAIL PROTECTED] wrote:




The code example fit Mykola's arguments well, which I see as a case
for a component that self contains everything. The Model, ViewHelper,
and Command for these specific components would never be reused
outside the component it self. Is there a need for this? Could be,
but a lot of times Models run across multiple Views hence the need for
more hefty patterns.

For example you have one component that is the form to update a User
(UserFormView), self containing all the ViewHelper, Model, and Command
in the component is much easier then 5 different files. This is
probably perfectly fine if the UserFormView component is truly self
contained. But most applications require a lot of reuse and coupling
is not so distinct and sometimes not so predictable. 

Some of the different view points depend on the way the Application
are conceived and developed. A server business logic driven
application like Mykola's case below might warrant strict self
contained components. The Use Case driven Cairngorm methodology
creates more robust components that are unaware of each other (excuse
me for my broad statement here).

Where I start to see self contained components break down is where the
Model should be used across multiple Views. It nice to have a command
setup a Collection of data that is bound across multiple views, and
then to change you logic of when it gets loaded is really simple. You
dont have to worry about all the places the Collection is used, all
you have to worry about is the asynchronous of the Command call.

I believe there is some room for discussion on the specific uses of
self contained components and maybe some ways of integrating both
ideas into Cairngorm. Of course with Flex 2 and the Data Services
handling CRUD functions we'll have lots to discuss in the future.

Renaun







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



  









[flexcoders] Cairngorm is bad?

2005-11-14 Thread Mykola Paliyenko
Dear Flexcoders.
I want to start here discussion about development enterprise 
applications using Flex. Our company has choosen Cairngorm as a 
framework to do it, but I believe it has some drawbacks
My comments are here:
http://jroller.com/page/mickolka?entry=cairngorm_is_bad
I'm new to Flex but not new to the ActionScript and JavaScript, also I 
know lots of Java Web MVC frameworks so I have a vision about how 
framework should look like to make your project succeed.
Thanx for any comments.

Regards,
Mykola




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/