Does anyone out there have some simplistic examples of incorporating a
mySQL database via JDBC with java remote objects to a Flex project,
preferably involving FDS? Super++ bonus points if it uses myEclipse too!

My googling leads to quite a few things that have bits and pieces but
they all incorporate what seems like a lot of overhead (persistence
layers like Hibernate, Spring java framework, factories?, etc). I
haven't done much of any java programming before so perhaps that green
element is adding to the confusion.

For example purposes, I have four main cases of functionality I'd like
to get my head around:
1) Login - User provides username / password, system provides a unique
ID from the database if they are correct, or a null / error code if not.
2) Register - Validated user input passes object to create new user.
3) Display Contacts - Users unique ID passed to method to return
complete contact details.
4) Edit Contact Info - User unique ID and updated object data provided
to back-end for update. Returns updated contact.

I've tried PHP / RPC-XML and can get some functionality out of that,
but the java remote object route sounds to be the 'more better'
solution and also something a larger % of our company can support once
we get past the 'stumbling in the dark R&D' phase.

I understand a lot of the reasons for OO to decouple functionality to
the extent that they do, but when I compare what ASP / PHP / etc of
non-RIA applications used to handle with database connectivity right
in the code, it seems like there is a heck of a lot of overhead just
to accomplish basic tasks.

Thx,
Jamie


Reply via email to