Talk to java program via ms access class module?

Hi to every one:
I am asking about the class module in ms access.
Can I make one usable to all programming languages?
For instance , I need to make class module , accept the empID, and return all employee data.
Like his name, hireDate, department, … etc.
My scenario is:
1-      Press A button on a ms access form.
2-      The button trigger the class module .
3-      The class module send the empID to a java program (which is connect to oracle database), and receive the rest of employee data from oracle database via the java program.
4-      The reason is they don’t want the ms access program to connect directly to the oracle databse.
Is it poseple? And is it good approach to do so?
Please help.
Mohammad Alsolaimanapplication programmerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GugroConnect With a Mentor Commented:
Yes, thats the right approach. I am using a similiar approach too, but not with Java but with Ruby on Rails.
The Java program should provide a SOAP or a XML interface.

Have a  look at:
http://metrix.fcny.org/wiki/display/tips/How+to+Create+a+Microsoft+Access+Client+for+a+SOAP-based+Web+Service+API
0
 
Simon BallCommented:
will they not let you connect to oracle using odbc, if they set up a user as readonly on oracle and you use that to create your odbc?
0
 
Mohammad Alsolaimanapplication programmerAuthor Commented:

Gugro solution is very nice to me
Sudonim they allow for single record only. For security purposes .
0
 
Mohammad Alsolaimanapplication programmerAuthor Commented:
thanks to all of u
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.