take a look in this folder, samples.war\WEB-INF\src\samples\sqladmin
and look at ConnectionHelper.java.

The Database Manager is a simple application that lets you explore 
and modify the databases that come with the other sample applications 
for Adobe® Flex™ Data Services 2. The Database Manager uses a 
RemoteObject class to access the server and display the results in 
Tree and DataGrid components. The application uses the HSQLDB 
database on the server.



I'm using PostGreSQL - http://www.postgresql.org
 http://jdbc.postgresql.org

if your using msSql og mySql you need the jdbc drivers.


Cato


--- In [email protected], sekar r <[EMAIL PROTECTED]> wrote:
>
> Hai Friend,
>    
>   Thanks and given guide. Actually i want know how we can connect 
the database? by java from flex.
>    
>   i want create users base tree structre. the user is being online, 
or offline like that.
>    
>   so i want how we can connect the database using java from flex. i 
installed the Data Services.
>    
>   give me some samples.
>    
>   thanks help
>    
>    
>   sekar
>    
>    
>    
>   
> 
> Cato Paus <[EMAIL PROTECTED]> wrote:
>           Hi 
> Inside your fds2 dir, if you have installed DataServicesforFlex. In 
the 
> samples.war file there is a nice SQLAdmin sample.
> Cato
> 
> --- In [email protected], sekar r <rsekar_005@> wrote:
> >
> > Dear Friends,
> > 
> > i want creat tree structure in flex using database. how to 
connect 
> the database? how to add the new user on tree. plz give the guide 
and 
> give me sample source code.
> > 
> > thanks in advance
> > 
> > sekar
> > 
> > 
> > ---------------------------------
> > Need Mail bonding?
> > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers 
users.
> >
> 
> 
> 
>          
> 
> 
> 
>  
>  
> Warm Regards
> 
> Sekar.R 
> i-Grandee Software Technologies (P) Ltd
> 
> 
> 
> 
> 
> 
>  
> ---------------------------------
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
>


Reply via email to