flex 4 loop insert to database

i have a java function to insert into two table.
product  (productdesc,productname) and productDetails (productprice ) .
1) i need to insert one row data in product.
2) i need to insert multiple row data in productDetails. (synchronously insert)
3) i used remote object to communicate.

how to loop insert in flash builder 4.

please help, experts.

thanks
aaronyeo22Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
tomaugerdotcomConnect With a Mentor Commented:
Part of the job of being an Expert on EE is understanding and 'translating" the OP requests.

Based on your very short post I am guessing you are trying to figure out how to integrate your new Flex AS3 development with existing Java / J2EE based services (such as your service that inserts data into your database).

Certainly, Flex and ActionScript 3 can be integrated with your Java-driven backend services to do things like interface with your server-side data layer.

Here's an excellent resource for learning more about Flex <--> Java integration
http://www.adobesystems.ca/devnet/flex/articles/flex_java_technologies.html

Probably, what you will want to try is something like WebORB (http://www.themidnightcoders.com/products/weborb-for-java/overview.html) which connects a variety of rich client technologies (including Flex / Flash) with Java objects, Spring Beans, EJBs or XML Web Services.

Here's a quick link to a screencast (video) that helps explain the process
http://www.themidnightcoders.com/products/weborb-for-java/developer-den/screencasts/flexbuilder-weborb.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.