Re: [flexcoders] Re: BlazeDS server environment configuration

2009-01-19 Thread George Bilalis
Thanks for these tutorials (the last one using Hibernate seems exactly what I 
had in mind while asking in the first place)
Now I have to study and configure my application in accordance. 
 
Great help from this forum, 
George 

--- On Thu, 1/15/09, valdhor valdhorli...@embarqmail.com wrote:

From: valdhor valdhorli...@embarqmail.com
Subject: [flexcoders] Re: BlazeDS server environment configuration
To: flexcoders@yahoogroups.com
Date: Thursday, January 15, 2009, 8:13 AM






OK, how about:

http://backbeatlabs .com/?p=3
http://www.bfaig. org/blog/ ?cat=14
http://www.adobe. com/devnet/ flex/articles/ flex_hibernate. html

--- In flexcod...@yahoogro ups.com, grg_blls grg_b...@.. . wrote:

 Hi again,
 
 following the information provided, I tried the tutorial Wesley 
 provided, only the information in the article is of course rather 
 sketchy - as the complete detailed description was provided in the 
 source code used for that banner example. Unfortunatelly the sources 
 provided are not available anymore (links, dowloads, et.c. don't 
 work), as this article is outdated being 5 years old.
 
 So I can't really make much out of this. On the other hand what is 
 described in that old article is generally correct, and this is the 
 way I know I have to proceed. Only I still have to look for something 
 more up to day and detailed enough for me to study and adapt to my 
 case.
 
 Specifically, I look for an current BlazeDS/Tomcat/ MySql environment 
 setup detailed description for a Flex client connected to database by 
 Remote Object procedures. Besides working examples, I still look for 
 a book to read on the subject and documentation, in extend to BlazeDS 
 developer's guide..
 
 So while the question remains open and have to wait for any other 
 answer leading to some consice piece of info, I thank you both 
 valdhor and Wesley for trying to help me.
 
 George 
 
 --- In flexcod...@yahoogro ups.com, grg_blls grg_blls@ wrote:
 
  Hi again (and thanks for replying)
  
  I didn't say Wesley is not correct..On the contrary...
  As I have first to work it out and then see if I get any more 
  questions. (Obviously not having done this before, was the reason 
 for 
  asking about documentation (or a cookbook) in the first place.
  
  Sofar I 've done a lot working with Flex for the client and the 
  business logic of my app, having Hsqldb as a basic database. I also 
  feel very satisfied with Flex documentation and on-line help (this 
  forum included) that helped me so much sofar.
  
  So I still consider any additional hint towards a good book on 
  BlazeDS, covering both some examplary applications as well as 
  pointing to differences to say JBOSS for instance. This as I want 
 to 
  go a bit deeper into the subject and understand better.. some 
 aspects.
  
  Thank you all
  George
  
  
  --- In flexcod...@yahoogro ups.com, valdhor valdhorlists@  wrote:
  
   Wesley is correct - This is a Java question.
   
   You already have the BlazeDS part set up and working. All you 
 need 
  to
   do is change the database access in Java.
   
   I would suggest following the tutorial Wesley provided and then 
  apply
   the knowledge gained to your project.
   
   From what I can see this entails adding the driver for the MySQL
   connection; removing the flex.samples. ConnectionHelper stuff and
   adding the dbHandler handler class from the tutorial.
   
   
   --- In flexcod...@yahoogro ups.com, grg_blls grg_blls@ wrote:
   
--- In flexcod...@yahoogro ups.com, Wesley Acheson 
wesley.acheson@  wrote:

 Really thats more of a java question then a flex one. for 
 using 
mysql
 and tomcat try
 
 
  http://www.opensour cetutorials. com/tutorials/ Databases/ MySQL/tomcat-
and-mysql/page2. html


Thank you Wesley for a quick reply.
But what I am asking has to do with BlazeDS (how to set up its 
environment) in conjunction to the MySql database environment 
  plus 
Tomcat environment. So this is more complicated than that. 

You see I understand what to do with the Java classes needed 
 and 
  that 
I have to set up a Remote Object in mxml, and that I have to 
configure how I connect to the service destination. (I have 
 done 
  that 
already while using the Hsqldb - and work just fine, by 
 following 
  the 
documentation available). Now I have to again with MySql, but I 
missing a clear documentation. .

Then BlazeDS has to be set up properly to work with MySql under 
  the 
servlet container (Tomcat). Mainly this connection will serve 
  user 
login procedures, so what will be in that database will be a 
  number 
of users and their login data. (I mean an apriori unknown 
 number 
  of 
users)

Thank you 
George
   
  
 


 














  

[flexcoders] Re: BlazeDS server environment configuration

2009-01-15 Thread grg_blls
Hi again,

following the information provided, I tried the tutorial Wesley 
provided, only the information in the article is of course rather 
sketchy - as the complete detailed description was provided in the 
source code used for that banner example. Unfortunatelly the sources 
provided are not available anymore (links, dowloads, et.c. don't 
work), as this article is outdated being 5 years old.

So I can't really make much out of this. On the other hand what is 
described in that old article is generally correct, and this is the 
way I know I have to proceed. Only I still have to look for something 
more up to day and detailed enough for me to study and adapt to my 
case.

Specifically, I look for an current BlazeDS/Tomcat/MySql environment 
setup detailed description for a Flex client connected to database by 
Remote Object procedures. Besides working examples, I still look for 
a book to read on the subject and documentation, in extend to BlazeDS 
developer's guide..

So while the question remains open and  have to wait for any other 
answer leading to some consice piece of info, I thank you both 
valdhor and Wesley for trying to help me.
 
George 

--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 Hi again (and thanks for replying)
 
 I didn't say Wesley is not correct..On the contrary...
 As I have first to work it out and then see if I get any more 
 questions. (Obviously not having done this before, was the reason 
for 
 asking about documentation (or a cookbook) in the first place.
 
 Sofar I 've done a lot working with Flex for the client and the 
 business logic of my app, having Hsqldb as a basic database. I also 
 feel very satisfied with Flex documentation and on-line help (this 
 forum included) that helped me so much sofar.
 
 So I still consider any additional hint towards a good book on 
 BlazeDS, covering both some examplary applications as well as 
 pointing to differences to say JBOSS for instance. This as I want 
to 
 go a bit deeper into the subject and understand better.. some 
aspects.
 
 Thank you all
 George
 
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  Wesley is correct - This is a Java question.
  
  You already have the BlazeDS part set up and working. All you 
need 
 to
  do is change the database access in Java.
  
  I would suggest following the tutorial Wesley provided and then 
 apply
  the knowledge gained to your project.
  
  From what I can see this entails adding the driver for the MySQL
  connection; removing the flex.samples.ConnectionHelper stuff and
  adding the dbHandler handler class from the tutorial.
  
  
  --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
  
   --- In flexcoders@yahoogroups.com, Wesley Acheson 
   wesley.acheson@ wrote:
   
Really thats more of a java question then a flex one. for 
using 
   mysql
and tomcat try


 http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
   and-mysql/page2.html
   
   
   Thank you Wesley for a quick reply.
   But what I am asking has to do with BlazeDS (how to set up its 
   environment) in conjunction to the MySql database environment 
 plus 
   Tomcat environment. So this is more complicated than that. 
   
   You see I understand what to do with the Java classes needed 
and 
 that 
   I have to set up a Remote Object in mxml, and that I have to 
   configure how I connect to the service destination. (I have 
done 
 that 
   already while using the Hsqldb - and work just fine, by 
following 
 the 
   documentation available). Now I have to again with MySql, but I 
   missing a clear documentation..
   
   Then BlazeDS has to be set up properly to work with MySql under 
 the 
   servlet container (Tomcat). Mainly this connection will serve 
 user 
   login procedures, so what will be in that database will be a 
 number 
   of users and their login data. (I mean an apriori unknown 
number 
 of 
   users)
   
   Thank you 
   George
  
 





[flexcoders] Re: BlazeDS server environment configuration

2009-01-15 Thread valdhor
OK, how about:

http://backbeatlabs.com/?p=3
http://www.bfaig.org/blog/?cat=14
http://www.adobe.com/devnet/flex/articles/flex_hibernate.html


--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 Hi again,
 
 following the information provided, I tried the tutorial Wesley 
 provided, only the information in the article is of course rather 
 sketchy - as the complete detailed description was provided in the 
 source code used for that banner example. Unfortunatelly the sources 
 provided are not available anymore (links, dowloads, et.c. don't 
 work), as this article is outdated being 5 years old.
 
 So I can't really make much out of this. On the other hand what is 
 described in that old article is generally correct, and this is the 
 way I know I have to proceed. Only I still have to look for something 
 more up to day and detailed enough for me to study and adapt to my 
 case.
 
 Specifically, I look for an current BlazeDS/Tomcat/MySql environment 
 setup detailed description for a Flex client connected to database by 
 Remote Object procedures. Besides working examples, I still look for 
 a book to read on the subject and documentation, in extend to BlazeDS 
 developer's guide..
 
 So while the question remains open and  have to wait for any other 
 answer leading to some consice piece of info, I thank you both 
 valdhor and Wesley for trying to help me.
  
 George 
 
 --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
 
  Hi again (and thanks for replying)
  
  I didn't say Wesley is not correct..On the contrary...
  As I have first to work it out and then see if I get any more 
  questions. (Obviously not having done this before, was the reason 
 for 
  asking about documentation (or a cookbook) in the first place.
  
  Sofar I 've done a lot working with Flex for the client and the 
  business logic of my app, having Hsqldb as a basic database. I also 
  feel very satisfied with Flex documentation and on-line help (this 
  forum included) that helped me so much sofar.
  
  So I still consider any additional hint towards a good book on 
  BlazeDS, covering both some examplary applications as well as 
  pointing to differences to say JBOSS for instance. This as I want 
 to 
  go a bit deeper into the subject and understand better.. some 
 aspects.
  
  Thank you all
  George
  
  
  --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
  
   Wesley is correct - This is a Java question.
   
   You already have the BlazeDS part set up and working. All you 
 need 
  to
   do is change the database access in Java.
   
   I would suggest following the tutorial Wesley provided and then 
  apply
   the knowledge gained to your project.
   
   From what I can see this entails adding the driver for the MySQL
   connection; removing the flex.samples.ConnectionHelper stuff and
   adding the dbHandler handler class from the tutorial.
   
   
   --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
   
--- In flexcoders@yahoogroups.com, Wesley Acheson 
wesley.acheson@ wrote:

 Really thats more of a java question then a flex one. for 
 using 
mysql
 and tomcat try
 
 
  http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
and-mysql/page2.html


Thank you Wesley for a quick reply.
But what I am asking has to do with BlazeDS (how to set up its 
environment) in conjunction to the MySql database environment 
  plus 
Tomcat environment. So this is more complicated than that. 

You see I understand what to do with the Java classes needed 
 and 
  that 
I have to set up a Remote Object in mxml, and that I have to 
configure how I connect to the service destination. (I have 
 done 
  that 
already while using the Hsqldb - and work just fine, by 
 following 
  the 
documentation available). Now I have to again with MySql, but I 
missing a clear documentation..

Then BlazeDS has to be set up properly to work with MySql under 
  the 
servlet container (Tomcat). Mainly this connection will serve 
  user 
login procedures, so what will be in that database will be a 
  number 
of users and their login data. (I mean an apriori unknown 
 number 
  of 
users)

Thank you 
George
   
  
 





[flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread grg_blls
--- In flexcoders@yahoogroups.com, Wesley Acheson 
wesley.ache...@... wrote:

 Really thats more of a java question then a flex one. for using 
mysql
 and tomcat try
 
 http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
and-mysql/page2.html


Thank you Wesley for a quick reply.
But what I am asking has to do with BlazeDS (how to set up its 
environment) in conjunction to the MySql database environment plus 
Tomcat environment. So this is more complicated than that. 

You see I understand what to do with the Java classes needed and that 
I have to set up a Remote Object in mxml, and that I have to 
configure how I connect to the service destination. (I have done that 
already while using the Hsqldb - and work just fine, by following the 
documentation available). Now I have to again with MySql, but I 
missing a clear documentation..

Then BlazeDS has to be set up properly to work with MySql under the 
servlet container (Tomcat). Mainly this connection will serve user 
login procedures, so what will be in that database will be a number 
of users and their login data. (I mean an apriori unknown number of 
users)

Thank you 
George
 
  




[flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread valdhor
Wesley is correct - This is a Java question.

You already have the BlazeDS part set up and working. All you need to
do is change the database access in Java.

I would suggest following the tutorial Wesley provided and then apply
the knowledge gained to your project.

From what I can see this entails adding the driver for the MySQL
connection; removing the flex.samples.ConnectionHelper stuff and
adding the dbHandler handler class from the tutorial.


--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 --- In flexcoders@yahoogroups.com, Wesley Acheson 
 wesley.acheson@ wrote:
 
  Really thats more of a java question then a flex one. for using 
 mysql
  and tomcat try
  
  http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
 and-mysql/page2.html
 
 
 Thank you Wesley for a quick reply.
 But what I am asking has to do with BlazeDS (how to set up its 
 environment) in conjunction to the MySql database environment plus 
 Tomcat environment. So this is more complicated than that. 
 
 You see I understand what to do with the Java classes needed and that 
 I have to set up a Remote Object in mxml, and that I have to 
 configure how I connect to the service destination. (I have done that 
 already while using the Hsqldb - and work just fine, by following the 
 documentation available). Now I have to again with MySql, but I 
 missing a clear documentation..
 
 Then BlazeDS has to be set up properly to work with MySql under the 
 servlet container (Tomcat). Mainly this connection will serve user 
 login procedures, so what will be in that database will be a number 
 of users and their login data. (I mean an apriori unknown number of 
 users)
 
 Thank you 
 George





[flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread grg_blls
Hi again (and thanks for replying)

I didn't say Wesley is not correct..On the contrary...
As I have first to work it out and then see if I get any more 
questions. (Obviously not having done this before, was the reason for 
asking about documentation (or a cookbook) in the first place.

Sofar I 've done a lot working with Flex for the client and the 
business logic of my app, having Hsqldb as a basic database. I also 
feel very satisfied with Flex documentation and on-line help (this 
forum included) that helped me so much sofar.

So I still consider any additional hint towards a good book on 
BlazeDS, covering both some examplary applications as well as 
pointing to differences to say JBOSS for instance. This as I want to 
go a bit deeper into the subject and understand better.. some aspects.

Thank you all
George


--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Wesley is correct - This is a Java question.
 
 You already have the BlazeDS part set up and working. All you need 
to
 do is change the database access in Java.
 
 I would suggest following the tutorial Wesley provided and then 
apply
 the knowledge gained to your project.
 
 From what I can see this entails adding the driver for the MySQL
 connection; removing the flex.samples.ConnectionHelper stuff and
 adding the dbHandler handler class from the tutorial.
 
 
 --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
 
  --- In flexcoders@yahoogroups.com, Wesley Acheson 
  wesley.acheson@ wrote:
  
   Really thats more of a java question then a flex one. for using 
  mysql
   and tomcat try
   
   
http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
  and-mysql/page2.html
  
  
  Thank you Wesley for a quick reply.
  But what I am asking has to do with BlazeDS (how to set up its 
  environment) in conjunction to the MySql database environment 
plus 
  Tomcat environment. So this is more complicated than that. 
  
  You see I understand what to do with the Java classes needed and 
that 
  I have to set up a Remote Object in mxml, and that I have to 
  configure how I connect to the service destination. (I have done 
that 
  already while using the Hsqldb - and work just fine, by following 
the 
  documentation available). Now I have to again with MySql, but I 
  missing a clear documentation..
  
  Then BlazeDS has to be set up properly to work with MySql under 
the 
  servlet container (Tomcat). Mainly this connection will serve 
user 
  login procedures, so what will be in that database will be a 
number 
  of users and their login data. (I mean an apriori unknown number 
of 
  users)
  
  Thank you 
  George
 





Re: [flexcoders] Re: BlazeDS server environment configuration

2009-01-14 Thread Wesley Acheson
 So I still consider any additional hint towards a good book on
 BlazeDS, covering both some examplary applications as well as
 pointing to differences to say JBOSS for instance. This as I want to
 go a bit deeper into the subject and understand better.. some aspects.


Its pretty much the same on JBoss. I'm using it on jboss, download the
jar file and set that in your default project.

Then Tomcat and JBoss are much the same. (as far as Blaze is concened)